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