]> git.pld-linux.org Git - SPECS.git/blob - libkexif.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / libkexif.spec
1 Summary:        KDE EXIF Data Handling Library 
2 Summary(pl.UTF-8):      Biblioteka obsługi danych z exif w KDE
3 Name:           libkexif
4 Version:        0.2.5
5 Release:        4
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/kipi/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a2b933b80deabe57d8515583236ae6ff
10 Patch0:         kde-ac260-lt.patch
11 URL:            http://extragear.kde.org/apps/kipi/
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake >= 1.6.1
14 BuildRequires:  gettext-tools
15 BuildRequires:  kdelibs-devel >= 9:3.2.0
16 BuildRequires:  libexif-devel >= 0.6.9
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpmbuild(macros) >= 1.164
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Libkexif is a library for manipulating EXIF information embedded in
23 images. It currently supports viewing of all EXIF information via
24 libexif. It also supports the modification of a few attributes in a
25 safe way that preserves all other EXIF information in the file.
26
27 %description -l pl.UTF-8
28 Libkexif to biblioteka do manipulacji danymi EXIF zawartymi w
29 obrazach. Aktualnie wspiera podgląd wszystkich informacji poprzez
30 libexif oraz modyfikację kilku atrybutów przy zachowaniu niezmienności
31 pozostałych.
32
33 %package devel
34 Summary:        Header files for libkexif development
35 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających libkexif
36 Group:          Development/Libraries
37 Requires:       %{name} = %{epoch}:%{version}-%{release}
38 Requires:       kdelibs-devel >= 9:3.2.0
39 Requires:       libexif-devel >= 0.6.9
40
41 %description devel
42 Header files for libkexif  development.
43
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe dla programistów używających libkexif.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50
51 %build
52 cp -f %{_datadir}/automake/config.sub admin
53 %{__make} -f admin/Makefile.common cvs
54
55 %configure \
56         --disable-rpath \
57         --enable-final \
58         --with-qt-libraries=%{_libdir}
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT \
67         kde_htmldir=%{_kdedocdir} \
68         kde_libs_htmldir=%{_kdedocdir}
69
70 %find_lang %{name}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog README
81 %attr(755,root,root) %{_libdir}/libkexif.so.*.*.*
82 %attr(755,root,root) %ghost %{_libdir}/libkexif.so.1
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/libkexif.so
87 %{_libdir}/libkexif.la
88 %{_includedir}/libkexif
89 %{_pkgconfigdir}/libkexif.pc
This page took 0.455682 seconds and 3 git commands to generate.