summaryrefslogtreecommitdiff
path: root/packaging/libexif.spec
blob: 3f9fb914f4d88bc861f76d5fd48cd46e4be9dcf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Name:           libexif
Version:        0.6.21
Release:        2
License:        LGPL-2.1
Summary:        An EXIF Tag Parsing Library for Digital Cameras
Url:            http://libexif.sourceforge.net
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
Source1:        baselibs.conf
Source1001: 	   libexif.manifest
Requires(post):  /sbin/ldconfig
Requires(postun):  /sbin/ldconfig

%define debug_package_requires %{name} = %{version}-%{release}

%description
This library is used to parse EXIF information from JPEGs created by
digital cameras.

%package devel
Summary:        An EXIF Tag Parsing Library for Digital Cameras (Development files)
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
This library is used to parse EXIF information from JPEGs created by
digital cameras.

%prep
%setup -q
cp %{SOURCE1001} .

%build
sh ./autogen.sh
%configure --with-pic \
	--disable-static \
	--disable-docs

make %{?jobs:-j%jobs}

%install
%make_install
#%find_lang %{name}-12

%post  -p /sbin/ldconfig

%postun  -p /sbin/ldconfig

#%files -f %{name}-12.lang
%files
%manifest %{name}.manifest
%license COPYING
%defattr(-,root,root)
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root)
%{_includedir}/libexif
%{_libdir}/*.so
%{_libdir}/pkgconfig/libexif.pc