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

Revision 7801, 3.6 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.11.1

Line 
1Name:    libkexiv2
2Summary: An Exiv2 wrapper library
3Summary(ja): Exiv2 ラッパーライブラリ
4Version: 4.11.1
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 Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
90- new upstream release
91
92* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
93- new upstream release
94
95* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
96- new upstream release
97
98* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
99- new upstream release
100
101* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
102- new upstream release
103
104* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
105- new upstream release
106
107* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
108- new upstream release
109
110* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-3
111- rebuild with exiv2-0.23
112
113* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-2
114- rebuild with exiv2-0.22
115
116* Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
117- new upstream release
118
119* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
120- new upstream release
121
122* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
123- Initial build for Vine Linux
124
125* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
126- 4.7.0
127
128* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
129- 4.6.95
130
131* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
132- fix URL
133
134* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
135- License: GPLv2+
136- fix Summary
137- %%doc: +ChangeLog NEWS
138- drop uneeded scriptlets
139- add %%check section
140
141* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
142- fix Source0 URL
143- Conflicts: kdegraphics < 7:4.6.90-10
144
145* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
146- first try
147
148
Note: See TracBrowser for help on using the repository browser.