SPECS: gnome-schedule.spec - added pyc patch - more R: - pass pro...
wiget
wiget at pld-linux.org
Wed Aug 17 11:08:07 CEST 2005
Author: wiget Date: Wed Aug 17 09:08:07 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added pyc patch
- more R:
- pass programs paths to ./configure (no BRs)
- don't include .py files in package
- remove unpackages files
---- Files affected:
SPECS:
gnome-schedule.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/gnome-schedule.spec
diff -u SPECS/gnome-schedule.spec:1.1 SPECS/gnome-schedule.spec:1.2
--- SPECS/gnome-schedule.spec:1.1 Sat Aug 13 23:45:37 2005
+++ SPECS/gnome-schedule.spec Wed Aug 17 11:08:02 2005
@@ -7,8 +7,15 @@
Group: X11/Applications
Source0: http://dl.sourceforge.net/gnome-schedule/%{name}-%{version}.tar.bz2
# Source0-md5: 08c3f7680fe95fc4088289ed25552618
+Patch0: %{name}-pyc.patch
BuildRequires: gtk+2-devel >= 2:2.6.0
BuildRequires: libgnomeui-devel >= 2.6.0
+%pyrequires_eq python-modules
+BuildRequires: python
+Requires: yelp
+Requires: crondaemon
+Requires: at
+Requires: python
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -17,10 +24,19 @@
other cron servers aswell if the format of the config file is similar.
%prep
-%setup -q
+%setup -q
+%patch0 -p1
%build
-%configure
+%configure \
+ GNOMEHELP_CONFIG=/usr/bin/gnome-help \
+ CRONTAB_CONFIG=/usr/bin/crontab \
+ AT_CONFIG=/usr/bin/at \
+ ATQ_CONFIG=/usr/bin/atq \
+ ATRM_CONFIG=/usr/bin/atrm \
+ BATCH_CONFIG=/usr/bin/batch \
+ PYTHON_CONFIG=/usr/bin/python
+
%{__make}
%install
@@ -29,6 +45,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/*.py
+
%find_lang %{name}
%clean
@@ -38,7 +56,9 @@
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*.py[oc]
+%{_datadir}/%{name}/*.glade
%{_desktopdir}/*.desktop
%{_pixmapsdir}/*.png
@@ -48,6 +68,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/08/17 09:08:02 wiget
+- added pyc patch
+- more R:
+- pass programs paths to ./configure (no BRs)
+- don't include .py files in package
+- remove unpackages files
+
Revision 1.1 2005/08/13 21:45:37 aredridel
- added
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gnome-schedule.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list