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

Revision 10548, 4.2 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:    libkexiv2
2Summary: An Exiv2 wrapper library
3Summary(ja): Exiv2 ラッパーライブラリ
4Version: 4.14.3
5Release: 3%{?_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: kdelibs-devel >= %{version}
16BuildRequires: libXpm-devel
17
18Requires: kdelibs >= %{version}
19
20# when split occurred
21Conflicts: kdegraphics-libs < 4.6.95-10
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26%description
27Libkexiv2 is a wrapper around Exiv2 library to manipulate pictures
28metadata as EXIF/IPTC and XMP.
29
30%package devel
31Summary:  Development files for %{name}
32Summary(ja): %{name} の開発用ファイル
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
35Requires: kdelibs-devel
36
37%description devel
38%{summary}.
39
40
41%prep
42%setup -q
43
44
45%build
46mkdir -p %{_target_platform}
47pushd %{_target_platform}
48%cmake \
49    -DCMAKE_BUILD_TYPE=release \
50    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
51    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
52    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
53    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
54    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
55    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
56    ..
57popd
58
59make %{?_smp_mflags} -C %{_target_platform}
60
61
62%install
63rm -rf %{buildroot}
64
65make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
66
67
68%check
69export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
70pkg-config --modversion libkexiv2
71make -C %{_target_platform}/tests
72
73
74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
76
77
78%files
79%doc COPYING
80%doc AUTHORS ChangeLog NEWS README TODO
81%{_libdir}/libkexiv2.so.*
82%{_datadir}/kde4/apps/libkexiv2/
83
84%files devel
85%{_libdir}/libkexiv2.so
86%{_libdir}/pkgconfig/libkexiv2.pc
87%{_includedir}/kde4/libkexiv2/
88%{_libdir}/cmake/libkexiv2-2.3.2/*.cmake
89
90
91%changelog
92* Wed Jul 06 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-3
93- rebuild with gcc-5.4.0
94
95* Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
96- rebuild with exiv2-0.25
97
98* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
99- new upstream release
100
101* Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
102- new upstream release
103
104* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
105- new upstream release
106
107* Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
108- new upstream release
109
110* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
111- new upstream release
112
113* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
114- new upstream release
115
116* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
117- new upstream release
118
119* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
120- new upstream release
121
122* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
123- new upstream release
124
125* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
126- new upstream release
127
128* Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
129- new upstream release
130
131* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-3
132- rebuild with exiv2-0.23
133
134* Mon May 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.7.4-2
135- rebuild with exiv2-0.22
136
137* Sun Dec 18 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.4-1
138- new upstream release
139
140* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
141- new upstream release
142
143* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-2
144- Initial build for Vine Linux
145
146* Tue Jul 26 2011 Jaroslav Reznik <jreznik@redhat.com> 4.7.0-1
147- 4.7.0
148
149* Mon Jul 11 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.95-1
150- 4.6.95
151
152* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-4
153- fix URL
154
155* Sun Jul 10 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-3
156- License: GPLv2+
157- fix Summary
158- %%doc: +ChangeLog NEWS
159- drop uneeded scriptlets
160- add %%check section
161
162* Wed Jul 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.6.90-2
163- fix Source0 URL
164- Conflicts: kdegraphics < 7:4.6.90-10
165
166* Tue Jul 05 2011 Rex Dieter <rdieter@fedoraproject.org>  4.6.90-1
167- first try
168
169
Note: See TracBrowser for help on using the repository browser.