Accepting request 121516 from multimedia:libs
Added baselibs.conf for 32 bit compat libs, moved info files to devel package and disabled doc package with html and pdf as workaround for broken texlive-bin build See packaging list message about Broken dependencies in factory "can't install ffado: nothing provides libconfig++.so.9 needed by libffado2-32bit Plus fixed overwritten changes (forwarded request 121515 from plater) OBS-URL: https://build.opensuse.org/request/show/121516 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libconfig?expand=0&rev=2
This commit is contained in:
commit
c16f6c9015
2
baselibs.conf
Normal file
2
baselibs.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
libconfig++9
|
||||||
|
libconfig9
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 19 11:25:58 UTC 2012 - davejplater@gmail.com
|
||||||
|
|
||||||
|
- Added baselibs.conf for 32 bit ffado
|
||||||
|
- Disabled pdf and html docs, moved info to devel package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 14 14:30:46 UTC 2012 - saschpe@suse.de
|
Wed Mar 14 14:30:46 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
%define docbuild 0
|
||||||
|
|
||||||
Name: libconfig
|
Name: libconfig
|
||||||
Version: 1.4.8
|
Version: 1.4.8
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,17 +27,20 @@ Summary: A simple library for manipulating structured configuration files
|
|||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://www.hyperrealm.com/main.php?s=libconfig
|
Url: http://www.hyperrealm.com/main.php?s=libconfig
|
||||||
Source: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
||||||
|
Source1: baselibs.conf
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
%if 0%{?docbuild} == 1
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
BuildRequires: texlive
|
BuildRequires: texlive
|
||||||
BuildRequires: texlive-latex
|
BuildRequires: texlive-latex
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires(pre): info
|
Requires(pre): info
|
||||||
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libconfig is a simple library for manipulating structured
|
Libconfig is a simple library for manipulating structured
|
||||||
@ -43,6 +49,16 @@ is more compact and more readable than XML. And unlike XML, it
|
|||||||
is type-aware, so it is not necessary to do string parsing in
|
is type-aware, so it is not necessary to do string parsing in
|
||||||
application code.
|
application code.
|
||||||
|
|
||||||
|
Libconfig is very compact — just 38K for the stripped C shared
|
||||||
|
library (less than one-fourth the size of the expat XML parser
|
||||||
|
library) and 66K for the stripped C++ shared library. This 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).
|
||||||
|
|
||||||
%package -n libconfig%{_soversion}
|
%package -n libconfig%{_soversion}
|
||||||
Summary: Shared libraries for libconfig
|
Summary: Shared libraries for libconfig
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -85,6 +101,7 @@ application code.
|
|||||||
This package contains the shared libraries for libconfig.
|
This package contains the shared libraries for libconfig.
|
||||||
|
|
||||||
%package -n libconfig++-devel
|
%package -n libconfig++-devel
|
||||||
|
|
||||||
Summary: C++-Bindings development files for libconfig
|
Summary: C++-Bindings development files for libconfig
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: libconfig++%{_soversion} = %{version}
|
Requires: libconfig++%{_soversion} = %{version}
|
||||||
@ -100,21 +117,25 @@ application code.
|
|||||||
|
|
||||||
This package contains the C++-bindings development files.
|
This package contains the C++-bindings development files.
|
||||||
|
|
||||||
|
%if 0%{?docbuild} == 1
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation files for libconfig
|
Summary: Documentation files for libconfig
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation files for package libconfig.
|
Documentation files for package libconfig.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_flags}
|
||||||
make pdf
|
%if 0%{?docbuild} == 1
|
||||||
make html
|
make html
|
||||||
|
make pdf
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -134,16 +155,11 @@ rm %{buildroot}%{_libdir}/*.{l,}a
|
|||||||
|
|
||||||
%postun -n libconfig++%{_soversion} -p /sbin/ldconfig
|
%postun -n libconfig++%{_soversion} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post doc
|
%if 0%{?docbuild} == 1
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
|
||||||
|
|
||||||
%postun doc
|
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/*.html doc/*.pdf examples
|
%doc doc/*.html doc/*.pdf examples
|
||||||
%{_infodir}/libconfig.info.gz
|
%endif
|
||||||
|
|
||||||
%files -n libconfig%{_soversion}
|
%files -n libconfig%{_soversion}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -162,11 +178,18 @@ rm %{buildroot}%{_libdir}/*.{l,}a
|
|||||||
%{_libdir}/libconfig.so
|
%{_libdir}/libconfig.so
|
||||||
%{_libdir}/pkgconfig/libconfig.pc
|
%{_libdir}/pkgconfig/libconfig.pc
|
||||||
|
|
||||||
|
%post -n libconfig++-devel
|
||||||
|
%install_info --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
||||||
|
|
||||||
|
%postun -n libconfig++-devel
|
||||||
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
||||||
|
|
||||||
%files -n libconfig++-devel
|
%files -n libconfig++-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ChangeLog TODO
|
%doc ChangeLog TODO
|
||||||
%{_includedir}/libconfig.h++
|
%{_includedir}/libconfig.h++
|
||||||
%{_libdir}/libconfig++.so
|
%{_libdir}/libconfig++.so
|
||||||
%{_libdir}/pkgconfig/libconfig++.pc
|
%{_libdir}/pkgconfig/libconfig++.pc
|
||||||
|
%{_infodir}/libconfig.info.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user