1 | Name: libkexiv2 |
---|
2 | Summary: An Exiv2 wrapper library |
---|
3 | Summary(ja): Exiv2 ラッパーライブラリ |
---|
4 | Version: 4.7.4 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2+ |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2 |
---|
10 | |
---|
11 | Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: exiv2-devel >= 0.20 |
---|
15 | BuildRequires: kdelibs4-devel >= %{version} |
---|
16 | BuildRequires: libXpm-devel |
---|
17 | Requires: kdelibs4 >= 4.7.0 |
---|
18 | |
---|
19 | # when split occurred |
---|
20 | Conflicts: kdegraphics-libs < 4.6.95-10 |
---|
21 | |
---|
22 | |
---|
23 | %description |
---|
24 | Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures |
---|
25 | metadata as EXIF/IPTC and XMP. |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Development files for %{name} |
---|
29 | Summary(ja): %{name} の開発用ファイル |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | Requires: kdelibs4-devel |
---|
33 | |
---|
34 | %description devel |
---|
35 | %{summary}. |
---|
36 | |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | |
---|
42 | %build |
---|
43 | mkdir -p %{_target_platform} |
---|
44 | pushd %{_target_platform} |
---|
45 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
46 | %cmake \ |
---|
47 | -DCMAKE_BUILD_TYPE=release \ |
---|
48 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
49 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
50 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
51 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
52 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
53 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
54 | .. |
---|
55 | popd |
---|
56 | |
---|
57 | make %{?_smp_mflags} -C %{_target_platform} |
---|
58 | |
---|
59 | |
---|
60 | %install |
---|
61 | rm -rf %{buildroot} |
---|
62 | |
---|
63 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
64 | |
---|
65 | |
---|
66 | %check |
---|
67 | export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig |
---|
68 | pkg-config --modversion libkexiv2 |
---|
69 | make -C %{_target_platform}/test |
---|
70 | |
---|
71 | |
---|
72 | %post -p /sbin/ldconfig |
---|
73 | %postun -p /sbin/ldconfig |
---|
74 | |
---|
75 | |
---|
76 | %files |
---|
77 | %doc COPYING |
---|
78 | %doc AUTHORS ChangeLog NEWS README TODO |
---|
79 | %{_libdir}/libkexiv2.so.10* |
---|
80 | %{_datadir}/kde4/apps/libkexiv2/ |
---|
81 | |
---|
82 | %files devel |
---|
83 | %{_libdir}/libkexiv2.so |
---|
84 | %{_libdir}/pkgconfig/libkexiv2.pc |
---|
85 | %{_includedir}/kde4/libkexiv2/ |
---|
86 | |
---|
87 | |
---|
88 | %changelog |
---|
89 | * Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1 |
---|
90 | - new upstream release |
---|
91 | |
---|
92 | * Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2 |
---|
96 | - Initial build for Vine Linux |
---|
97 | |
---|
98 | * Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1 |
---|
99 | - 4.7.0 |
---|
100 | |
---|
101 | * Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1 |
---|
102 | - 4.6.95 |
---|
103 | |
---|
104 | * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4 |
---|
105 | - fix URL |
---|
106 | |
---|
107 | * Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3 |
---|
108 | - License: GPLv2+ |
---|
109 | - fix Summary |
---|
110 | - %%doc: +ChangeLog NEWS |
---|
111 | - drop uneeded scriptlets |
---|
112 | - add %%check section |
---|
113 | |
---|
114 | * Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2 |
---|
115 | - fix Source0 URL |
---|
116 | - Conflicts: kdegraphics < 7:4.6.90-10 |
---|
117 | |
---|
118 | * Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-1 |
---|
119 | - first try |
---|
120 | |
---|
121 | |
---|