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

Revision 4663, 4.1 KB checked in by inagaki, 13 years ago (diff)

update: exiv2, libgexiv2. fotoxx, printoxx, gthumb, gnome-commander, strigi, shotwell, ufraw

Line 
1Name:           libgexiv2
2Summary:        Gexiv2 is a GObject-based wrapper around the Exiv2 library
3Summary(ja):    Exiv2 ライブラリの GObject ベースのラッパー
4Version:        0.2.2
5Release:        2%{?_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
14Patch100: 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* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-2
89- rebuilt with exiv2-0.21.1
90- added Patch100
91
92* Sun Jan 9 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1
93- new upstream release
94
95* Fri Oct 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.1-1
96- new upstream release
97
98* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.0-3
99- rebuilt with rpm-4.8.1 for pkg-config
100
101* Sun Aug 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2
102- add Requires: exiv2-devel, glib2-devel (devel package)
103
104* Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1
105- new upstream release
106
107* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
108- initial build for VineSeed
109
110* Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
111- changed file section so package owns the directory containing headers too
112
113* Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
114- updated to latest release
115- removed patch - it was included in this release
116
117* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
118- changed configure macro as per bug report comment
119
120* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
121- changed configure portion
122- added Requires:  vala for devel
123- made the file section more precise
124- bugzilla #599097
125- changed patch to include a default LIB setting
126
127* Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
128- patched makefile
129
130* Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
131- some fixes in spec
132- moved *.vapi to devel
133- removed INSTALL from doc
134- added comment to yorba ticket link
135- corrected typo in description
136
137* Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
138- initial rpmbuild
Note: See TracBrowser for help on using the repository browser.