Accepting request 108772 from multimedia:libs
Let's get this done, reverting to a sane state, will re-apply successive changes afterwards... OBS-URL: https://build.opensuse.org/request/show/108772 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libconfig?expand=0&rev=4
This commit is contained in:
parent
8371d704b6
commit
d04e0bfa30
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b536a51f822507026d5e0fa278a8aac6b282c2685bf2f375dc48c4ae4da7c0b1
|
|
||||||
size 531972
|
|
3
libconfig-1.4.8.tar.gz
Normal file
3
libconfig-1.4.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:18b1509fbf438a8c7f9b0af32284e458189b5f6dfd044f898926109f3c3c01ed
|
||||||
|
size 645823
|
@ -1,10 +0,0 @@
|
|||||||
# This line is mandatory to access the configuration functions
|
|
||||||
from Config import *
|
|
||||||
|
|
||||||
addFilter("source-or-patch-not-bzipped")
|
|
||||||
addFilter("shared-lib-calls-exit")
|
|
||||||
|
|
||||||
# libconfigduo
|
|
||||||
#addFilter("no-binary")
|
|
||||||
addFilter("shlib-policy-missing-lib")
|
|
||||||
addFilter("shlib-policy-nonversioned-dir")
|
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 27 13:44:20 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Spec file cleanup:
|
||||||
|
* Use original tarball
|
||||||
|
* Move COPYING, README into lib packages (legal requirement)
|
||||||
|
* Move CHANGELOG and TODO into devel packages (not needed by users)
|
||||||
|
* Move examples into doc package, and recommend it for both devel packages
|
||||||
|
* Ran spec cleaner and removed unneeded rpmlintrc
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 25 07:03:32 UTC 2012 - davejplater@gmail.com
|
Sat Feb 25 07:03:32 UTC 2012 - davejplater@gmail.com
|
||||||
|
|
||||||
@ -39,48 +49,34 @@ Fri Oct 1 21:10:11 UTC 2010 - davejplater@gmail.com
|
|||||||
file to openSUSE also transfered the changes to a changes file
|
file to openSUSE also transfered the changes to a changes file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 05 2010 Toni Graffy <toni@links2linux.de> - 1.4.5-0.pm.1
|
* Wed May 05 2010 Toni Graffy <toni@links2linux.de> - 1.4.5-0.pm.1
|
||||||
|
|
||||||
- update to 1.4.5
|
- update to 1.4.5
|
||||||
- This release includes a bugfix and some code cleanup to eliminate
|
- This release includes a bugfix and some code cleanup to eliminate compiler warnings.
|
||||||
compiler warnings.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 13 2010 Toni Graffy <toni@links2linux.de> - 1.4.4-0.pm.1
|
* Tue Apr 13 2010 Toni Graffy <toni@links2linux.de> - 1.4.4-0.pm.1
|
||||||
|
|
||||||
- update to 1.4.4
|
- update to 1.4.4
|
||||||
- new SO-name ==> libconfig9 and libconfig++9
|
- new SO-name ==> libconfig9 and libconfig++9
|
||||||
- This release fixes several build issues.
|
- This release fixes several build issues.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 15 2010 Toni Graffy <toni@links2linux.de> - 1.4.3-0.pm.1
|
* Tue Feb 15 2010 Toni Graffy <toni@links2linux.de> - 1.4.3-0.pm.1
|
||||||
|
|
||||||
- update to 1.4.3
|
- update to 1.4.3
|
||||||
- This release fixes a problem with parsing indented '@include' directives.
|
- This release fixes a problem with parsing indented '@include' directives.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 29 2010 Toni Graffy <toni@links2linux.de> - 1.4.2-0.pm.1
|
* Fri Jan 29 2010 Toni Graffy <toni@links2linux.de> - 1.4.2-0.pm.1
|
||||||
|
|
||||||
- update to 1.4.2
|
- update to 1.4.2
|
||||||
- new SO-name ==> libconfig8 and libconfig++8 (!!!)
|
- new SO-name ==> libconfig8 and libconfig++8 (!!!)
|
||||||
- removed static libs
|
- removed static libs
|
||||||
- This release fixes some problems with the ParseException class.
|
- This release fixes some problems with the ParseException class.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 01 2010 Toni Graffy <toni@links2linux.de> - 1.4.1-0.pm.1
|
* Fri Jan 01 2010 Toni Graffy <toni@links2linux.de> - 1.4.1-0.pm.1
|
||||||
|
|
||||||
- update to 1.4.1
|
- update to 1.4.1
|
||||||
- This release fixes a crash when reading a configuration from a string,
|
- This release fixes a crash when reading a configuration from a string,
|
||||||
and includes a few minor build improvements.
|
and includes a few minor build improvements.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 13 2009 Toni Graffy <toni@links2linux.de> - 1.4-0.pm.1
|
* Fri Nov 13 2009 Toni Graffy <toni@links2linux.de> - 1.4-0.pm.1
|
||||||
|
|
||||||
- update to 1.4
|
- update to 1.4
|
||||||
- new SO-name ==> libconfig9 and libconfig++9
|
- new SO-name ==> libconfig9 and libconfig++9
|
||||||
- This release includes some minor bugfixes
|
- This release includes some minor bugfixes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 21 2009 Toni Graffy <toni@links2linux.de> - 1.3.2-0.pm.1
|
* Sat Feb 21 2009 Toni Graffy <toni@links2linux.de> - 1.3.2-0.pm.1
|
||||||
|
|
||||||
- initial release 1.3.2
|
- initial release 1.3.2
|
||||||
|
115
libconfig.spec
115
libconfig.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libconfig++ (Version 1.4.5)
|
# spec file for package libconfig
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,31 +15,26 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%define _prefix /usr
|
|
||||||
%define _libname libconfig
|
|
||||||
%define _SO_nr 9
|
|
||||||
|
|
||||||
Name: libconfig
|
Name: libconfig
|
||||||
Summary: A simple library for manipulating structured configuration files
|
|
||||||
Version: 1.4.8
|
Version: 1.4.8
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define _soversion 9
|
||||||
|
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
|
||||||
# http://www.hyperrealm.com/libconfig/
|
Source: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
||||||
Source: %{name}-%{version}.tar.bz2
|
|
||||||
Source90: %{name}-rpmlintrc
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires(pre): info
|
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: pkg-config
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
BuildRequires: texlive-latex
|
|
||||||
BuildRequires: texlive
|
BuildRequires: texlive
|
||||||
BuildRequires: pkg-config fdupes
|
BuildRequires: texlive-latex
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Requires(pre): info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libconfig is a simple library for manipulating structured
|
Libconfig is a simple library for manipulating structured
|
||||||
@ -58,11 +53,11 @@ The library includes bindings for both the C and C++ languages.
|
|||||||
It works on POSIX-compliant UNIX systems (GNU/Linux, Mac OS X,
|
It works on POSIX-compliant UNIX systems (GNU/Linux, Mac OS X,
|
||||||
Solaris, FreeBSD) and Windows (2000, XP and later).
|
Solaris, FreeBSD) and Windows (2000, XP and later).
|
||||||
|
|
||||||
%package -n %{_libname}%{_SO_nr}
|
%package -n libconfig%{_soversion}
|
||||||
Summary: Shared libraries for libconfig
|
Summary: Shared libraries for libconfig
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{_libname}%{_SO_nr}
|
%description -n libconfig%{_soversion}
|
||||||
Libconfig is a simple library for manipulating structured
|
Libconfig is a simple library for manipulating structured
|
||||||
configuration files, like this one: test.cfg. This file format
|
configuration files, like this one: test.cfg. This file format
|
||||||
is more compact and more readable than XML. And unlike XML, it
|
is more compact and more readable than XML. And unlike XML, it
|
||||||
@ -71,12 +66,13 @@ application code.
|
|||||||
|
|
||||||
This package contains the shared libraries for libconfig.
|
This package contains the shared libraries for libconfig.
|
||||||
|
|
||||||
%package -n %{_libname}-devel
|
%package 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: %{_libname}%{_SO_nr} = %{version}
|
Requires: libconfig%{_soversion} = %{version}
|
||||||
|
Recommends: libconfig-doc = %{version}
|
||||||
|
|
||||||
%description -n %{_libname}-devel
|
%description devel
|
||||||
Libconfig is a simple library for manipulating structured
|
Libconfig is a simple library for manipulating structured
|
||||||
configuration files, like this one: test.cfg. This file format
|
configuration files, like this one: test.cfg. This file format
|
||||||
is more compact and more readable than XML. And unlike XML, it
|
is more compact and more readable than XML. And unlike XML, it
|
||||||
@ -85,11 +81,11 @@ application code.
|
|||||||
|
|
||||||
This package contains the C-bindings development files.
|
This package contains the C-bindings development files.
|
||||||
|
|
||||||
%package -n %{_libname}++%{_SO_nr}
|
%package -n libconfig++%{_soversion}
|
||||||
Summary: Shared libraries for libconfig
|
Summary: Shared libraries for libconfig
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{_libname}++%{_SO_nr}
|
%description -n libconfig++%{_soversion}
|
||||||
Libconfig is a simple library for manipulating structured
|
Libconfig is a simple library for manipulating structured
|
||||||
configuration files, like this one: test.cfg. This file format
|
configuration files, like this one: test.cfg. This file format
|
||||||
is more compact and more readable than XML. And unlike XML, it
|
is more compact and more readable than XML. And unlike XML, it
|
||||||
@ -98,13 +94,14 @@ application code.
|
|||||||
|
|
||||||
This package contains the shared libraries for libconfig.
|
This package contains the shared libraries for libconfig.
|
||||||
|
|
||||||
%package -n %{_libname}++-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: %{_libname}++%{_SO_nr} = %{version}
|
Requires: libconfig++%{_soversion} = %{version}
|
||||||
Requires: %{_libname}-devel = %{version}
|
Requires: libconfig-devel = %{version}
|
||||||
|
Recommends: libconfig-doc = %{version}
|
||||||
|
|
||||||
%description -n %{_libname}++-devel
|
%description -n libconfig++-devel
|
||||||
Libconfig is a simple library for manipulating structured
|
Libconfig is a simple library for manipulating structured
|
||||||
configuration files, like this one: test.cfg. This file format
|
configuration files, like this one: test.cfg. This file format
|
||||||
is more compact and more readable than XML. And unlike XML, it
|
is more compact and more readable than XML. And unlike XML, it
|
||||||
@ -126,35 +123,27 @@ Documentation files for package libconfig.
|
|||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
%__make pdf
|
make pdf
|
||||||
%__make html
|
make html
|
||||||
make %{?_smp_flags}
|
make %{?_smp_flags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
pushd examples
|
pushd examples
|
||||||
%__make clean
|
make clean
|
||||||
find . -name '*.vcproj' | xargs %__rm
|
find . -name '*.vcproj' -o -name '.deps' |xargs rm -r
|
||||||
popd
|
popd
|
||||||
%__rm %{buildroot}%{_libdir}/*.a
|
rm %{buildroot}%{_libdir}/*.{l,}a
|
||||||
%__rm %{buildroot}%{_libdir}/*.la
|
%fdupes -s examples %{buildroot}%{_docdir}
|
||||||
|
|
||||||
for i in `find . -name '.deps' -print`; do \
|
%post -n libconfig%{_soversion} -p /sbin/ldconfig
|
||||||
rm -rfv ${i}; done
|
|
||||||
|
|
||||||
%fdupes -s examples/
|
%postun -n libconfig%{_soversion} -p /sbin/ldconfig
|
||||||
|
|
||||||
%fdupes -s %{buildroot}%{_docdir}
|
%post -n libconfig++%{_soversion} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n %{_libname}%{_SO_nr} -p /sbin/ldconfig
|
%postun -n libconfig++%{_soversion} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{_libname}%{_SO_nr} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post -n %{_libname}++%{_SO_nr} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n %{_libname}++%{_SO_nr} -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%post doc
|
%post doc
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
||||||
@ -162,35 +151,33 @@ rm -rfv ${i}; done
|
|||||||
%postun doc
|
%postun doc
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS ChangeLog COPYING* README TODO
|
|
||||||
%doc examples
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc/*.html
|
%doc doc/*.html doc/*.pdf examples
|
||||||
%doc doc/*.pdf
|
%{_infodir}/libconfig.info.gz
|
||||||
%{_infodir}/%{_libname}.info.gz
|
|
||||||
|
|
||||||
%files -n %{_libname}%{_SO_nr}
|
%files -n libconfig%{_soversion}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING* README
|
||||||
%{_libdir}/libconfig.so.*
|
%{_libdir}/libconfig.so.*
|
||||||
|
|
||||||
%files -n %{_libname}++%{_SO_nr}
|
%files -n libconfig++%{_soversion}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS COPYING* README
|
||||||
%{_libdir}/libconfig++.so.*
|
%{_libdir}/libconfig++.so.*
|
||||||
|
|
||||||
%files -n %{_libname}-devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/%{_libname}.h
|
%doc ChangeLog TODO
|
||||||
%{_libdir}/%{_libname}.so
|
%{_includedir}/libconfig.h
|
||||||
%{_libdir}/pkgconfig/%{_libname}.pc
|
%{_libdir}/libconfig.so
|
||||||
|
%{_libdir}/pkgconfig/libconfig.pc
|
||||||
|
|
||||||
%files -n %{_libname}++-devel
|
%files -n libconfig++-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/%{_libname}.h++
|
%doc ChangeLog TODO
|
||||||
%{_libdir}/%{_libname}++.so
|
%{_includedir}/libconfig.h++
|
||||||
%{_libdir}/pkgconfig/%{_libname}++.pc
|
%{_libdir}/libconfig++.so
|
||||||
|
%{_libdir}/pkgconfig/libconfig++.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user