diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | fedora-packager.spec | 47 | ||||
-rw-r--r-- | scripts/fedora-packager-setup.sh | 61 |
3 files changed, 109 insertions, 0 deletions
@@ -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/ |