forked from pool/libconfig
Accepting request 107982 from home:plater
Add spacing to changelog OBS-URL: https://build.opensuse.org/request/show/107982 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libconfig?expand=0&rev=3
This commit is contained in:
parent
b8db0f805f
commit
8371d704b6
3
libconfig-1.4.8.tar.bz2
Normal file
3
libconfig-1.4.8.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b536a51f822507026d5e0fa278a8aac6b282c2685bf2f375dc48c4ae4da7c0b1
|
||||
size 531972
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18b1509fbf438a8c7f9b0af32284e458189b5f6dfd044f898926109f3c3c01ed
|
||||
size 645823
|
10
libconfig-rpmlintrc
Normal file
10
libconfig-rpmlintrc
Normal file
@ -0,0 +1,10 @@
|
||||
# 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,13 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
@ -49,34 +39,48 @@ Fri Oct 1 21:10:11 UTC 2010 - davejplater@gmail.com
|
||||
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
|
||||
- This release includes a bugfix and some code cleanup to eliminate compiler warnings.
|
||||
- This release includes a bugfix and some code cleanup to eliminate
|
||||
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
|
||||
- new SO-name ==> libconfig9 and libconfig++9
|
||||
- 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
|
||||
- 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
|
||||
- new SO-name ==> libconfig8 and libconfig++8 (!!!)
|
||||
- removed static libs
|
||||
- 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
|
||||
- This release fixes a crash when reading a configuration from a string,
|
||||
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
|
||||
- new SO-name ==> libconfig9 and libconfig++9
|
||||
- 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
|
||||
|
155
libconfig.spec
155
libconfig.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libconfig
|
||||
# spec file for package libconfig++ (Version 1.4.5)
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,26 +15,31 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: libconfig
|
||||
Version: 1.4.8
|
||||
Release: 0
|
||||
%define _soversion 9
|
||||
Summary: A simple library for manipulating structured configuration files
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Url: http://www.hyperrealm.com/main.php?s=libconfig
|
||||
Source: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
|
||||
BuildRequires: bison
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: texlive
|
||||
BuildRequires: texlive-latex
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires(pre): info
|
||||
%define _prefix /usr
|
||||
%define _libname libconfig
|
||||
%define _SO_nr 9
|
||||
|
||||
Name: libconfig
|
||||
Summary: A simple library for manipulating structured configuration files
|
||||
Version: 1.4.8
|
||||
Release: 0
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
URL: http://www.hyperrealm.com/main.php?s=libconfig
|
||||
# http://www.hyperrealm.com/libconfig/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source90: %{name}-rpmlintrc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires(pre): info
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: texlive
|
||||
BuildRequires: pkg-config fdupes
|
||||
|
||||
%description
|
||||
Libconfig is a simple library for manipulating structured
|
||||
@ -53,11 +58,11 @@ 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}
|
||||
Summary: Shared libraries for libconfig
|
||||
Group: System/Libraries
|
||||
%package -n %{_libname}%{_SO_nr}
|
||||
Summary: Shared libraries for libconfig
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libconfig%{_soversion}
|
||||
%description -n %{_libname}%{_SO_nr}
|
||||
Libconfig is a simple library for manipulating structured
|
||||
configuration files, like this one: test.cfg. This file format
|
||||
is more compact and more readable than XML. And unlike XML, it
|
||||
@ -66,13 +71,12 @@ application code.
|
||||
|
||||
This package contains the shared libraries for libconfig.
|
||||
|
||||
%package devel
|
||||
Summary: C-Bindings development files for libconfig
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libconfig%{_soversion} = %{version}
|
||||
Recommends: libconfig-doc = %{version}
|
||||
%package -n %{_libname}-devel
|
||||
Summary: C-Bindings development files for libconfig
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %{_libname}%{_SO_nr} = %{version}
|
||||
|
||||
%description devel
|
||||
%description -n %{_libname}-devel
|
||||
Libconfig is a simple library for manipulating structured
|
||||
configuration files, like this one: test.cfg. This file format
|
||||
is more compact and more readable than XML. And unlike XML, it
|
||||
@ -81,11 +85,11 @@ application code.
|
||||
|
||||
This package contains the C-bindings development files.
|
||||
|
||||
%package -n libconfig++%{_soversion}
|
||||
Summary: Shared libraries for libconfig
|
||||
Group: System/Libraries
|
||||
%package -n %{_libname}++%{_SO_nr}
|
||||
Summary: Shared libraries for libconfig
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libconfig++%{_soversion}
|
||||
%description -n %{_libname}++%{_SO_nr}
|
||||
Libconfig is a simple library for manipulating structured
|
||||
configuration files, like this one: test.cfg. This file format
|
||||
is more compact and more readable than XML. And unlike XML, it
|
||||
@ -94,14 +98,13 @@ application code.
|
||||
|
||||
This package contains the shared libraries for libconfig.
|
||||
|
||||
%package -n libconfig++-devel
|
||||
Summary: C++-Bindings development files for libconfig
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libconfig++%{_soversion} = %{version}
|
||||
Requires: libconfig-devel = %{version}
|
||||
Recommends: libconfig-doc = %{version}
|
||||
%package -n %{_libname}++-devel
|
||||
Summary: C++-Bindings development files for libconfig
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: %{_libname}++%{_SO_nr} = %{version}
|
||||
Requires: %{_libname}-devel = %{version}
|
||||
|
||||
%description -n libconfig++-devel
|
||||
%description -n %{_libname}++-devel
|
||||
Libconfig is a simple library for manipulating structured
|
||||
configuration files, like this one: test.cfg. This file format
|
||||
is more compact and more readable than XML. And unlike XML, it
|
||||
@ -111,8 +114,8 @@ application code.
|
||||
This package contains the C++-bindings development files.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation files for libconfig
|
||||
Group: Documentation/Other
|
||||
Summary: Documentation files for libconfig
|
||||
Group: Documentation/Other
|
||||
|
||||
%description doc
|
||||
Documentation files for package libconfig.
|
||||
@ -123,27 +126,35 @@ Documentation files for package libconfig.
|
||||
%build
|
||||
%configure
|
||||
|
||||
make pdf
|
||||
make html
|
||||
%__make pdf
|
||||
%__make html
|
||||
make %{?_smp_flags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%makeinstall
|
||||
|
||||
# clean up
|
||||
pushd examples
|
||||
make clean
|
||||
find . -name '*.vcproj' -o -name '.deps' |xargs rm -r
|
||||
%__make clean
|
||||
find . -name '*.vcproj' | xargs %__rm
|
||||
popd
|
||||
rm %{buildroot}%{_libdir}/*.{l,}a
|
||||
%fdupes -s examples %{buildroot}%{_docdir}
|
||||
%__rm %{buildroot}%{_libdir}/*.a
|
||||
%__rm %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -n libconfig%{_soversion} -p /sbin/ldconfig
|
||||
for i in `find . -name '.deps' -print`; do \
|
||||
rm -rfv ${i}; done
|
||||
|
||||
%postun -n libconfig%{_soversion} -p /sbin/ldconfig
|
||||
%fdupes -s examples/
|
||||
|
||||
%post -n libconfig++%{_soversion} -p /sbin/ldconfig
|
||||
%fdupes -s %{buildroot}%{_docdir}
|
||||
|
||||
%postun -n libconfig++%{_soversion} -p /sbin/ldconfig
|
||||
%post -n %{_libname}%{_SO_nr} -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
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
||||
@ -151,33 +162,35 @@ rm %{buildroot}%{_libdir}/*.{l,}a
|
||||
%postun doc
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libconfig.info.gz
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS ChangeLog COPYING* README TODO
|
||||
%doc examples
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc doc/*.html doc/*.pdf examples
|
||||
%{_infodir}/libconfig.info.gz
|
||||
%doc doc/*.html
|
||||
%doc doc/*.pdf
|
||||
%{_infodir}/%{_libname}.info.gz
|
||||
|
||||
%files -n libconfig%{_soversion}
|
||||
%files -n %{_libname}%{_SO_nr}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING* README
|
||||
%{_libdir}/libconfig.so.*
|
||||
|
||||
%files -n libconfig++%{_soversion}
|
||||
%files -n %{_libname}++%{_SO_nr}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING* README
|
||||
%{_libdir}/libconfig++.so.*
|
||||
|
||||
%files devel
|
||||
%files -n %{_libname}-devel
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog TODO
|
||||
%{_includedir}/libconfig.h
|
||||
%{_libdir}/libconfig.so
|
||||
%{_libdir}/pkgconfig/libconfig.pc
|
||||
%{_includedir}/%{_libname}.h
|
||||
%{_libdir}/%{_libname}.so
|
||||
%{_libdir}/pkgconfig/%{_libname}.pc
|
||||
|
||||
%files -n libconfig++-devel
|
||||
%files -n %{_libname}++-devel
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog TODO
|
||||
%{_includedir}/libconfig.h++
|
||||
%{_libdir}/libconfig++.so
|
||||
%{_libdir}/pkgconfig/libconfig++.pc
|
||||
%{_includedir}/%{_libname}.h++
|
||||
%{_libdir}/%{_libname}++.so
|
||||
%{_libdir}/pkgconfig/%{_libname}++.pc
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user