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

Revision 6725, 3.0 KB checked in by Takemikaduchi, 12 years ago (diff)

KDE-4.9.0

Line 
1Name:    libkexiv2
2Summary: An Exiv2 wrapper library
3Summary(ja): Exiv2 ラッパーライブラリ
4Version: 4.9.0
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.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: exiv2-devel >= 0.20
15BuildRequires: kdelibs4-devel >= %{version}
16BuildRequires: libXpm-devel
17
18Requires: kdelibs4 >= %{version}
19
20# when split occurred
21Conflicts: kdegraphics-libs < 4.6.95-10
22
23
24%description
25Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
26metadata as EXIF/IPTC and XMP.
27
28%package devel
29Summary:  Development files for %{name}
30Summary(ja): %{name} の開発用ファイル
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: kdelibs4-devel
34
35%description devel
36%{summary}.
37
38
39%prep
40%setup -q
41
42
43%build
44mkdir -p %{_target_platform}
45pushd %{_target_platform}
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.*
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 Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
90- new upstream release
91
92* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-3
93- rebuild with exiv2-0.23
94
95* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-2
96- rebuild with exiv2-0.22
97
98* Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
99- new upstream release
100
101* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
102- new upstream release
103
104* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
105- Initial build for Vine Linux
106
107* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
108- 4.7.0
109
110* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
111- 4.6.95
112
113* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
114- fix URL
115
116* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
117- License: GPLv2+
118- fix Summary
119- %%doc: +ChangeLog NEWS
120- drop uneeded scriptlets
121- add %%check section
122
123* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
124- fix Source0 URL
125- Conflicts: kdegraphics < 7:4.6.90-10
126
127* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
128- first try
129
130
Note: See TracBrowser for help on using the repository browser.