]>
Commit | Line | Data |
---|---|---|
2ed429b9 | 1 | Summary: Exif and Iptc metadata manipulation tools |
143cc00f | 2 | Summary(pl.UTF-8): Narzędzia do obróbki metadanych Exif i Iptc |
2ed429b9 | 3 | Name: exiv2 |
34addd32 | 4 | Version: 0.17.1 |
769b1cb6 | 5 | Release: 3 |
193c9aa0 | 6 | License: GPL v2+ |
2ed429b9 | 7 | Group: Applications |
7fda263c | 8 | Source0: http://www.exiv2.org/%{name}-%{version}.tar.gz |
34addd32 | 9 | # Source0-md5: 52a602f4f0d9e89b7084ac795b7547ac |
4ac2cd63 | 10 | Patch0: %{name}-mkinstalldirs.patch |
769b1cb6 | 11 | Patch1: %{name}-png_support.patch |
21ff7476 | 12 | URL: http://www.exiv2.org/ |
193c9aa0 JB |
13 | BuildRequires: autoconf >= 2.59 |
14 | BuildRequires: automake | |
f7ca868a | 15 | BuildRequires: gettext-devel |
2ed429b9 | 16 | BuildRequires: libstdc++-devel |
47a48176 | 17 | BuildRequires: libtool >= 2:2.0 |
193c9aa0 | 18 | BuildRequires: zlib-devel |
e630c462 | 19 | Requires: %{name}-libs = %{version}-%{release} |
2ed429b9 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
ebce9581 JB |
23 | Exif and Iptc metadata manipulation tools. |
24 | ||
d4ecc369 JR |
25 | %description -l pl.UTF-8 |
26 | Narzędzia do obróbki metadanych Exif i Iptc. | |
2ed429b9 | 27 | |
28 | %package libs | |
29 | Summary: Exif and Iptc metadata manipulation library | |
143cc00f | 30 | Summary(pl.UTF-8): Biblioteka do obróbki metadanych Exif i Iptc |
2ed429b9 | 31 | Group: Libraries |
32 | ||
33 | %description libs | |
34 | Exif and Iptc metadata manipulation library. | |
35 | ||
d4ecc369 JR |
36 | %description libs -l pl.UTF-8 |
37 | Biblioteka do obróbki metadanych Exif i Iptc. | |
ebce9581 | 38 | |
2ed429b9 | 39 | %package devel |
40 | Summary: Exif and Iptc metadata manipulation library development files | |
143cc00f | 41 | Summary(pl.UTF-8): Pliki programistyczne biblioteki do obróbki metadanych Exif i Iptc |
2ed429b9 | 42 | Group: Development/Libraries |
e630c462 JB |
43 | Requires: %{name}-libs = %{version}-%{release} |
44 | Requires: libstdc++-devel | |
193c9aa0 | 45 | Requires: zlib-devel |
2ed429b9 | 46 | |
47 | %description devel | |
48 | Exif and Iptc metadata manipulation library development files. | |
49 | ||
d4ecc369 JR |
50 | %description devel -l pl.UTF-8 |
51 | Pliki programistyczne biblioteki do obróbki metadanych Exif i Iptc. | |
ebce9581 | 52 | |
2ed429b9 | 53 | %package static |
54 | Summary: Exif and Iptc metadata manipulation static library | |
143cc00f | 55 | Summary(pl.UTF-8): Statyczna biblioteka do obróbki metadanych Exif i Iptc |
2ed429b9 | 56 | Group: Development/Libraries |
e630c462 | 57 | Requires: %{name}-devel = %{version}-%{release} |
2ed429b9 | 58 | |
59 | %description static | |
60 | Exif and Iptc metadata manipulation static library. | |
61 | ||
d4ecc369 JR |
62 | %description static -l pl.UTF-8 |
63 | Statyczna biblioteka do obróbki metadanych Exif i Iptc. | |
ebce9581 | 64 | |
2ed429b9 | 65 | %prep |
66 | %setup -q | |
4ac2cd63 | 67 | %patch0 -p0 |
769b1cb6 | 68 | %patch1 -p1 |
2ed429b9 | 69 | |
193c9aa0 JB |
70 | ln -s config/configure.ac . |
71 | ||
2ed429b9 | 72 | %build |
2c521f16 | 73 | %{__libtoolize} --install |
193c9aa0 JB |
74 | %{__aclocal} |
75 | %{__autoconf} | |
e4e253d9 | 76 | # don't touch autoheader, config.h.in has been manually modified |
2ed429b9 | 77 | %configure |
e4e253d9 | 78 | |
e630c462 JB |
79 | %{__make} \ |
80 | CFLAGS="%{rpmcflags} -Wall" \ | |
81 | CXXFLAGS="%{rpmcxxflags} -Wall" | |
2ed429b9 | 82 | |
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
7fda263c | 87 | incdir=%{_includedir}/exiv2 \ |
88 | libdir=%{_libdir} \ | |
89 | bindir=%{_bindir} \ | |
2ed429b9 | 90 | DESTDIR=$RPM_BUILD_ROOT |
91 | ||
99f68a7f RT |
92 | %find_lang %{name} |
93 | ||
2ed429b9 | 94 | %clean |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
99f68a7f | 97 | %files -f %{name}.lang |
2ed429b9 | 98 | %defattr(644,root,root,755) |
99 | %doc doc/ChangeLog README | |
50bae65e | 100 | %attr(755,root,root) %{_bindir}/%{name} |
0fc8fa4b | 101 | %{_mandir}/man1/exiv2.1* |
2ed429b9 | 102 | |
103 | %files libs | |
104 | %defattr(644,root,root,755) | |
4ac2cd63 | 105 | %attr(755,root,root) %{_libdir}/libexiv2.so.* |
2ed429b9 | 106 | |
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
e630c462 JB |
109 | %attr(755,root,root) %{_libdir}/libexiv2.so |
110 | %{_libdir}/libexiv2.la | |
ebce9581 | 111 | %{_includedir}/%{name} |
e4e253d9 | 112 | %{_pkgconfigdir}/exiv2.pc |
2ed429b9 | 113 | |
114 | %files static | |
115 | %defattr(644,root,root,755) | |
e630c462 | 116 | %{_libdir}/libexiv2.a |