SPECS: gnome-chemistry-utils.spec - up to 0.6.0. I does not build ...
piti
piti at pld-linux.org
Sun Apr 2 10:53:12 CEST 2006
Author: piti Date: Sun Apr 2 08:53:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.6.0. I does not build with %{__aclocal}. Cgw why.
---- Files affected:
SPECS:
gnome-chemistry-utils.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/gnome-chemistry-utils.spec
diff -u SPECS/gnome-chemistry-utils.spec:1.12 SPECS/gnome-chemistry-utils.spec:1.13
--- SPECS/gnome-chemistry-utils.spec:1.12 Thu Aug 11 11:46:18 2005
+++ SPECS/gnome-chemistry-utils.spec Sun Apr 2 10:53:07 2006
@@ -6,13 +6,12 @@
Summary: Backend for GNOME chemistry apps
Summary(pl): Backend dla aplikacji chemicznych GNOME
Name: gnome-chemistry-utils
-Version: 0.2.5
-Release: 2
+Version: 0.6.0
+Release: 1
License: LGPL
Group: X11/Applications/Science
Source0: http://savannah.nongnu.org/download/gchemutils/%{name}-%{version}.tar.bz2
-# Source0-md5: 40aab80476187645e05dabf1ffb3caad
-Patch0: %{name}-DESTDIR.patch
+# Source0-md5: 46eb14c0f61386f75bd27063b4e905dd
URL: http://www.nongnu.org/gchemutils/
BuildRequires: autoconf
BuildRequires: automake
@@ -76,16 +75,15 @@
%prep
%setup -q
-%patch0 -p1
%build
%{__libtoolize}
-%{__aclocal}
+#%{__aclocal}
%{__autoconf}
%{__automake}
%configure \
- --with-html-dir=%{_gtkdocdir} \
- --enable-static
+ --enable-static \
+ --disable-update-databases
%{__make}
%install
@@ -93,32 +91,42 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- HTMLDIR=%{_gtkdocdir}/%{name}
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+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 ||:
+
+%postun
+/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
+fi
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%{_libdir}/bonobo/servers/*.server
%{_datadir}/gchemutils
-%{_datadir}/mime-info/*
+%{_datadir}/mime/packages/gchemutils.xml
+%{_desktopdir}/*
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/lib*.la
-%{_includedir}/gcu
-%{_libdir}/pkgconfig/*.pc
-%{_gtkdocdir}/%{name}
+%{_includedir}/gchemutils/gcu
+%{_pkgconfigdir}/*.pc
+%{_defaultdocdir}/gchemutils
%files static
%defattr(644,root,root,755)
@@ -130,6 +138,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2006/04/02 08:53:07 piti
+- up to 0.6.0. I does not build with %{__aclocal}. Cgw why.
+
Revision 1.12 2005/08/11 09:46:18 radek
- bcond_with(out) is followed by one \t, then bcond's name.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/gnome-chemistry-utils.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list