source: projects/specs/trunk/lib/libg/libgexiv2/libgexiv2-vl.spec @ 1935

Revision 1935, 3.6 KB checked in by owa, 14 years ago (diff)

rebuilt with rpm-4.8.1

Line 
1Name:           libgexiv2
2Version:        0.2.0
3Release:        3%{?_dist_release}
4Summary:        Gexiv2 is a GObject-based wrapper around the Exiv2 library
5Summary(ja):    Exiv2 ライブラリの GObject ベースのラッパー
6
7Group:          System Environment/Libraries
8License:        GPLv2
9URL:            http://trac.yorba.org/wiki/gexiv2
10Source0:        http://yorba.org/download/gexiv2/0.0/unstable/%{name}-%{version}.tar.bz2
11BuildRoot:      %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires:  exiv2-devel >= 0.19
14BuildRequires:  expat-devel
15BuildRequires:  gobject-introspection-devel
16BuildRequires:  libtool
17
18%description
19libgexiv2 is a GObject-based wrapper around the Exiv2 library.
20It makes the basic features of Exiv2 available to GNOME applications.
21
22%description -l ja
23gexiv2 は Exiv2 ライブラリの GObject ベースのラッパーです。
24Exiv2 の基本的な機能が GNOME アプリケーションで利用できるようになります。
25
26%package        devel
27Summary:        Development files for %{name}
28Summary(ja):    %{name} の開発ファイル
29Group:          Development/Libraries
30Requires:       %{name} = %{version}-%{release}
31Requires:       vala
32Requires:       exiv2-devel
33Requires:       glib2-devel
34
35%description    devel
36The %{name}-devel package contains libraries and header files for
37developing 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
48echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp
49echo 'make %{?_smp_mflags}' >>build.tmp
50sh build.tmp
51
52%install
53rm -rf $RPM_BUILD_ROOT
54make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib}
55find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
56find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
57 
58%clean
59rm -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* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.0-3
82- rebuilt with rpm-4.8.1 for pkg-config
83
84* Sun Aug 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2
85- add Requires: exiv2-devel, glib2-devel (devel package)
86
87* Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1
88- new upstream release
89
90* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
91- initial build for VineSeed
92
93* Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
94- changed file section so package owns the directory containing headers too
95
96* Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
97- updated to latest release
98- removed patch - it was included in this release
99
100* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
101- changed configure macro as per bug report comment
102
103* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
104- changed configure portion
105- added Requires:  vala for devel
106- made the file section more precise
107- bugzilla #599097
108- changed patch to include a default LIB setting
109
110* Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
111- patched makefile
112
113* Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
114- some fixes in spec
115- moved *.vapi to devel
116- removed INSTALL from doc
117- added comment to yorba ticket link
118- corrected typo in description
119
120* Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
121- initial rpmbuild
Note: See TracBrowser for help on using the repository browser.