1 | Name: libgexiv2 |
---|
2 | Version: 0.2.0 |
---|
3 | Release: 2%{?_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 | Requires: exiv2-devel |
---|
33 | Requires: glib2-devel |
---|
34 | |
---|
35 | %description devel |
---|
36 | The %{name}-devel package contains libraries and header files for |
---|
37 | developing applications that use %{name}. |
---|
38 | |
---|
39 | |
---|
40 | %prep |
---|
41 | %setup -q |
---|
42 | |
---|
43 | %build |
---|
44 | ## configure fails with the error: |
---|
45 | ## configure: Invalid argument --program-prefix= |
---|
46 | ## http://trac.yorba.org:8000/ticket/2001 |
---|
47 | |
---|
48 | echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp |
---|
49 | echo 'make %{?_smp_mflags}' >>build.tmp |
---|
50 | sh build.tmp |
---|
51 | |
---|
52 | %install |
---|
53 | rm -rf $RPM_BUILD_ROOT |
---|
54 | make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} |
---|
55 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
56 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' |
---|
57 | |
---|
58 | %clean |
---|
59 | rm -rf $RPM_BUILD_ROOT |
---|
60 | |
---|
61 | |
---|
62 | %post -p /sbin/ldconfig |
---|
63 | |
---|
64 | %postun -p /sbin/ldconfig |
---|
65 | |
---|
66 | |
---|
67 | %files |
---|
68 | %defattr(-,root,root,-) |
---|
69 | %doc AUTHORS COPYING MAINTAINERS |
---|
70 | %{_libdir}/libgexiv2.so.* |
---|
71 | |
---|
72 | %files devel |
---|
73 | %defattr(-,root,root,-) |
---|
74 | %{_includedir}/gexiv2/ |
---|
75 | %{_libdir}/libgexiv2.so |
---|
76 | %{_libdir}/pkgconfig/gexiv2.pc |
---|
77 | %{_datadir}/vala/vapi/gexiv2.vapi |
---|
78 | |
---|
79 | |
---|
80 | %changelog |
---|
81 | * Sun Aug 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2 |
---|
82 | - add Requires: exiv2-devel, glib2-devel (devel package) |
---|
83 | |
---|
84 | * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1 |
---|
85 | - new upstream release |
---|
86 | |
---|
87 | * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1 |
---|
88 | - initial build for VineSeed |
---|
89 | |
---|
90 | * Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2 |
---|
91 | - changed file section so package owns the directory containing headers too |
---|
92 | |
---|
93 | * Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1 |
---|
94 | - updated to latest release |
---|
95 | - removed patch - it was included in this release |
---|
96 | |
---|
97 | * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5 |
---|
98 | - changed configure macro as per bug report comment |
---|
99 | |
---|
100 | * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4 |
---|
101 | - changed configure portion |
---|
102 | - added Requires: vala for devel |
---|
103 | - made the file section more precise |
---|
104 | - bugzilla #599097 |
---|
105 | - changed patch to include a default LIB setting |
---|
106 | |
---|
107 | * Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3 |
---|
108 | - patched makefile |
---|
109 | |
---|
110 | * Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2 |
---|
111 | - some fixes in spec |
---|
112 | - moved *.vapi to devel |
---|
113 | - removed INSTALL from doc |
---|
114 | - added comment to yorba ticket link |
---|
115 | - corrected typo in description |
---|
116 | |
---|
117 | * Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1 |
---|
118 | - initial rpmbuild |
---|