]> git.pld-linux.org Git - packages/exiv2.git/blame - exiv2.spec
- License: GPL v2
[packages/exiv2.git] / exiv2.spec
CommitLineData
2ed429b9 1#
2# Conditional build:
3%bcond_with tests # build with tests
4%bcond_without tests # build without tests
5#
6Summary: Exif and Iptc metadata manipulation tools
7Name: exiv2
8Version: 0.7
9Release: 0.1
43be3310 10License: GPL v2
2ed429b9 11Group: Applications
12Source0: http://home.arcor.de/ahuggel/exiv2/%{name}-%{version}.tar.gz
47500435 13# Source0-md5: 540e720b77c05ca50d5005a140e38138
2ed429b9 14URL: http://home.arcor.de/ahuggel/exiv2/
15BuildRequires: libstdc++-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Exif and Iptc metadata manipulation library and tools.
20
21%package libs
22Summary: Exif and Iptc metadata manipulation library
23Group: Libraries
24
25%description libs
26Exif and Iptc metadata manipulation library.
27
28%package devel
29Summary: Exif and Iptc metadata manipulation library development files
30Group: Development/Libraries
31Requires: %{name}-devel = %{epoch}:%{version}-%{release}
32
33%description devel
34Exif and Iptc metadata manipulation library development files.
35
36%package static
37Summary: Exif and Iptc metadata manipulation static library
38Group: Development/Libraries
39Requires: %{name}-devel = %{epoch}:%{version}-%{release}
40
41%description static
42Exif and Iptc metadata manipulation static library.
43
44%prep
45%setup -q
46
47%build
48%configure
49%{__make}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 incdir=$RPM_BUILD_ROOT%{_includedir}/exiv2 \
56 libdir=$RPM_BUILD_ROOT%{_libdir} \
57 bindir=$RPM_BUILD_ROOT%{_bindir} \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(644,root,root,755)
65%doc doc/ChangeLog README
66%attr(755,root,root) %{_bindir}/*
67
68%files libs
69%defattr(644,root,root,755)
70%attr(755,root,root) %{_libdir}/*so
71
72%files devel
73%defattr(644,root,root,755)
74%{_includedir}/%{name}
75%{_libdir}/*.la
76
77%files static
78%defattr(644,root,root,755)
79%{_libdir}/*.a
This page took 0.158542 seconds and 4 git commands to generate.