]> git.pld-linux.org Git - packages/exiv2.git/blob - exiv2.spec
- 0.11, does not build:
[packages/exiv2.git] / exiv2.spec
1 Summary:        Exif and Iptc metadata manipulation tools
2 Summary(pl):    Narzêdzia do obróbki metadanych Exif i Iptc
3 Name:           exiv2
4 Version:        0.11
5 Release:        0.1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://www.exiv2.org/%{name}-%{version}.tar.gz
9 # Source0-md5:  269ce822946c56549d086f0c08dffc79
10 URL:            http://www.exiv2.org/
11 BuildRequires:  libstdc++-devel
12 BuildRequires:  sed
13 Requires:       %{name}-libs = %{version}-%{release}
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Exif and Iptc metadata manipulation tools.
18
19 %description -l pl
20 Narzêdzia do obróbki metadanych Exif i Iptc.
21
22 %package libs
23 Summary:        Exif and Iptc metadata manipulation library
24 Summary(pl):    Biblioteka do obróbki metadanych Exif i Iptc
25 Group:          Libraries
26
27 %description libs
28 Exif and Iptc metadata manipulation library.
29
30 %description libs -l pl
31 Biblioteka do obróbki metadanych Exif i Iptc.
32
33 %package devel
34 Summary:        Exif and Iptc metadata manipulation library development files
35 Summary(pl):    Pliki programistyczne biblioteki do obróbki metadanych Exif i Iptc
36 Group:          Development/Libraries
37 Requires:       %{name}-libs = %{version}-%{release}
38 Requires:       libstdc++-devel
39
40 %description devel
41 Exif and Iptc metadata manipulation library development files.
42
43 %description devel -l pl
44 Pliki programistyczne biblioteki do obróbki metadanych Exif i Iptc.
45
46 %package static
47 Summary:        Exif and Iptc metadata manipulation static library
48 Summary(pl):    Statyczna biblioteka do obróbki metadanych Exif i Iptc
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 Exif and Iptc metadata manipulation static library.
54
55 %description static -l pl
56 Statyczna biblioteka do obróbki metadanych Exif i Iptc.
57
58 %prep
59 %setup -q
60
61 %build
62 %configure
63 %{__make} \
64         CFLAGS="%{rpmcflags} -Wall" \
65         CXXFLAGS="%{rpmcxxflags} -Wall"
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         incdir=%{_includedir}/exiv2 \
72         libdir=%{_libdir} \
73         bindir=%{_bindir} \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc doc/ChangeLog README
82 %attr(755,root,root) %{_bindir}/*
83 %{_mandir}/man1/*
84
85 %files libs
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libexiv2-*.so
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libexiv2.so
92 %{_libdir}/libexiv2.la
93 %{_includedir}/%{name}
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/libexiv2.a
This page took 0.360739 seconds and 3 git commands to generate.