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