extras-buildsys plague.spec, NONE, 1.1 ChangeLog, 1.35, 1.36 Makefile, 1.2, 1.3

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Mon Jun 27 03:02:39 UTC 2005


Author: dcbw

Update of /cvs/fedora/extras-buildsys
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23183

Modified Files:
	ChangeLog Makefile 
Added Files:
	plague.spec 
Log Message:
2005-06-26  Dan Williams <dcbw at redhat.com>

    * plague.spec
      Makefile
        - Make RPM builds using the specfile work




--- NEW FILE plague.spec ---
%define pythonver 2.4

Summary: Distributed build system for RPMs
Name: plague
Version: 0.1
Release: 1
License: GPL
Group: Development/Tools
Source: http://people.redhat.com/dcbw/plague/%{name}-%{version}.tar.bz2
URL: http://people.redhat.com/dcbw/plague
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python, sqlite-python, m2crypto, createrepo
Requires: %{name}-common = %{version}-%{release}

%description
The Plague build system is a client/server distributed build system for
building RPM packages.  This package


%package common
Summary: Common resources for the Plage build system
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: python, m2crypto

%description common
This package includes the common Python module that all Plague services require.


%package client
Summary: Build client daemon for Plague builder slaves
Group: Development/Tools
Requires: %{name}-common = %{version}-%{release}
Requires: python, yum >= 2.2.1
Requires: mock >= 0.3, m2crypto

%description client
The Plague build client does the actual RPM package building on slave
machines.

%package utils
Summary: Utility programs for the Plague build system
Group: Development/Tools
Requires: %{name}-common = %{version}-%{release}
Requires: python, m2crypto

%description utils
This package includes user utilities for the Plague build system, including
the interface to the build server.


%prep
%setup -q

%build
make


%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-, root, root)
%doc README ChangeLog
%{_bindir}/%{name}/server/*.py*
%{_bindir}/%{name}/server/%{name}-server
%dir  %{_sysconfdir}/%{name}/server
%config(noreplace) %{_sysconfdir}/%{name}/server/CONFIG.py*

%files common
%defattr(-, root, root)
%{_libdir}/python%{pythonver}/site-packages/plague/*.py*

%files client
%defattr(-, root, root)
%{_bindir}/%{name}/client/%{name}-client
%dir  %{_sysconfdir}/%{name}/client
%config(noreplace) %{_sysconfdir}/%{name}/client/CONFIG.py*

%files utils
%defattr(-, root, root)
%{_bindir}/%{name}/utils/*.py*


%changelog
* Sun Jun 26 2005 Dan Williams <dcbw at redhat.com>
- first version/packaging


Index: ChangeLog
===================================================================
RCS file: /cvs/fedora/extras-buildsys/ChangeLog,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- ChangeLog	27 Jun 2005 02:40:53 -0000	1.35
+++ ChangeLog	27 Jun 2005 03:02:37 -0000	1.36
@@ -1,5 +1,11 @@
 2005-06-26  Dan Williams <dcbw at redhat.com>
 
+    * plague.spec
+      Makefile
+        - Make RPM builds using the specfile work
+
+2005-06-26  Dan Williams <dcbw at redhat.com>
+
     * client/buildclient.py
       common/SSLCommon.py
       common/SimpleHTTPSServer.py


Index: Makefile
===================================================================
RCS file: /cvs/fedora/extras-buildsys/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile	27 Jun 2005 02:53:59 -0000	1.2
+++ Makefile	27 Jun 2005 03:02:37 -0000	1.3
@@ -14,6 +14,7 @@
 	for d in $(SUBDIRS); do make -C $$d; [ $$? = 0 ] || exit 1 ; done
 
 install:
+	mkdir -p $(DESTDIR)
 	for d in $(SUBDIRS); do make DESTDIR=`cd $(DESTDIR); pwd` PKGNAME=$(PKGNAME) -C $$d install; [ $$? = 0 ] || exit 1; done
 
 archive:




More information about the fedora-extras-commits mailing list