SPECS: inotify-tools.spec - regenerate ac/am/lt; updated BRs - fixed %files...
charles
charles at pld-linux.org
Thu Apr 16 01:10:33 CEST 2009
Author: charles Date: Wed Apr 15 23:10:33 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- regenerate ac/am/lt; updated BRs
- fixed %files and deps
- without static_libs bcond
---- Files affected:
SPECS:
inotify-tools.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/inotify-tools.spec
diff -u SPECS/inotify-tools.spec:1.3 SPECS/inotify-tools.spec:1.4
--- SPECS/inotify-tools.spec:1.3 Tue Dec 2 15:32:21 2008
+++ SPECS/inotify-tools.spec Thu Apr 16 01:10:27 2009
@@ -2,6 +2,7 @@
#
# Conditional build:
%bcond_with doxygen # build with doxygen support
+%bcond_without static_libs # don't build static library
#
Summary: inotify-tools provides a simple interface to inotify
Summary(pl.UTF-8): inotify-tools dostarcza interfejs do inotify
@@ -13,6 +14,10 @@
Source0: http://dl.sourceforge.net/inotify-tools/%{name}-%{version}.tar.gz
# Source0-md5: 35d7178297390f18bae451e083362acf
URL: http://inotify-tools.sourceforge.net/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: libtool
+Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -45,7 +50,6 @@
Summary: Header files for inotify-tools library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki inotify-tools
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
%description devel
@@ -70,7 +74,13 @@
%setup -q
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
+ --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
%{?with_doxygen:--enable-doxygen}
%{__make}
@@ -79,32 +89,38 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+
mv -f $RPM_BUILD_ROOT%{_datadir}/doc/%{name} $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog README
%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man*/*.gz
+%{_mandir}/man1/inotifywait.1*
+%{_mandir}/man1/inotifywatch.1*
%files libs
%defattr(644,root,root,755)
-%{_libdir}/*.so*
+%attr(755,root,root) %{_libdir}/libinotifytools.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libinotifytools.so.0
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libinotifytools.so
+%{_libdir}/libinotifytools.la
%{_includedir}/inotifytools
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
-%{_libdir}/*.a
-%{_libdir}/*.la
+%{_libdir}/libinotifytools.a
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -112,6 +128,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2009/04/15 23:10:27 charles
+- regenerate ac/am/lt; updated BRs
+- fixed %files and deps
+- without static_libs bcond
+
Revision 1.3 2008/12/02 14:32:21 blues
- rel. 1 - works
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/inotify-tools.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list