]> git.pld-linux.org Git - packages/taglib.git/blame - taglib.spec
- fixed License (LGPL or MPL)
[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
9bbf1f0a 7Version: 1.6
07efe132 8Release: 0.5
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
9bbf1f0a 12# Source0-md5: 5ecad0816e586a954bd676a86237d054
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
JB
56 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
57 -DCMAKE_VERBOSE_MAKEFILE=ON \
58 -DWITH_ASF=ON \
59 -DWITH_MP4=ON
60
09f517f6 61%{__make}
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
9ee83894 66%{__make} -C build install \
09f517f6 67 DESTDIR=$RPM_BUILD_ROOT
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post -p /sbin/ldconfig
73%postun -p /sbin/ldconfig
74
75%files
76%defattr(644,root,root,755)
09f517f6 77%attr(755,root,root) %{_libdir}/libtag.so.*.*.*
fb954ded 78%attr(755,root,root) %ghost %{_libdir}/libtag.so.?
f56130a1 79%attr(755,root,root) %{_libdir}/libtag_c.so.*.*.*
fb954ded 80%attr(755,root,root) %ghost %{_libdir}/libtag_c.so.?
09f517f6 81
82%files devel
d07dd10b 83%defattr(644,root,root,755)
09f517f6 84%attr(755,root,root) %{_bindir}/taglib-config
6da6ba3f 85%{_libdir}/libtag.so
86%{_libdir}/libtag_c.so
08f46e02 87%{_pkgconfigdir}/taglib.pc
fb954ded 88%{_pkgconfigdir}/taglib_c.pc
f56130a1 89%{_includedir}/taglib
This page took 0.149035 seconds and 4 git commands to generate.