[1343] | 1 | Name: libgexiv2 |
---|
| 2 | Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library |
---|
| 3 | Summary(ja): Exiv2 ライブラリの GObject ベースのラッパー |
---|
[6098] | 4 | Version: 0.2.2 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
[1343] | 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: GPLv2 |
---|
| 9 | URL: http://trac.yorba.org/wiki/gexiv2 |
---|
[4663] | 10 | |
---|
[6093] | 11 | Source0: http://yorba.org/download/gexiv2/0.0/unstable/%{name}-%{version}.tar.bz2 |
---|
| 12 | ## upstream patches |
---|
| 13 | # see http://trac.yorba.org/ticket/2899 |
---|
[6098] | 14 | Patch100: http://trac.yorba.org/raw-attachment/ticket/2899/gexiv2-0.2.1-exiv2-0.21.patch |
---|
[4663] | 15 | |
---|
[1343] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | BuildRequires: exiv2-devel >= 0.19 |
---|
| 19 | BuildRequires: expat-devel |
---|
| 20 | BuildRequires: gobject-introspection-devel |
---|
| 21 | BuildRequires: libtool |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | libgexiv2 is a GObject-based wrapper around the Exiv2 library. |
---|
| 25 | It makes the basic features of Exiv2 available to GNOME applications. |
---|
| 26 | |
---|
| 27 | %description -l ja |
---|
| 28 | gexiv2 は Exiv2 ライブラリの GObject ベースのラッパーです。 |
---|
| 29 | Exiv2 の基本的な機能が GNOME アプリケーションで利用できるようになります。 |
---|
| 30 | |
---|
| 31 | %package devel |
---|
| 32 | Summary: Development files for %{name} |
---|
| 33 | Summary(ja): %{name} の開発ファイル |
---|
| 34 | Group: Development/Libraries |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | Requires: vala |
---|
[1638] | 37 | Requires: exiv2-devel |
---|
| 38 | Requires: glib2-devel |
---|
[1343] | 39 | |
---|
| 40 | %description devel |
---|
| 41 | The %{name}-devel package contains libraries and header files for |
---|
| 42 | developing applications that use %{name}. |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %prep |
---|
| 46 | %setup -q |
---|
| 47 | |
---|
[6098] | 48 | %patch100 -p1 -b .exiv2_0_21 |
---|
[6093] | 49 | |
---|
[1343] | 50 | %build |
---|
| 51 | ## configure fails with the error: |
---|
| 52 | ## configure: Invalid argument --program-prefix= |
---|
| 53 | ## http://trac.yorba.org:8000/ticket/2001 |
---|
| 54 | |
---|
| 55 | echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp |
---|
| 56 | echo 'make %{?_smp_mflags}' >>build.tmp |
---|
| 57 | sh build.tmp |
---|
| 58 | |
---|
| 59 | %install |
---|
| 60 | rm -rf $RPM_BUILD_ROOT |
---|
| 61 | make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib} |
---|
| 62 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 63 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -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 |
---|
[4663] | 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 | |
---|
[2462] | 92 | * Sun Jan 9 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
[2149] | 95 | * Fri Oct 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.1-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[1935] | 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 | |
---|
[1638] | 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 | |
---|
[1628] | 104 | * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[1343] | 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 |
---|