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

Revision 1343, 3.2 KB checked in by kudoh, 14 years ago (diff)
Line 
1Name:           libgexiv2
2Version:        0.1.0
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
32
33%description    devel
34The %{name}-devel package contains libraries and header files for
35developing applications that use %{name}.
36
37
38%prep
39%setup -q
40
41%build
42## configure fails with the error:
43## configure: Invalid argument --program-prefix=
44## http://trac.yorba.org:8000/ticket/2001
45
46echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp
47echo 'make %{?_smp_mflags}' >>build.tmp
48sh build.tmp
49
50%install
51rm -rf $RPM_BUILD_ROOT
52make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib}
53find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
54find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
55 
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59
60%post -p /sbin/ldconfig
61
62%postun -p /sbin/ldconfig
63
64
65%files
66%defattr(-,root,root,-)
67%doc AUTHORS COPYING MAINTAINERS
68%{_libdir}/libgexiv2.so.*
69
70%files devel
71%defattr(-,root,root,-)
72%{_includedir}/gexiv2/
73%{_libdir}/libgexiv2.so
74%{_libdir}/pkgconfig/gexiv2.pc
75%{_datadir}/vala/vapi/gexiv2.vapi
76
77
78%changelog
79* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
80- initial build for VineSeed
81
82* Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
83- changed file section so package owns the directory containing headers too
84
85* Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
86- updated to latest release
87- removed patch - it was included in this release
88
89* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
90- changed configure macro as per bug report comment
91
92* Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
93- changed configure portion
94- added Requires:  vala for devel
95- made the file section more precise
96- bugzilla #599097
97- changed patch to include a default LIB setting
98
99* Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
100- patched makefile
101
102* Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
103- some fixes in spec
104- moved *.vapi to devel
105- removed INSTALL from doc
106- added comment to yorba ticket link
107- corrected typo in description
108
109* Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
110- initial rpmbuild
Note: See TracBrowser for help on using the repository browser.