]> git.pld-linux.org Git - packages/libexif.git/blob - libexif.spec
- added pl.po, release 2
[packages/libexif.git] / libexif.spec
1 Summary:        Library for parsing EXIF files from digital cameras
2 Summary(pl):    Biblioteka do czytania plików EXIF z kamer cyfrowych
3 Name:           libexif
4 Version:        0.6.12
5 Release:        2
6 Epoch:          1
7 License:        MIT
8 Group:          Libraries
9 Source0:        http://dl.sourceforge.net/libexif/%{name}-%{version}.tar.bz2
10 # Source0-md5:  9f952ee8db0be7c53a075c34e8286d91
11 Source1:        %{name}-pl.po
12 Patch0:         %{name}-gcc4.patch
13 URL:            http://libexif.sourceforge.net/
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake >= 1:1.8
16 BuildRequires:  gettext-devel >= 0.14.1
17 BuildRequires:  libtool
18 Obsoletes:      libexif7
19 Obsoletes:      libmnote
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Most digital cameras produce EXIF files, which are JPEG files with
24 extra tags that contain information about the image. The EXIF library
25 allows you to parse an EXIF file and read the data from those tags.
26
27 %description -l pl
28 Wiêkszo¶æ kamer cyfrowych tworzy pliki EXIF, które s± JPEGami z
29 dodatkowymi znacznikami zawieraj±cymi informacje o obrazie. Biblioteka
30 EXIF pozwala czytaæ informacje z tych znaczników.
31
32 %package devel
33 Summary:        Header files for libexif
34 Summary(pl):    Pliki nag³ówkowe dla libexif
35 Group:          Development/Libraries
36 Requires:       %{name} = %{epoch}:%{version}-%{release}
37 Obsoletes:      libexif7-devel
38 Obsoletes:      libmnote-devel
39
40 %description devel
41 Header files for libexif.
42
43 %description devel -l pl
44 Pliki nag³ówkowe dla libexif.
45
46 %package static
47 Summary:        Static version of libexif
48 Summary(pl):    Statyczna wersja libexif
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
51 Obsoletes:      libmnote-static
52
53 %description static
54 Static version of libexif.
55
56 %description static -l pl
57 Statyczna wersja libexif.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62
63 cp %{SOURCE1} po/pl.po
64 %{__perl} -pi -e 's/de es fr/de es fr pl/' configure.in
65 rm -f po/stamp-po
66
67 %build
68 %{__gettextize}
69 %{__libtoolize}
70 %{__aclocal} -I m4
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure
75
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 %find_lang %{name}-12
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %files -f %{name}-12.lang
93 %defattr(644,root,root,755)
94 %doc README ChangeLog
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_libdir}/lib*.la
101 %{_includedir}/%{name}
102 %{_pkgconfigdir}/*.pc
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/lib*.a
This page took 0.063409 seconds and 3 git commands to generate.