]> git.pld-linux.org Git - SPECS.git/blob - kde4-libkexiv2.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / kde4-libkexiv2.spec
1 %define         _state          stable
2 %define         orgname         libkexiv2
3 Summary:        libkexiv2 - picture metadata manipulation library
4 Summary(pl.UTF-8):      libkexiv2 - biblioteka do obróbki metadanych obrazków
5 Name:           kde4-libkexiv2
6 Version:        4.14.3
7 Release:        7
8 License:        GPL v2+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
11 # Source0-md5:  ba361677df71f5946a3f0b0bcace01a8
12 Patch0:         exiv2-0.27.patch
13 URL:            http://www.kde.org/
14 BuildRequires:  exiv2-devel >= 0.20
15 BuildRequires:  kde4-kdelibs-devel
16 BuildRequires:  pkgconfig >= 1:0.9.0
17 Requires:       exiv2-libs >= 0.20
18 Obsoletes:      kde4-kdegraphics
19 Obsoletes:      libkexiv2 <= 4.8.0
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Libkexiv2 is a KDE wrapper around Exiv2 library to manipulate pictures
24 metadata. This library is used by kipi-plugins, digiKam and others
25 kipi host programs.
26
27 %description -l pl.UTF-8
28 libkexiv2 to obudowanie KDE biblioteki Exiv2 do obróbki metadanych
29 obrazków. Ta biblioteka jest wykorzystywana przez pakiety
30 kipi-plugins, digiKam i inne programy oparte na kiki.
31
32 %package devel
33 Summary:        Header files for libkexiv2 library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libkexiv2
35 Group:          X11/Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       exiv2-devel >= 0.20
38 Obsoletes:      kde4-kdegraphics-devel < 4.6.99
39 Obsoletes:      libkexiv2-devel <= 4.8.0
40
41 %description devel
42 Header files for libkexiv2 library.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe biblioteki libkexiv2.
46
47 %prep
48 %setup -q -n %{orgname}-%{version}
49 %patch0 -p1
50
51 %build
52 install -d build
53 cd build
54 %cmake \
55         ../ \
56         -DEXIV2_VERSION:STRING="0.27"
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} -C build/ install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         kde_htmldir=%{_kdedocdir}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog NEWS README
76 %attr(755,root,root) %{_libdir}/libkexiv2.so.*.*.*
77 %attr(755,root,root) %ghost %{_libdir}/libkexiv2.so.11
78 %{_datadir}/apps/libkexiv2
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libkexiv2.so
83 %{_includedir}/libkexiv2
84 %{_pkgconfigdir}/libkexiv2.pc
85 %{_libdir}/cmake/libkexiv2*
This page took 0.432754 seconds and 3 git commands to generate.