source: projects/specs/branches/6/lib/libg/libgexiv2/libgexiv2-vl.spec @ 2462

Revision 2462, 3.8 KB checked in by kudoh, 13 years ago (diff)
Line 
1Name:           libgexiv2
2Version:        0.2.2
3Release:        1%{?_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* Sun Jan 9 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1
82- new upstream release
83
84* Fri Oct 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.1-1
85- new upstream release
86
87* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.0-3
88- rebuilt with rpm-4.8.1 for pkg-config
89
90* Sun Aug 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2
91- add Requires: exiv2-devel, glib2-devel (devel package)
92
93* Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1
94- new upstream release
95
96* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
97- initial build for VineSeed
98
99* Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
100- changed file section so package owns the directory containing headers too
101
102* Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
103- updated to latest release
104- removed patch - it was included in this release
105
106* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
107- changed configure macro as per bug report comment
108
109* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
110- changed configure portion
111- added Requires:  vala for devel
112- made the file section more precise
113- bugzilla #599097
114- changed patch to include a default LIB setting
115
116* Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
117- patched makefile
118
119* Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
120- some fixes in spec
121- moved *.vapi to devel
122- removed INSTALL from doc
123- added comment to yorba ticket link
124- corrected typo in description
125
126* Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
127- initial rpmbuild
Note: See TracBrowser for help on using the repository browser.