source: projects/specs/trunk/lib/libk/libkexiv2/libkexiv2-vl.spec @ 5298

Revision 5298, 2.8 KB checked in by inagaki, 12 years ago (diff)

update: libkexiv2, libkdcraw, libkipi, libksane, okular

Line 
1Name:    libkexiv2
2Summary: An Exiv2 wrapper library
3Summary(ja): Exiv2 ラッパーライブラリ
4Version: 4.7.4
5Release: 1%{?_dist_release}
6
7License: GPLv2+
8Group:   System Environment/Libraries
9URL:     https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2
10
11Source0: ftp://ftp.kde.org/pub/kde/unstable/%{version}/src/%{name}-%{version}.tar.bz2
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: exiv2-devel >= 0.20
15BuildRequires: kdelibs4-devel >= %{version}
16BuildRequires: libXpm-devel
17Requires: kdelibs4 >= 4.7.0
18
19# when split occurred
20Conflicts: kdegraphics-libs < 4.6.95-10
21
22
23%description
24Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
25metadata as EXIF/IPTC and XMP.
26
27%package devel
28Summary:  Development files for %{name}
29Summary(ja): %{name} の開発用ファイル
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Requires: kdelibs4-devel
33
34%description devel
35%{summary}.
36
37
38%prep
39%setup -q
40
41
42%build
43mkdir -p %{_target_platform}
44pushd %{_target_platform}
45unset 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    ..
55popd
56
57make %{?_smp_mflags} -C %{_target_platform}
58
59
60%install
61rm -rf %{buildroot}
62
63make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
64
65
66%check
67export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
68pkg-config --modversion libkexiv2
69make -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
Note: See TracBrowser for help on using the repository browser.