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

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