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

Revision 7294, 3.4 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.9.5

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