]> git.pld-linux.org Git - packages/libexif.git/blob - libexif.spec
- Release 2 to workaround bug in rpm.
[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.5.3
5 Release:        2
6 Epoch:          1
7 License:        MIT
8 Group:          Libraries
9 Source0:        http://prdownloads.sourceforge.net/libexif/%{name}-%{version}.tar.bz2
10 URL:            http://libexif.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Obsoletes:      libexif7
16
17 %description
18 Most digital cameras produce EXIF files, which are JPEG files with extra
19 tags that contain information about the image. The EXIF library allows
20 you to parse an EXIF file and read the data from those tags.
21
22 %description -l pl
23 Wiêkszo¶æ kamer cyfrowych tworzy pliki EXIF, które s± JPEGami z
24 dodatkowymi znacznikami zawieraj±cymi informacje o obrazie. Biblioteka
25 EXIF pozwala czytaæ informacje z tych znaczników.
26
27 %package devel
28 Summary:        Header files for libexif
29 Summary(pl):    Pliki nag³ówkowe dla libexif
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}
32 Obsoletes:      libexif7-devel
33
34 %description devel
35 Header files for libexif.
36
37 %description devel -l pl
38 Pliki nag³ówkowe dla libexif.
39
40 %package static
41 Summary:        Static version of libexif
42 Summary(pl):    Statyczna wersja libexif
43 Group:          Development/Libraries
44 Requires:       %{name} = %{version}
45
46 %description static
47 Static version of libexif.
48
49 %description static -l pl
50 Statyczna wersja libexif.
51
52 %prep
53 %setup -q
54
55 %build
56 rm -f missing
57 %{__libtoolize}
58 aclocal
59 %{__autoconf}
60 %{__automake}
61 %configure
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install DESTDIR=$RPM_BUILD_ROOT
69
70 %find_lang %{name}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc README ChangeLog
81 %attr(755,root,root) %{_libdir}/*.so.*.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/*.la
86 %attr(755,root,root) %{_libdir}/*.so
87 %{_includedir}/%{name}
88 %{_pkgconfigdir}/*
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/*.a
This page took 0.089248 seconds and 3 git commands to generate.