]> git.pld-linux.org Git - packages/librsync.git/commitdiff
- enable building shared library, librsync-0_9_5-1
authorkloczek <kloczek@pld-linux.org>
Wed, 15 May 2002 16:11:51 +0000 (16:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added static subpackage.
- some small improvments and cosmetcs.

Changed files:
    librsync.spec -> 1.2

librsync.spec

index 2b3c460a35a7e7359e163711c6724b7eb04c5073..f42144e80ebbf1c8f78078be16b89c268fcfe354 100644 (file)
@@ -7,6 +7,10 @@ Group:         Libraries
 Source0:       http://ftp1.sourceforge.net/rproxy/%{name}-%{version}.tar.gz
 URL:           http://www.sf.net/projects/rproxy
 Patch0:                %{name}-am.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,6 +45,18 @@ and incompatible with rsync 2.4.6.
 This package contains header files necessary for developing programs
 based on librsync.
 
+%package static
+Summary:       Static librsync library
+Summary(pl):   Statyczna biblioteka librsync
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+Static librsync library.
+
+%description static -l pl
+Statyczna biblioteka librsync.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -51,34 +67,40 @@ libtoolize --copy --force
 gettextize --copy --force
 aclocal
 autoconf
-automake -a -c
-
+automake -a -c -f
 %configure \
-       --prefix=%{_prefix} \
-       --mandir=%{_mandir}/
+       --enable-shared
 
 %{__make} CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make}  DESTDIR=$RPM_BUILD_ROOT install
-gzip -9nf AUTHORS COPYING NEWS README
+
+%{__make} install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf AUTHORS NEWS README THANKS TODO
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-
+%post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/rdiff
-%{_mandir}/man1/rdiff.1.gz
 %doc *.gz
+%attr(755,root,root) %{_bindir}/rdiff
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_mandir}/man1/rdiff.1*
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
 %{_includedir}/*
-%{_libdir}/librsync.*
-%{_mandir}/man3/librsync.3.gz
+%{_mandir}/man3/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.132017 seconds and 4 git commands to generate.