summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordennis@bratac.ausil.us <dennis@bratac.ausil.us>2007-11-18 16:13:02 -0600
committerdennis@bratac.ausil.us <dennis@bratac.ausil.us>2007-11-18 16:13:02 -0600
commit14f38d578a2842798bb2622b58771569f7f1f3eb (patch)
tree30f38a708281cb73e544bbe3bbd56d9547207320
parent92455c91660b2030cf660978bad140e4de9795e2 (diff)
downloadfedora-packager-14f38d578a2842798bb2622b58771569f7f1f3eb.tar.gz
fedora-packager-14f38d578a2842798bb2622b58771569f7f1f3eb.tar.xz
fedora-packager-14f38d578a2842798bb2622b58771569f7f1f3eb.zip
add shell makefile that does nothing add spec file and update fedora-packager-setup.sh to handle secondary archs
-rw-r--r--Makefile1
-rw-r--r--fedora-packager.spec47
-rw-r--r--scripts/fedora-packager-setup.sh61
3 files changed, 109 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e69de29..8b13789 100644
--- a/Makefile
+++ b/Makefile
@@ -0,0 +1 @@
+
diff --git a/fedora-packager.spec b/fedora-packager.spec
new file mode 100644
index 0000000..e61381b
--- /dev/null
+++ b/fedora-packager.spec
@@ -0,0 +1,47 @@
+Name: fedora-packager
+Version: 0.1
+Release: 1%{?dist}
+Summary: Tools for setting up a fedora mainter environment
+
+Group: Applications/
+License: GPLv2+
+URL: https://hosted.fedoraproject.org/projects/fedora-packager/
+Source0: %{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:
+Requires: koji bodhi-client plague-client
+Requires: rpm-build rpmdevtools
+Requires: cvs mercurial git bzr
+Requires:
+
+%description
+Set of utilities useful for a fedora packager in setting up thier environment.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc
+
+
+
+%changelog
+* Sun Nov 11 2008 Dennis Gilmore <dennis@ausil.us> - 0.1-1
+- initial build
diff --git a/scripts/fedora-packager-setup.sh b/scripts/fedora-packager-setup.sh
index 386f5c3..dbf497d 100644
--- a/scripts/fedora-packager-setup.sh
+++ b/scripts/fedora-packager-setup.sh
@@ -66,6 +66,67 @@ serverca = ~/.fedora-server-ca.cert
EOF
+cat > ~/.koji/arm-config <<EOF
+[koji]
+
+;configuration for koji cli tool
+
+;url of XMLRPC server
+server = http://arm.koji.fedoraproject.org/kojihub
+
+;url of web interface
+weburl = http://arm.koji.fedoraproject.org/koji
+
+;url of package download site
+pkgurl = http://arm.koji.fedoraproject.org/packages
+
+;path to the koji top directory
+;topdir = /mnt/koji
+
+;configuration for SSL athentication
+
+;client certificate
+cert = ~/.fedora.cert
+
+;certificate of the CA that issued the client certificate
+ca = ~/.fedora-upload-ca.cert
+
+;certificate of the CA that issued the HTTP server certificate
+serverca = ~/.fedora-server-ca.cert
+
+EOF
+
+cat > ~/.koji/sparc-config <<EOF
+[koji]
+
+;configuration for koji cli tool
+
+;url of XMLRPC server
+server = http://sparc.koji.fedoraproject.org/kojihub
+
+;url of web interface
+weburl = http://sparc.koji.fedoraproject.org/koji
+
+;url of package download site
+pkgurl = http://sparc.koji.fedoraproject.org/packages
+
+;path to the koji top directory
+;topdir = /mnt/koji
+
+;configuration for SSL athentication
+
+;client certificate
+cert = ~/.fedora.cert
+
+;certificate of the CA that issued the client certificate
+ca = ~/.fedora-upload-ca.cert
+
+;certificate of the CA that issued the HTTP server certificate
+serverca = ~/.fedora-server-ca.cert
+
+EOF
+
+
cat <<EOF
Creating an SSL certificate to import into your browser, to enable
user authentication at http://koji.fedoraproject.org/koji/