]> git.pld-linux.org Git - packages/taglib.git/blame - taglib.spec
- up to 1.6.3
[packages/taglib.git] / taglib.spec
CommitLineData
f6c1c82d
JB
1# TODO:
2# - dangling patches
3# - optflags (CMAKE_BUILD_TYPE=Release overrides them)
97bc134e 4Summary: A tag library for reading and editing audio meta data
3ef1ce87 5Summary(pl.UTF-8): Biblioteka tag do odczytu i edycji metadanych dotyczących dźwięku
09f517f6 6Name: taglib
7473cad5 7Version: 1.6.3
83111c7b 8Release: 1
f6c1c82d 9License: LGPL v2.1 or MPL v1.1
09f517f6 10Group: X11/Libraries
f56130a1 11Source0: http://ktown.kde.org/~wheeler/files/src/%{name}-%{version}.tar.gz
7473cad5 12# Source0-md5: ddf02f4e1d2dc30f76734df806e613eb
23366593 13Patch0: %{name}-libtool-sanitize.patch
82ab4e3e 14Patch1: kde-ac260-lt.patch
4c13dbaf 15Patch2: taglib-am.patch
f56130a1 16URL: http://ktown.kde.org/~wheeler/taglib.html
9ee83894 17BuildRequires: cmake >= 2.6.2
4aa1b00d 18BuildRequires: libstdc++-devel
f416622e 19BuildRequires: perl-base
fb954ded 20BuildRequires: pkgconfig
09f517f6 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
d07dd10b
JB
24A tag library needed for juk application which is part of
25kdemultimedia package.
09f517f6 26
b747209f
JR
27%description -l pl.UTF-8
28Biblioteka tag wykorzystywana przez program juk, będący częścią
d07dd10b 29pakietu kdemultimedia.
09f517f6 30
31%package devel
32Summary: libtag - header files
3ef1ce87 33Summary(pl.UTF-8): libtag - pliki nagłówkowe
09f517f6 34Group: X11/Development/Libraries
35Requires: %{name} = %{version}-%{release}
23366593 36Requires: libstdc++-devel
09f517f6 37
38%description devel
23366593 39Header files for tag library.
09f517f6 40
b747209f
JR
41%description devel -l pl.UTF-8
42Pliki nagłówkowe biblioteki tag.
09f517f6 43
44%prep
f56130a1 45%setup -q
09f517f6 46
47%build
9ee83894
BZ
48install -d build
49cd build
f6c1c82d 50%cmake .. \
9ee83894
BZ
51 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
52 -DLIB_INSTALL_DIR=%{_libdir} \
9ee83894
BZ
53%if "%{_lib}" == "lib64"
54 -DLIB_SUFFIX=64 \
55%endif
f6c1c82d 56 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
41d5f09a 57 -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \
f6c1c82d
JB
58 -DCMAKE_VERBOSE_MAKEFILE=ON \
59 -DWITH_ASF=ON \
60 -DWITH_MP4=ON
61
09f517f6 62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
9ee83894 67%{__make} -C build install \
09f517f6 68 DESTDIR=$RPM_BUILD_ROOT
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
76%files
77%defattr(644,root,root,755)
09f517f6 78%attr(755,root,root) %{_libdir}/libtag.so.*.*.*
fb954ded 79%attr(755,root,root) %ghost %{_libdir}/libtag.so.?
f56130a1 80%attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
fb954ded 81%attr(755,root,root) %ghost %{_libdir}/libtag_c.so.?
09f517f6 82
83%files devel
d07dd10b 84%defattr(644,root,root,755)
09f517f6 85%attr(755,root,root) %{_bindir}/taglib-config
6da6ba3f 86%{_libdir}/libtag.so
87%{_libdir}/libtag_c.so
08f46e02 88%{_pkgconfigdir}/taglib.pc
fb954ded 89%{_pkgconfigdir}/taglib_c.pc
f56130a1 90%{_includedir}/taglib
This page took 0.06683 seconds and 4 git commands to generate.