OBS User unknown
2007-08-09 22:20:53 +00:00
committed by Git OBS Bridge
parent b71b0c96de
commit 694030eee2
2 changed files with 66 additions and 45 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Aug 8 00:27:37 CEST 2007 - crrodriguez@suse.de
- fix more issues:
- this package does NOT require libjpeg-devel for build
- after adding missing zlib-devel on BuildRequires in the
previous checkin, libtool archives causes bloat.
-------------------------------------------------------------------
Tue Aug 7 17:46:32 CEST 2007 - crrodriguez@suse.de
- run ldconfig instead of using deprecated macro
- move the docs to the devel packages
- use fdupes to avoid duplicate files
- run make check in the check section
-------------------------------------------------------------------
Fri Oct 20 13:25:08 CEST 2006 - dmueller@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package taglib (Version 1.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,13 +11,13 @@
# norootforbuild
Name: taglib
BuildRequires: doxygen gcc-c++ graphviz libjpeg-devel update-desktop-files
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
BuildRequires: doxygen fdupes gcc-c++ graphviz update-desktop-files zlib-devel
License: LGPL v2 or later
Group: Development/Libraries/C and C++
Summary: C++ Library to Parse Metadata in Media Files
URL: http://ktown.kde.org/~wheeler/taglib/
Version: 1.4
Release: 35
Release: 98
Source0: %name-%version.tar.bz2
Source1: %name.desktop
Patch: %name-%version-autoconf.diff
@@ -36,9 +36,9 @@ Authors:
%package devel
Group: Development/Libraries/C and C++
License: Other License(s), see package
License: LGPL v2 or later
Summary: C++ Library to Parse Metadata in media files
Requires: taglib = %{version}
Requires: taglib = %{version} libstdc++-devel
%description devel
libtag provides a C++ interface for reading additional data (stored in
@@ -54,62 +54,67 @@ Authors:
%setup -q
%patch
%patch1
make -f Makefile.cvs
%{__make} -f Makefile.cvs
%build
export CXXFLAGS="$RPM_OPT_FLAGS"
./configure \
--prefix=/usr \
--libdir=%_libdir \
--mandir=%_mandir \
--sysconfdir=/etc/
make %{?jobs:-j %jobs}
# check the library
cd tests
make toolkit-test
./toolkit-test
cd ../taglib-api
export CXXFLAGS="%{optflags}"
%configure --disable-static --with-pic --enable-new-ldflags
%{__make} %{?jobs:-j %jobs}
cd taglib-api
doxygen taglib.doxygen
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%{__make} DESTDIR="%{buildroot}" install
# install susehelp file
mkdir -p $RPM_BUILD_ROOT/usr/share/susehelp/meta/Development/Libraries/
install -m 0644 %SOURCE1 \
$RPM_BUILD_ROOT/usr/share/susehelp/meta/Development/Libraries/
%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/susehelp/meta/Development/Libraries/%name.desktop
mkdir -p $RPM_BUILD_ROOT%_defaultdocdir/%name
cp -a AUTHORS COPYING README taglib-api/html \
$RPM_BUILD_ROOT%_defaultdocdir/%name/
%{__mkdir_p} %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/
%{__install} -m 0644 %SOURCE1 \
%{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/
%suse_update_desktop_file %{buildroot}%{_datadir}/susehelp/meta/Development/Libraries/%name.desktop
%{__mkdir_p} %{buildroot}%_defaultdocdir/%name
%{__cp} -a AUTHORS COPYING README taglib-api/html \
%{buildroot}%_defaultdocdir/%name/
%fdupes %{buildroot}
# only causes causes bloat
%{__rm} %{buildroot}%{_libdir}/libtag*.la
%check
# check the library
cd tests
%{__make} %{?jobs:-j %jobs} toolkit-test
./toolkit-test
%clean
rm -rf ${RPM_BUILD_ROOT}
%{__rm} -rf %{buildroot}
%post
%run_ldconfig
%post -p /sbin/ldconfig
%postun
%run_ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir %doc %_defaultdocdir/%name
%doc %_defaultdocdir/%name/AUTHORS
%doc %_defaultdocdir/%name/COPYING
%doc %_defaultdocdir/%name/README
%_libdir/libtag*.so.*
%{_libdir}/libtag*.so.*
%files devel
%defattr(-,root,root)
%doc %_defaultdocdir/%name/html
/usr/share/susehelp
/usr/bin/taglib-config
/usr/include/taglib
%_libdir/libtag*.so
%_libdir/libtag*.la
%_libdir/pkgconfig/taglib.pc
%doc %_defaultdocdir/%name
%{_datadir}/susehelp
%{_bindir}/taglib-config
%{_includedir}/taglib
%{_libdir}/libtag*.so
%{_libdir}/pkgconfig/taglib.pc
%changelog -n taglib
%changelog
* Wed Aug 08 2007 - crrodriguez@suse.de
- fix more issues:
- this package does NOT require libjpeg-devel for build
- after adding missing zlib-devel on BuildRequires in the
previous checkin, libtool archives causes bloat.
* Tue Aug 07 2007 - crrodriguez@suse.de
- run ldconfig instead of using deprecated macro
- move the docs to the devel packages
- use fdupes to avoid duplicate files
- run make check in the check section
* Fri Oct 20 2006 - dmueller@suse.de
- fix build with automake 1.10
* Tue Sep 12 2006 - dmueller@suse.de