SPECS: gnome-power.spec - use macros for ac/am rebuild, schemas pa...
freetz
freetz at pld-linux.org
Tue Jul 5 15:23:53 CEST 2005
Author: freetz Date: Tue Jul 5 13:23:53 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use macros for ac/am rebuild, schemas patch added, ready for
international files
---- Files affected:
SPECS:
gnome-power.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/gnome-power.spec
diff -u SPECS/gnome-power.spec:1.6 SPECS/gnome-power.spec:1.7
--- SPECS/gnome-power.spec:1.6 Mon Jun 20 22:37:58 2005
+++ SPECS/gnome-power.spec Tue Jul 5 15:23:48 2005
@@ -9,10 +9,13 @@
Group: X11/Applications
Source0: http://dl.sourceforge.net/gnome-power/%{name}-%{version}.tar.gz
# Source0-md5: db310dadcc958a781a2752a6a7748e60
+Patch0: %{name}-schemas.patch
URL: http://gnome-power.sourceforge.net/
BuildRequires: autoconf >= 2.52
+BuildRequires: automake
BuildRequires: hal-devel >= 0.5.2
BuildRequires: libgnomeui-devel >= 2.10.0
+BuildRequires: libtool
BuildRequires: libwnck-devel >= 2.10.0
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.197
@@ -64,9 +67,14 @@
%prep
%setup -q
+%patch0 -p1
%build
-autoreconf -i
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
%configure
%{__make}
@@ -76,6 +84,9 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# for future use
+#%%find_lang %{name} --all-name
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -85,6 +96,7 @@
%preun
%gconf_schema_uninstall gnome-power.schemas
+#%%files -f %{name}.lang
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
@@ -99,6 +111,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2005/07/05 13:23:48 freetz
+- use macros for ac/am rebuild, schemas patch added, ready for
+ international files
+
Revision 1.6 2005/06/20 20:37:58 wrobell
- ver. 0.0.5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gnome-power.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list