1 | Name: libgexiv2 |
---|
2 | Version: 0.2.0 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library |
---|
5 | Summary(ja): Exiv2 ライブラリの GObject ベースのラッパー |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: GPLv2 |
---|
9 | URL: http://trac.yorba.org/wiki/gexiv2 |
---|
10 | Source0: http://yorba.org/download/gexiv2/0.0/unstable/%{name}-%{version}.tar.bz2 |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | |
---|
13 | BuildRequires: exiv2-devel >= 0.19 |
---|
14 | BuildRequires: expat-devel |
---|
15 | BuildRequires: gobject-introspection-devel |
---|
16 | BuildRequires: libtool |
---|
17 | |
---|
18 | %description |
---|
19 | libgexiv2 is a GObject-based wrapper around the Exiv2 library. |
---|
20 | It makes the basic features of Exiv2 available to GNOME applications. |
---|
21 | |
---|
22 | %description -l ja |
---|
23 | gexiv2 は Exiv2 ライブラリの GObject ベースのラッパーです。 |
---|
24 | Exiv2 の基本的な機能が GNOME アプリケーションで利用できるようになります。 |
---|
25 | |
---|
26 | %package devel |
---|
27 | Summary: Development files for %{name} |
---|
28 | Summary(ja): %{name} の開発ファイル |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: %{name} = %{version}-%{release} |
---|
31 | Requires: vala |
---|
32 | |
---|
33 | %description devel |
---|
34 | The %{name}-devel package contains libraries and header files for |
---|
35 | developing applications that use %{name}. |
---|
36 | |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | %build |
---|
42 | ## configure fails with the error: |
---|
43 | ## configure: Invalid argument --program-prefix= |
---|
44 | ## http://trac.yorba.org:8000/ticket/2001 |
---|
45 | |
---|
46 | echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp |
---|
47 | echo 'make %{?_smp_mflags}' >>build.tmp |
---|
48 | sh build.tmp |
---|
49 | |
---|
50 | %install |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} |
---|
53 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
54 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | |
---|
59 | |
---|
60 | %post -p /sbin/ldconfig |
---|
61 | |
---|
62 | %postun -p /sbin/ldconfig |
---|
63 | |
---|
64 | |
---|
65 | %files |
---|
66 | %defattr(-,root,root,-) |
---|
67 | %doc AUTHORS COPYING MAINTAINERS |
---|
68 | %{_libdir}/libgexiv2.so.* |
---|
69 | |
---|
70 | %files devel |
---|
71 | %defattr(-,root,root,-) |
---|
72 | %{_includedir}/gexiv2/ |
---|
73 | %{_libdir}/libgexiv2.so |
---|
74 | %{_libdir}/pkgconfig/gexiv2.pc |
---|
75 | %{_datadir}/vala/vapi/gexiv2.vapi |
---|
76 | |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1 |
---|
80 | - new upstream release |
---|
81 | |
---|
82 | * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1 |
---|
83 | - initial build for VineSeed |
---|
84 | |
---|
85 | * Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2 |
---|
86 | - changed file section so package owns the directory containing headers too |
---|
87 | |
---|
88 | * Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1 |
---|
89 | - updated to latest release |
---|
90 | - removed patch - it was included in this release |
---|
91 | |
---|
92 | * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5 |
---|
93 | - changed configure macro as per bug report comment |
---|
94 | |
---|
95 | * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4 |
---|
96 | - changed configure portion |
---|
97 | - added Requires: vala for devel |
---|
98 | - made the file section more precise |
---|
99 | - bugzilla #599097 |
---|
100 | - changed patch to include a default LIB setting |
---|
101 | |
---|
102 | * Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3 |
---|
103 | - patched makefile |
---|
104 | |
---|
105 | * Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2 |
---|
106 | - some fixes in spec |
---|
107 | - moved *.vapi to devel |
---|
108 | - removed INSTALL from doc |
---|
109 | - added comment to yorba ticket link |
---|
110 | - corrected typo in description |
---|
111 | |
---|
112 | * Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1 |
---|
113 | - initial rpmbuild |
---|