]> git.pld-linux.org Git - packages/taglib.git/blobdiff - taglib.spec
- fix problems with autoconf 2.60 which creates configure that runs in POSIX mode
[packages/taglib.git] / taglib.spec
index f5b853d6eafc3c15c16a9bb85e3e9b015bca745c..a616868729eb54bc64c5dee41ef2dc421624cae5 100644 (file)
@@ -1,17 +1,19 @@
-
-%define                _snap   031105
-
-Summary:       A tag library
-Summary(pl):   Biblioteka tag
+Summary:       A tag library for reading and editing audio meta data
+Summary(pl):   Biblioteka tag do odczytu i edycji metadanych dotycz±cych d¼wiêku
 Name:          taglib
-Version:       0.95.%{_snap}
-Release:       1
+Version:       1.4
+Release:       2
 License:       GPL
 Group:         X11/Libraries
-# From kdeextragear-2 kde cvs module
-Source0:       http://www.kernel.pl/~adgor/kde/%{name}-%{_snap}.tar.bz2
-# Source0-md5: 81cb7cdb95ed16b1045772dc05a34623
-BuildRequires: kdelibs-devel >= 9:3.1.93
+Source0:       http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
+# Source0-md5: dcd50ddb2544faeae77f194804559404
+Patch0:                %{name}-libtool-sanitize.patch
+URL:           http://ktown.kde.org/~wheeler/taglib.html
+BuildRequires: autoconf >= 2.52
+BuildRequires: automake >= 1.6
+BuildRequires: libstdc++-devel
+BuildRequires: perl-base
+#BuildRequires:        unsermake >= 040805-1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -19,7 +21,7 @@ A tag library needed for juk application which is part of
 kdemultimedia package.
 
 %description -l pl
-Biblioteka tag wykorzystywana przez program juk, bed±cego czê¶ci±
+Biblioteka tag wykorzystywana przez program juk, bêd±cy czê¶ci±
 pakietu kdemultimedia.
 
 %package devel
@@ -27,22 +29,29 @@ Summary:    libtag - header files
 Summary(pl):   libtag - pliki nag³ówkowe
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      libstdc++-devel
 
 %description devel
-A tag library - header files.
+Header files for tag library.
 
 %description devel -l pl
-Biblioteka tag - pliki nag³ówkowe.
+Pliki nag³ówkowe biblioteki tag.
 
 %prep
-%setup -q -n %{name}-%{_snap}
+%setup -q
+%patch0 -p1
 
 %build
+cp -f /usr/share/automake/config.* admin
+# unsermake is broken here (Makefile.calls not generated by configure)
+#export UNSERMAKE=/usr/share/unsermake/unsermake
+%{__perl} -pi -e 's/(automake\*1\.6\.\* \| automake\*1\.7\*)/automake*1.[6-9]*/' admin/cvs.sh
 %{__make} -f admin/Makefile.common cvs
 
 %configure \
        --disable-rpath \
-       --enable-final
+       --enable-final \
+       --with-qt-libraries=%{_libdir}
 
 %{__make}
 
@@ -61,10 +70,14 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
-%{_libdir}/libtag.la
+%attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/taglib-config
 %attr(755,root,root) %{_libdir}/libtag.so
+%attr(755,root,root) %{_libdir}/libtag_c.so
+%{_libdir}/libtag.la
+%{_libdir}/libtag_c.la
+%{_pkgconfigdir}/taglib.pc
 %{_includedir}/taglib
This page took 0.149132 seconds and 4 git commands to generate.