SPECS: paco.spec - use %configure and %find_lang macro - s/Gtk+2/G...
megabajt
megabajt at pld-linux.org
Thu Feb 9 22:53:07 CET 2006
Author: megabajt Date: Thu Feb 9 21:53:07 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use %configure and %find_lang macro
- s/Gtk+2/GTK+2/
- 755 perms for libraries
- rel. 0.2
---- Files affected:
SPECS:
paco.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/paco.spec
diff -u SPECS/paco.spec:1.3 SPECS/paco.spec:1.4
--- SPECS/paco.spec:1.3 Thu Feb 9 21:30:55 2006
+++ SPECS/paco.spec Thu Feb 9 22:53:00 2006
@@ -3,7 +3,7 @@
Summary(pl): Paco to manager paczek źródłowych dla systemów Unix/Linux
Name: paco
Version: 1.10.2
-Release: 0.1
+Release: 0.2
License: GPL v2
Group: Applications/System
Source0: http://dl.sourceforge.net/paco/%{name}-%{version}.tar.bz2
@@ -27,36 +27,35 @@
pakietu.
%package gui
-Summary: Gtk+2 frontend to paco
-Summary(pl): Nakładka na paco w Gtk+2
+Summary: GTK+2 frontend to paco
+Summary(pl): Nakładka na paco w GTK+2
Group: Applications/System
Requires: %{name} = %{version}-%{release}
-Requires: gtk+2 >= 2:2.6.0
%description gui
-Gtk+2 gui for paco.
+GTK+2 gui for paco.
%description gui -l pl
-Graficzny interfejs dla paco w Gtk+2
+Graficzny interfejs dla paco w GTK+2.
%package scripts
Summary: Addtional scripts for paco
-Summary: Dodatkowe skrypty dla paco
+Summary(pl): Dodatkowe skrypty dla paco
Group: Applications/System
Requires: %{name} = %{version}-%{release}
%description scripts
Addtional scripts for paco.
- - a2paco: Create paco logs from a local dpkg or rpm database.
- - superpaco: Installs Debian, RPM or tgz packages with paco.
- - pacoball: Creates binary packages from installed (and logged by paco)
- packages.
+- a2paco: Create paco logs from a local dpkg or rpm database.
+- superpaco: Installs Debian, RPM or tgz packages with paco.
+- pacoball: Creates binary packages from installed (and logged by paco)
+ packages.
%description scripts -l pl
Dodatkowe skrypty dla paco.
- - a2paco: Tworzy logi z lokalnych baz dpkg lub rpm.
- - superpaco: Instalacja pakietów deb, rpm, lub tgz z paco.
- - pacoball: Tworzy pakiety binarne z instalowanych programów.
+- a2paco: Tworzy logi z lokalnych baz dpkg lub rpm.
+- superpaco: Instalacja pakietów deb, rpm, lub tgz z paco.
+- pacoball: Tworzy pakiety binarne z instalowanych programów.
%prep
%setup -q
@@ -65,38 +64,45 @@
doc/gpaco.desktop
%build
-./configure \
+%configure \
--enable-a2paco \
--enable-pacoball \
- --enable-superpaco \
- --prefix=%{_prefix} \
- --sysconfdir=%{_sysconfdir}
+ --enable-superpaco
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir}/{man5,man8}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-mv $RPM_BUILD_ROOT%{_prefix}/man/man5/* $RPM_BUILD_ROOT%{_mandir}/man5
-mv $RPM_BUILD_ROOT%{_prefix}/man/man8/* $RPM_BUILD_ROOT%{_mandir}/man8
+
install -d $RPM_BUILD_ROOT/var/log/paco
+%find_lang %{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{name}.lang
%defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pacorc
+%doc AUTHORS BUGS ChangeLog README
%attr(755,root,root) %{_bindir}/paco
-%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/libpaco*.so.*.*.*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pacorc
%dir /var/log/paco
-%{_libdir}/*.so
-%{_libdir}/libpaco*
%{_mandir}/man5/pacorc*
%{_mandir}/man8/paco*
+%files gui
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gpaco
+%{_desktopdir}/*.desktop
+%{_pixmapsdir}/*.png
+
%files scripts
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/a2paco
@@ -105,19 +111,18 @@
%{_mandir}/man8/a2paco*
%{_mandir}/man8/superpaco*
-%files gui
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/gpaco
-%{_pixmapsdir}/*.png
-%{_datadir}/*/*/*/paco.mo
-%{_desktopdir}/*.desktop
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2006/02/09 21:53:00 megabajt
+- use %configure and %find_lang macro
+- s/Gtk+2/GTK+2/
+- 755 perms for libraries
+- rel. 0.2
+
Revision 1.3 2006/02/09 20:30:55 glen
- gtk+2-devel implies gtk+2, and please use >= not =>
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/paco.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list