]> git.pld-linux.org Git - packages/taglib.git/blobdiff - taglib.spec
- update wrt. current cmake macro
[packages/taglib.git] / taglib.spec
index 58b3cff0cd2e91cc71e235d4e02c4bb63efda009..41f37c7cc947ea51efb8de8b6ca583d1ecd30744 100644 (file)
@@ -1,37 +1,37 @@
-# TODO:
-# - dangling patches
-# - optflags (CMAKE_BUILD_TYPE=Release overrides them)
 Summary:       A tag library for reading and editing audio meta data
 Summary(pl.UTF-8):     Biblioteka tag do odczytu i edycji metadanych dotyczących dźwięku
 Name:          taglib
-Version:       1.6.3
-Release:       2
+Version:       1.8
+Release:       1
 License:       LGPL v2.1 or MPL v1.1
-Group:         X11/Libraries
-Source0:       http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
-# Source0-md5: ddf02f4e1d2dc30f76734df806e613eb
-Patch0:                %{name}-libtool-sanitize.patch
-Patch1:                kde-ac260-lt.patch
-Patch2:                %{name}-am.patch
-URL:           http://ktown.kde.org/~wheeler/taglib.html
+Group:         Libraries
+Source0:       https://github.com/downloads/taglib/taglib/%{name}-%{version}.tar.gz
+# Source0-md5: dcb8bd1b756f2843e18b1fdf3aaeee15
+URL:           http://taglib.github.com/
 BuildRequires: cmake >= 2.6.2
 BuildRequires: libstdc++-devel
 BuildRequires: perl-base
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.603
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-A tag library needed for juk application which is part of
-kdemultimedia package.
+TagLib is a library for reading and editing the meta-data of several
+popular audio formats. Currently it supports both ID3v1 and ID3v2 for
+MP3 files, Ogg Vorbis comments and ID3 tags and Vorbis comments in
+FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 and ASF files.
 
 %description -l pl.UTF-8
-Biblioteka tag wykorzystywana przez program juk, będący częścią
-pakietu kdemultimedia.
+TagLib to biblioteka do odczytu i edycji metadanych kilku popularnych
+formatów dźwiękowych. Aktualnie obsługiwane są znaczniki ID3v1 i ID3v2
+w plikach MP3, komentarze Ogg Vorbis oraz znaczniki ID3 i komentarze
+Vorbis w plikach FLAC, MPC, Speex, WavPack TrueAudio, WAV, AIFF, MP4 i
+ASF.
 
 %package devel
 Summary:       libtag - header files
 Summary(pl.UTF-8):     libtag - pliki nagłówkowe
-Group:         X11/Development/Libraries
+Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      libstdc++-devel
 
@@ -42,16 +42,20 @@ Header files for tag library.
 Pliki nagłówkowe biblioteki tag.
 
 %package examples
-Summary:       Example codes
+Summary:       Example codes for taglib
 Summary(hu.UTF-8):     Példaprogramok
-Group:         X11/Development/Libraries
+Summary(pl.UTF-8):     Przykładowe programy w postaci źródłowej dla tagliba
+Group:         Development/Libraries
 
 %description examples
-Example codes.
+Example codes for taglib.
 
 %description examples -l hu.UTF-8
 Példaprogramok.
 
+%description examples -l pl.UTF-8
+Przykładowe programy w postaci źródłowej dla tagliba.
+
 %prep
 %setup -q
 
@@ -59,14 +63,6 @@ Példaprogramok.
 install -d build
 cd build
 %cmake .. \
-       -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-       -DLIB_INSTALL_DIR=%{_libdir} \
-%if "%{_lib}" == "lib64"
-       -DLIB_SUFFIX=64 \
-%endif
-       -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-       -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
-       -DCMAKE_VERBOSE_MAKEFILE=ON \
        -DWITH_ASF=ON \
        -DWITH_MP4=ON
 
@@ -89,16 +85,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS NEWS
 %attr(755,root,root) %{_libdir}/libtag.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtag.so.?
+%attr(755,root,root) %ghost %{_libdir}/libtag.so.1
 %attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libtag_c.so.?
+%attr(755,root,root) %ghost %{_libdir}/libtag_c.so.0
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/taglib-config
-%{_libdir}/libtag.so
-%{_libdir}/libtag_c.so
+%attr(755,root,root) %{_libdir}/libtag.so
+%attr(755,root,root) %{_libdir}/libtag_c.so
 %{_pkgconfigdir}/taglib.pc
 %{_pkgconfigdir}/taglib_c.pc
 %{_includedir}/taglib
This page took 0.070465 seconds and 4 git commands to generate.