SPECS: libconfuse.spec - corrected
twittner
twittner at pld-linux.org
Sat Mar 11 07:13:12 CET 2006
Author: twittner Date: Sat Mar 11 06:13:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- corrected
---- Files affected:
SPECS:
libconfuse.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/libconfuse.spec
diff -u SPECS/libconfuse.spec:1.2 SPECS/libconfuse.spec:1.3
--- SPECS/libconfuse.spec:1.2 Sat Mar 11 00:22:59 2006
+++ SPECS/libconfuse.spec Sat Mar 11 07:13:07 2006
@@ -9,12 +9,12 @@
Summary(pl): libConfuse - biblioteka do parsowania plików konfiguracyjnych
Name: libconfuse
Version: 2.5
-Release: 0.1
+Release: 0.2
License: LGPL
Group: Development/Libraries
Source0: http://download.savannah.gnu.org/releases/confuse/%{_name}-%{version}.tar.gz
# Source0-md5: 4bc9b73d77ebd571ac834619ce0b3582
-Patch0: %{name}-tests.patch
+Patch0: %{name}-no_tests.patch
URL: http://www.nongnu.org/confuse/
BuildRequires: autoconf
BuildRequires: automake > 1.6.3
@@ -84,30 +84,23 @@
%{__autoconf}
%{__autoheader}
%{__automake}
-cp -f %{_datadir}/automake/config.sub .
%configure \
--%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
--enable-shared
-%{__make} \
- CFLAGS="%{rpmcflags}" \
- LDFLAGS="%{rpmldflags}"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_mandir}/man3}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_mandir}/man3
install doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
rm -rf examples/{ftpconf,reread,simple,*.o}
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-
-install -d $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
-cp -a doc/{html,tutorial-html} $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%find_lang %{_name}
@@ -120,16 +113,16 @@
%files -f %{_name}.lang
%defattr(644,root,root,755)
%doc AUTHORS NEWS README
-%attr(755,root,root) %{_libdir}/*.so*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%files devel
%defattr(644,root,root,755)
-%{_libdir}/*.la
+%doc doc/html doc/tutorial-html
+%{_libdir}/lib*.la
%{_includedir}/*.h
%{_pkgconfigdir}/*
%{_mandir}/man3/*
-%{_examplesdir}/%{name}
-%{_defaultdocdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
%if %{with static_libs}
%files static
@@ -143,6 +136,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2006/03/11 06:13:07 twittner
+- corrected
+
Revision 1.2 2006/03/10 23:22:59 maciek2w
- packaged manpages, examples, documentation
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libconfuse.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list