source: projects/specs/branches/6/e/exiv2/exiv2-vl.spec @ 1912

Revision 1912, 5.6 KB checked in by inagaki, 14 years ago (diff)

updated: OpenEXR, openal, exiv2, flac, namazu

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