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