]> git.pld-linux.org Git - packages/exiv2.git/blob - exiv2.spec
0b4a453ad9af1d1c8c9d4e8354d619b9d4ad84e6
[packages/exiv2.git] / exiv2.spec
1 #
2 # Conditional build:
3 %bcond_with     tests           # build with tests
4 %bcond_without  tests           # build without tests
5 #
6 Summary:        Exif and Iptc metadata manipulation tools
7 Name:           exiv2
8 Version:        0.7
9 Release:        0.1
10 License:        - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
11 Group:          Applications
12 Source0:        http://home.arcor.de/ahuggel/exiv2/%{name}-%{version}.tar.gz
13 # Source0-md5:  540e720b77c05ca50d5005a140e38138
14 URL:            http://home.arcor.de/ahuggel/exiv2/
15 BuildRequires:  libstdc++-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Exif and Iptc metadata manipulation library and tools.
20
21 %package libs
22 Summary:        Exif and Iptc metadata manipulation library
23 Group:          Libraries
24
25 %description libs
26 Exif and Iptc metadata manipulation library.
27
28 %package devel
29 Summary:        Exif and Iptc metadata manipulation library development files
30 Group:          Development/Libraries
31 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
32
33 %description devel
34 Exif and Iptc metadata manipulation library development files.
35
36 %package static
37 Summary:        Exif and Iptc metadata manipulation static library
38 Group:          Development/Libraries
39 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
40
41 %description static
42 Exif and Iptc metadata manipulation static library.
43
44 %prep
45 %setup -q
46
47 %build
48 %configure
49 %{__make}
50
51 %install
52 rm -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
61 rm -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.048851 seconds and 2 git commands to generate.