source: projects/specs/trunk/e/exiv2/exiv2-vl.spec @ 12499

Revision 12499, 6.8 KB checked in by tomop, 3 years ago (diff)

updated 9 packages

LibRaw?-0.20.0-2

exiv2-0.27.3-1

firefox-78.3.0-1

gnuplot-5.4.0-2

lksctp-tools-1.0.18-1

libjpeg-turbo-2.0.5-1

libxml2-2.9.10-5

rust-1.46.0-1

unzip-6.0-8

Line 
1%define _unpackaged_files_terminate_build 1
2
3Name: exiv2
4Summary: Exif and IPTC metadata manipulation library
5Summary(ja): Exif, IPTC メタデータ操作ライブラリ
6Version: 0.27.3
7Release: 1%{?_dist_release}
8Group: system
9Vendor: Project Vine
10Distribution: Vine Linux
11
12License: GPLv2
13URL: https://www.exiv2.org/
14Source0: https://www.exiv2.org/builds/exiv2-%{version}-Source.tar.gz
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: cmake
18BuildRequires: expat-devel
19BuildRequires: gettext
20BuildRequires: pkgconfig
21BuildRequires: curl-devel
22BuildRequires: libssh-devel
23BuildRequires: zlib-devel
24
25Obsoletes: libexiv2 <= 0.13
26Provides:  libexiv2 = %{version}-%{release}
27
28%description
29Exiv2 comprises of a C++ library and a command line utility to access image metadata. Exiv2 supports full read and write access to the Exif and Iptc metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd and so on.
30The command line utility allows you to:
31
32* print the Exif metadata of Jpeg images as summary info, interpreted values,
33or the plain data for each tag (here is a sample)
34* print the IPTC metadata of Jpeg images
35* print the Jpeg comment of Jpeg images
36* set, add and delete Exif and Iptc metadata of Jpeg images
37* adjust the Exif timestamp (that's how it all started...)
38* rename Exif image files according to the Exif timestamp
39* extract, insert and delete Exif metadata, IPTC metadata and Jpeg comments
40* extract, insert and delete the thumbnail image embedded in the Exif metadata
41
42%description -l ja
43Exiv2 は、イメージメタデータにアクセスするための C++ ライブラリと
44コマンドラインユーティリティにより構成されています.Exiv2 は Exif,
45IPTC メタデータの完全な読込み及び書込みアクセス,Exif MakerNote,
46Exif サムネイルを抽出/削除するためのメソッド,Ifd 等にアクセスする
47ためのクラス等をサポートします.
48
49コマンドラインユーティリティにより、次のようなことができます:
50
51* JPEG イメージの EXIF メタデータを各タグごとに表示する
52* JPEG イメージの IPTC メタデータを表示する
53* JPEG イメージのコメントを表示する
54* JPEG イメージに EXIF 情報や IPTC メタデータを設定/追加/削除する
55* EXIF タイムスタンプを調整する
56* EXIF タイムスタンプに基づいて EXIF イメージファイルをリネームする
57* EXIF メタデータ,IPTC メタデータ,JPEG コメントを抽出/挿入/削除する
58* EXIF メタデータ中のサムネイルイメージを抽出/挿入/削除する
59
60
61#'
62%package devel
63Summary: Header files, libraries and development documentation for exiv2
64Summary(ja): exiv2 の開発用ファイル
65Group: programming
66Requires: %{name} = %{version}-%{release}
67Obsoletes: libexiv2-devel <= 0.13
68Provides: libexiv2-devel = %{version}-%{release}
69
70%description devel
71Header files, libraries and development documentation for exiv2
72
73%description -l ja devel
74exiv2 用ヘッダファイル,ライブラリ,開発用ドキュメントです.
75
76
77%debug_package
78
79
80%prep
81%setup -q -n %{name}-%{version}-Source
82
83
84%build
85%cmake \
86  -DEXIV2_ENABLE_NLS:BOOL=ON \
87  -DEXIV2_BUILD_PO:BOOL=ON \
88  -DEXIV2_BUILD_SAMPLES:BOOL=OFF \
89  -DEXIV2_ENABLE_LIBXMP:BOOL=ON \
90  .
91
92make %{?_smp_mflags}
93
94
95%install
96rm -rf $RPM_BUILD_ROOT
97
98make install/fast DESTDIR=%{buildroot}
99
100%find_lang exiv2 --with-man
101
102## unpackaged files
103rm -fv %{buildroot}%{_libdir}/libexiv2.la
104rm -fv %{buildroot}%{_libdir}/libxmp.a
105rm -fv %{buildroot}%{_libdir}/pkgconfig//exiv2.lsm
106
107# set eXecute bit on installed lib
108chmod a+x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
109
110## FIXME/TODO: patch installed exiv2-config to instead pull values from pkgconfig
111
112
113%clean
114rm -rf $RPM_BUILD_ROOT
115
116
117%post -p /sbin/ldconfig
118%postun -p /sbin/ldconfig
119
120
121%files -f %{name}.lang
122%defattr(-,root,root,-)
123%license COPYING*
124%doc README*
125%{_bindir}/exiv2
126%{_libdir}/lib*.so.*
127%{_mandir}/man1/*
128
129%files devel
130%defattr(-,root,root,-)
131#doc doc/index.html doc/include
132#{_bindir}/exiv2-config
133%{_includedir}/exiv2/*
134%{_libdir}/libexiv2.so
135%{_libdir}/*.a
136%{_libdir}/pkgconfig/exiv2.pc
137%dir %{_libdir}/cmake
138%{_libdir}/cmake/*
139#{_datadir}/exiv2
140
141
142%changelog
143* Sat Sep 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.27.3-1
144- new upstream release.
145
146* Fri Nov 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.27.2-1
147- new upstream release.
148
149* Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.27-1
150- new upstream release.
151- dropprd all patches.
152
153* Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.25-2
154- rebuilt with new toolchain.
155
156* Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25-1
157- new upstream release
158
159* Tue Dec 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.24-1
160- new upstream release
161- add Patch3 (exiv2-0.24-visibility.patch)
162
163* Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23-1
164- new upstream release
165
166* Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22-1
167- new upstream release
168
169* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.21.1-1
170- new upstream release
171- updated Patch3
172
173* Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-2
174- rebuilt with rpm-4.8.1 for pkg-config
175
176* Wed May  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-1
177- new upstream release
178- updated Patch3
179
180* Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.2-1
181- new upstream release
182- updated Japanese description
183
184* Fri May  1 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.18.1-2
185- add Patch3 not to use -fvisibility-inlines-hidden
186  (this will also fix build failure on ppc)
187  http://dev.exiv2.org/issues/show/627
188
189* Sun Apr 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.1-1
190- new upstream release
191
192* Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17.1-1vl5
193- new upstream release
194
195* Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 0.15-1vl5
196- applied new versioning policy, spec in utf-8
197
198* Wed Dec 26 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.15-0vl4
199- add patch100 for fix CVE-2007-6353 ("setDataArea()" Integer OF)
200
201* Sat Aug 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-0vl3
202- add Obsoletes: libexiv2 <= 0.13 , libexiv2-devel <= 0.13
203  to upgrade from 0.13-0vl[12]
204  * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13-0vl2
205  - rebuild with new environment/toolchain
206  * Fri Mar 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13-0vl1
207  - initial build for Vine Linux
208 
209* Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl2
210- rebuilt for VineSeed
211
212* Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl1
213- new upstream release
214- remove Requires: kdelibs-devel at devel package
215
216* Fri Jan 5 2007 TOSHI <vine-jp@mail.goo.ne.jp> 0.12-0vl1
217- build for vine 4.0
218
219* Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
220- exiv2-0.12
221# end of file
222
Note: See TracBrowser for help on using the repository browser.