SPECS: gchempaint.spec - updated BRs, -devel deps, create real -st...
qboosh
qboosh at pld-linux.org
Wed Apr 5 08:31:05 CEST 2006
Author: qboosh Date: Wed Apr 5 06:31:05 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated BRs, -devel deps, create real -static package; some unpackaged files left
---- Files affected:
SPECS:
gchempaint.spec (1.14 -> 1.15)
---- Diffs:
================================================================
Index: SPECS/gchempaint.spec
diff -u SPECS/gchempaint.spec:1.14 SPECS/gchempaint.spec:1.15
--- SPECS/gchempaint.spec:1.14 Tue Apr 4 23:08:40 2006
+++ SPECS/gchempaint.spec Wed Apr 5 08:30:59 2006
@@ -9,14 +9,19 @@
Source0: http://savannah.nongnu.org/download/gchempaint/%{name}-%{version}.tar.bz2
# Source0-md5: 6dfe0ab484dbe997016bb0e823db8df0
URL: http://www.nongnu.org/gchempaint/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: gnome-chemistry-utils-devel >= 0.4.7
-BuildRequires: libglade2-devel >= 2.0.0
-BuildRequires: libgnomeprintui-devel >= 2.1.3
-BuildRequires: libgnomeui-devel >= 2.0.0
+BuildRequires: gnome-doc-utils
+BuildRequires: gnome-vfs2-devel >= 2.6.0
+BuildRequires: gtk+2-devel >= 2:2.6.0
+BuildRequires: libbonoboui-devel >= 2.6.0
+BuildRequires: libglade2-devel >= 2.4.0
+BuildRequires: libgnomeprintui-devel >= 2.6.0
+BuildRequires: libgnomeui-devel >= 2.6.0
BuildRequires: libtool
-BuildRequires: openbabel-devel >= 1.100.2
+BuildRequires: shared-mime-info >= 0.12
+BuildRequires: which
Requires: gnome-chemistry-utils >= 0.4.7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,6 +45,13 @@
Summary(pl): Pliki nagłówkowe dla programu gchempaint
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: gnome-chemistry-utils-devel >= 0.4.7
+Requires: gnome-vfs2-devel >= 2.6.0
+Requires: gtk+2-devel >= 2:2.6.0
+Requires: libbonoboui-devel >= 2.6.0
+Requires: libglade2-devel >= 2.4.0
+Requires: libgnomeprintui-devel >= 2.6.0
+Requires: libgnomeui-devel >= 2.6.0
%description devel
The gchempaint-devel package contains the header files necessary for
@@ -71,8 +83,10 @@
%{__aclocal}
%{__autoconf}
%{__autoheader}
+%{__automake}
%configure \
- --disable-update-databases
+ --disable-update-databases \
+ --enable-static
%{__make}
%install
@@ -81,6 +95,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{la,a}
+
%find_lang %{name} --with-gnome
%clean
@@ -96,10 +112,10 @@
%postun
%scrollkeeper_update_post
/sbin/ldconfig
-if [ $1 = 0 ]; then
- umask 022
- update-mime-database %{_datadir}/mime >/dev/null 2>&1
- [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+if [ "$1" = "0" ]; then
+ umask 022
+ update-mime-database %{_datadir}/mime >/dev/null 2>&1
+ [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
fi
%files -f %{name}.lang
@@ -108,7 +124,9 @@
%attr(755,root,root) %{_bindir}/%{name}
%attr(755,root,root) %{_bindir}/%{name}-viewer
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%{_libdir}/%{name}
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/plugins
+%attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
%{_libdir}/bonobo/servers/%{name}.server
%{_sysconfdir}/gconf/schemas/*
%{_datadir}/%{name}
@@ -129,9 +147,9 @@
%{_libdir}/lib*.la
%{_includedir}/%{name}
-#%files static
-#%defattr(644,root,root,755)
-#??? %{_libdir}/lib*.a
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -139,6 +157,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.15 2006/04/05 06:30:59 qboosh
+- updated BRs, -devel deps, create real -static package; some unpackaged files left
+
Revision 1.14 2006/04/04 21:08:40 qboosh
- some -devel/-static fixes; not finished
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gchempaint.spec?r1=1.14&r2=1.15&f=u
More information about the pld-cvs-commit
mailing list