File libxspf.spec of Package libxspf
#
# spec file for package libxspf (Version 1.1.0)
#
# Copyright (c) 2009 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libxspf
Url: http://libspiff.sourceforge.net/
Version: 1.1.0
Release: 3
License: BSD 3-Clause; LGPL v2.1 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ libexpat-devel liburiparser-devel
Group: Development/Libraries/C and C++
Summary: Provides XSPF playlist reading and writing support
Source: http://downloads.xiph.org/releases/xspf/%{name}-%{version}.tar.bz2
Patch0: libxspf-1.1.0-gcc44.patch
%description
libSpiff brings XSPF playlist reading and writing support to your C++
application. Both version 0 and 1 are supported. libSpiff uses Expat
for XML parsing and CppTest for unit testing. libSpiff is the official
reference implementation for XSPF of the Xiph.Org Foundation. Features
* Full conformance to the XSPF specification
* Cross-platform (Unix, Windows, Mac OS X, ...)
* Read and write XSPF files
* XSPF-0 and XSPF-1 support
* Unicode support
* Full support for XSPF extensions
* Full support for XML namespaces
* Fast (XML parsing is done by Expat)
* Uses unit testing
* Liberal license: New BSD license
Authors:
--------
Sebastian Pipping, sping@xiph.org
Ed Schouten, ed@fxq.nl
%package -n libxspf4
License: BSD 3-Clause; LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: Provides XSPF playlist reading and writing support
%description -n libxspf4
libSpiff brings XSPF playlist reading and writing support to your C++
application. Both version 0 and 1 are supported. libSpiff uses Expat
for XML parsing and CppTest for unit testing. libSpiff is the official
reference implementation for XSPF of the Xiph.Org Foundation. Features
* Full conformance to the XSPF specification
* Cross-platform (Unix, Windows, Mac OS X, ...)
* Read and write XSPF files
* XSPF-0 and XSPF-1 support
* Unicode support
* Full support for XSPF extensions
* Full support for XML namespaces
* Fast (XML parsing is done by Expat)
* Uses unit testing
* Liberal license: New BSD license
Authors:
--------
Sebastian Pipping, sping@xiph.org
Ed Schouten, ed@fxq.nl
%package -n libxspf-devel
License: BSD 3-Clause; LGPL v2.1 or later
Group: Development/Libraries/C and C++
Summary: libSpiff brings XSPF playlist reading and writing support to your C++ application
Requires: libxspf4 = %{version} libstdc++-devel libexpat-devel
%description -n libxspf-devel
libSpiff brings XSPF playlist reading and writing support to your C++
application. Both version 0 and 1 are supported. libSpiff uses Expat
for XML parsing and CppTest for unit testing. libSpiff is the official
reference implementation for XSPF of the Xiph.Org Foundation. Features
* Full conformance to the XSPF specification
* Cross-platform (Unix, Windows, Mac OS X, ...)
* Read and write XSPF files
* XSPF-0 and XSPF-1 support
* Unicode support
* Full support for XSPF extensions
* Full support for XML namespaces
* Fast (XML parsing is done by Expat)
* Uses unit testing
* Liberal license: New BSD license
Authors:
--------
Sebastian Pipping, sping@xiph.org
Ed Schouten, ed@fxq.nl
%prep
%setup -q
%patch0 -p1
%build
autoreconf -fiv
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%check
%{__make} %{?jobs:-j%jobs} check
%install
%makeinstall
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf %{buildroot}
%post -n libxspf4 -p /sbin/ldconfig
%postun -n libxspf4 -p /sbin/ldconfig
%files -n libxspf4
%defattr(-,root,root)
%{_libdir}/libxspf.so.4*
%files -n libxspf-devel
%defattr(-,root,root)
%{_bindir}/xspf_check
%{_bindir}/xspf_strip
%dir %{_includedir}/xspf
%dir %{_includedir}/xspf/ProjectOpus
%{_includedir}/xspf/ProjectOpus/*.h
%{_includedir}/xspf/*.h
%{_libdir}/libxspf.so
%{_libdir}/pkgconfig/xspf.pc
%changelog
* Wed May 06 2009 coolo@suse.de
- fix compilation with gcc 44
* Thu Feb 26 2009 crrodriguez@suse.de
- correct wrong -evel package requires
* Sun Feb 22 2009 crrodriguez@suse.de
- upstream rename to libxspf
- update to version 1.1.0
- added pkgconfig file
- fix compilation errors with gcc 43 and 44
* Fri Aug 22 2008 crrodriguez@suse.de
- add missing libexpat-devel to -devel package
* Thu Jul 31 2008 crrodriguez@suse.de
- update to version 0.8.4
* Fixed: Support for 'xml:base' attribute added
* Fixed: Test suite compile fix for GCC 4.3
Thanks to Samuli Suominen for the patch!
* Changed: Code::Blocks project files updated from file format
version 1.4 to 1.6, which is produced by Code::Blocks 8.02
* Added: Code::Blocks workspace file
* Fixed: Bundled Win32 CppTest updated to 1.1.0
* Fixed: Bundled Win32 uriparser updated to 0.7.1
* Soname: 1:4:0
* Sat Mar 08 2008 crrodriguez@suse.de
- version 0.8.3
* Fixed: No more compile errors from GCC 4.3 (#1815520)
Thanks to Cristian Rodriguez for the patch!
* Added: Version guards for Autoconf/Automake
Thanks to Martin Michlmayr for reporting!
* Fixed: Compile error on Windows caused by out-of-date
file lists
* Fixed: Bundled Win32 uriparser updated to 0.6.4
* Soname: 1:3:0
* Tue Feb 05 2008 crrodriguez@suse.de
- initial version for openSUSE 11, merge from OBS
* Thu Oct 18 2007 crrodriguez@suse.de
- update to version 0.8.2 , soname changed, now libspiff1