SPECS: libconfig.spec - separated libconfig++ so main package does...
qboosh
qboosh at pld-linux.org
Sat Nov 3 18:36:11 CET 2007
Author: qboosh Date: Sat Nov 3 17:36:11 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- separated libconfig++ so main package doesn't require libstdc++
---- Files affected:
SPECS:
libconfig.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/libconfig.spec
diff -u SPECS/libconfig.spec:1.2 SPECS/libconfig.spec:1.3
--- SPECS/libconfig.spec:1.2 Sat Oct 27 16:00:02 2007
+++ SPECS/libconfig.spec Sat Nov 3 18:36:06 2007
@@ -1,28 +1,39 @@
# $Revision$, $Date$
-Summary: C/C++ Configuration File Library
+Summary: C Configuration File Library
+Summary(pl.UTF-8): Biblioteka C do plików konfiguracyjnych
Name: libconfig
Version: 1.2
Release: 1
-License: GPL
+License: LGPL v2.1+
Group: Libraries
Source0: http://www.hyperrealm.com/libconfig/%{name}-%{version}.tar.gz
# Source0-md5: fa52507f0db285673f23b7193af4efd4
URL: http://www.hyperrealm.com/main.php?s=libconfig
+BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Libconfig is a simple library for manipulating structured
configuration files.
-Libconfig is very compact . just 25K for the stripped C shared library
-(one-fifth the size of the expat XML parser library) and 39K for the
-stripped C++ shared library. This makes it well-suited for
+Libconfig is very compact, which makes it well-suited for
memory-constrained systems like handheld devices.
The library includes bindings for both the C and C++ languages. It
works on POSIX-compliant UNIX systems (GNU/Linux, Mac OS X, Solaris,
FreeBSD) and Windows (2000, XP and later).
+%description -l pl.UTF-8
+libconfig to prosta biblioteka do obróbki plików konfiguracyjnych
+mających strukturę.
+
+Jest bardzo mała, dzięki czemu dobrze nadaje się do systemów
+ograniczonych pamięciowo, takich jak palmtopy.
+
+Biblioteka ma dowiązania do języków C i C++. Działa na systemach
+unikowych zgodnych z POSIX (GNU/Linux, Mac OS X, Solaris, FreeBSD)
+oraz Windows (2000, XP i późniejszych).
+
%package devel
Summary: Header files for libconfig library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libconfig
@@ -47,6 +58,44 @@
%description static -l pl.UTF-8
Statyczna biblioteka libconfig.
+%package c++
+Summary: C++ Configuration File Library
+Summary(pl.UTF-8): Biblioteka C++ do plików konfiguracyjnych
+Group: Libraries
+# doesn't require base, common code included in library
+
+%description c++
+libconfig++ is the C++ binding for libconfig library.
+
+%description c++ -l pl.UTF-8
+libconfig++ to dowiązanie C++ biblioteki libconfig.
+
+%package c++-devel
+Summary: Header files for libconfig++ library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libconfig++
+Group: Development/Libraries
+Requires: %{name}-c++ = %{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
+Requires: libstdc++-devel
+
+%description c++-devel
+Header files for libconfig++ library.
+
+%description c++-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libconfig++.
+
+%package c++-static
+Summary: Static libconfig++ library
+Summary(pl.UTF-8): Statyczna biblioteka libconfig++
+Group: Development/Libraries
+Requires: %{name}-c++-devel = %{version}-%{release}
+
+%description c++-static
+Static libconfig++ library.
+
+%description c++-static -l pl.UTF-8
+Statyczna biblioteka libconfig++.
+
%prep
%setup -q
@@ -71,22 +120,42 @@
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post c++ -p /sbin/ldconfig
+%postun c++ -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc AUTHORS README TODO
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libconfig.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libconfig.so.5
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/libconfig.h*
-%{_pkgconfigdir}/*.pc
-%{_infodir}/libconfig*
+%attr(755,root,root) %{_libdir}/libconfig.so
+%{_libdir}/libconfig.la
+%{_includedir}/libconfig.h
+%{_pkgconfigdir}/libconfig.pc
+%{_infodir}/libconfig.info*
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libconfig.a
+
+%files c++
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libconfig++.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libconfig++.so.5
+
+%files c++-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libconfig++.so
+%{_libdir}/libconfig++.la
+%{_includedir}/libconfig.h++
+%{_pkgconfigdir}/libconfig++.pc
+
+%files c++-static
+%defattr(644,root,root,755)
+%{_libdir}/libconfig++.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -94,9 +163,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2007/11/03 17:36:06 qboosh
+- separated libconfig++ so main package doesn't require libstdc++
+
Revision 1.2 2007/10/27 14:00:02 blues
- 1.2
Revision 1.1 2007/10/13 17:30:32 areq
- init PLD spec
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libconfig.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list