- release 6 (by relup.sh)
[packages/kde4-kfilemetadata.git] / kde4-kfilemetadata.spec
CommitLineData
1f7c4190
JB
1%define _state stable
2%define orgname kfilemetadata
3%define qt_ver 4.8.3
717189f8
AM
4
5Summary: A library for extracting file metadata
1f7c4190 6Summary(pl.UTF-8): Biblioteka do wydobywania metadanych plików
717189f8 7Name: kde4-kfilemetadata
6cffc796 8Version: 4.14.3
107b0d07 9Release: 6
1f7c4190 10License: LGPL v2.1 or LGPL v3
717189f8 11Group: X11/Applications
aff8c81d 12Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
6cffc796 13# Source0-md5: 2e7143fd470bf84ac05475871119d9eb
1f7c4190
JB
14URL: http://www.kde.org/
15BuildRequires: QtCore-devel >= %{qt_ver}
4c96493b 16BuildRequires: ebook-tools-devel
1f7c4190
JB
17BuildRequires: exiv2-devel >= 0.21
18BuildRequires: ffmpeg-devel >= 1.0
19BuildRequires: kde4-kdegraphics-mobipocket-devel >= %{version}
717189f8
AM
20BuildRequires: kde4-kdelibs-devel >= %{version}
21BuildRequires: pkgconfig
1f7c4190 22BuildRequires: poppler-qt4-devel >= 0.12.1
4c96493b 23BuildRequires: taglib-devel
1f7c4190
JB
24Requires: exiv2-libs >= 0.21
25Requires: ffmpeg-libs >= 1.0
26Requires: kde4-kdelibs >= %{version}
27Requires: poppler-qt4 >= 0.12.1
717189f8
AM
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31A library for extracting file metadata.
32
1f7c4190
JB
33%description -l pl.UTF-8
34Biblioteka do wydobywania metadanych plików.
35
717189f8 36%package devel
1f7c4190
JB
37Summary: Developer files for KFileMetaData library
38Summary(pl.UTF-8): Pliki programistyczne biblioteki KFileMetaData
717189f8
AM
39Group: X11/Development/Libraries
40Requires: %{name} = %{version}-%{release}
1f7c4190
JB
41Requires: QtCore-devel >= %{qt_ver}
42Requires: kde4-kdelibs-devel >= %{version}
717189f8
AM
43
44%description devel
1f7c4190
JB
45KFileMetaData development files.
46
47%description devel -l pl.UTF-8
48Pliki programistyczne biblioteki KFileMetaData.
717189f8
AM
49
50%prep
51%setup -q -n %{orgname}-%{version}
52
53%build
54install -d build
55cd build
56%cmake \
1f7c4190
JB
57 -DHTML_INSTALL_DIR=%{_kdedocdir} \
58 -DKDE_DISTRIBUTION_TEXT="PLD-Linux" \
59 -DKDE4_ENABLE_FINAL=OFF \
60 ../
717189f8
AM
61
62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67%{__make} -C build install \
68 DESTDIR=$RPM_BUILD_ROOT
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
1f7c4190
JB
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
717189f8
AM
75
76%files
77%defattr(644,root,root,755)
78%attr(755,root,root) %{_libdir}/libkfilemetadata.so.*.*.*
1f7c4190 79%attr(755,root,root) %ghost %{_libdir}/libkfilemetadata.so.4
717189f8
AM
80%attr(755,root,root) %{_libdir}/kde4/kfilemetadata_*.so
81%{_datadir}/kde4/services/kfilemetadata_*.desktop
82%{_datadir}/kde4/servicetypes/kfilemetadata*.desktop
83
84%files devel
85%defattr(644,root,root,755)
86%{_includedir}/kfilemetadata
87%attr(755,root,root) %{_libdir}/libkfilemetadata.so
88%{_libdir}/cmake/KFileMetaData
This page took 0.324253 seconds and 4 git commands to generate.