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

Revision 6078, 4.0 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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