]> git.pld-linux.org Git - packages/gexiv2.git/blob - gexiv2.spec
823f40d002894dcb9292f2ab7cc1987010c4597d
[packages/gexiv2.git] / gexiv2.spec
1 # TODO:
2 # - Add bcond for vapi support and subpackage
3
4 Summary:        GObject-based wrapper around the  Exiv2 library
5 Name:           gexiv2
6 Version:        0.1.0
7 Release:        1
8 License:        GPL
9 Group:          Applications/Graphics
10 Source0:        http://yorba.org/download/%{name}/0.1/lib%{name}-%{version}.tar.bz2
11 # Source0-md5:  efae406dac86aa6db4cfb75569cbb3f9
12 URL:            http://libexif.sourceforge.net/
13 Patch0:         gexiv2-libtool.patch
14 BuildRequires:  exiv2-devel
15 BuildRequires:  pkgconfig
16 Requires:       exiv2-libs
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 gexiv2 is a GObject-based wrapper around the  Exiv2 library. It makes
21 the basic features of Exiv2 available to GNOME applications.
22
23 %package devel
24 Summary: GObject-based wrapper around the  Exiv2 library
25 Requires:       exiv2-devel
26 Group:  Development/Libraries
27
28 %description devel
29 gexiv2 development files
30
31 %package static
32 Summary: GObject-based wrapper around the  Exiv2 library
33 Requires:       exiv2-static
34 Group:  Development/Libraries
35
36 %description static
37 gexiv2 static library
38
39 %prep
40 %setup -q -n lib%{name}-%{version}
41 %patch0 -p0
42
43 %build
44 %{__libtoolize}
45 ./configure --prefix=%{_prefix}
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_libdir}/lib%{name}.so.*.*.*
61 %attr(755,root,root) %ghost %{_libdir}/lib%{name}.so.0
62 %attr(755,root,root) %{_libdir}/lib%{name}.so
63
64 %files devel
65 %defattr(644,root,root,755)
66 %{_libdir}/lib%{name}.la
67 %{_includedir}/%{name}
68 %{_pkgconfigdir}/%{name}.pc
69
70 %files static
71 %defattr(644,root,root,755)
72 %{_libdir}/lib%{name}.a
This page took 0.050088 seconds and 3 git commands to generate.