[8535] | 1 | %define pkg_version 0.14.3 |
---|
[2041] | 2 | %define pkg_release 1%{?_dist_release} |
---|
[975] | 3 | |
---|
| 4 | Summary: A library for accessing online service APIs using the GData protocol |
---|
| 5 | Summary(ja): GData プロトコルを使用しているオンラインサービス API にアクセスするためのライブラリ |
---|
| 6 | Name: libgdata |
---|
| 7 | Version: %{pkg_version} |
---|
| 8 | Release: %{pkg_release} |
---|
[7786] | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.14/%{name}-%{version}.tar.xz |
---|
[975] | 10 | License: LGPLv2+ |
---|
[1765] | 11 | Group: System Environment/Libraries |
---|
[975] | 12 | URL: http://live.gnome.org/libgdata |
---|
| 13 | |
---|
[2041] | 14 | BuildRequires: glib2-devel >= 2.26.0 |
---|
[4616] | 15 | BuildRequires: gdk-pixbuf2-devel |
---|
[2041] | 16 | BuildRequires: libsoup-devel >= 2.32.0 |
---|
[975] | 17 | BuildRequires: libxml2-devel |
---|
| 18 | BuildRequires: gobject-introspection-devel |
---|
[4616] | 19 | BuildRequires: liboauth-devel |
---|
[6890] | 20 | BuildRequires: gcr-devel |
---|
| 21 | BuildRequires: gnome-online-accounts-devel |
---|
[975] | 22 | BuildRequires: gtk-doc |
---|
[4616] | 23 | BuildRequires: gnome-common |
---|
[975] | 24 | |
---|
| 25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 26 | |
---|
| 27 | Vendor: Project Vine |
---|
| 28 | Distribution: Vine Linux |
---|
| 29 | Packager: Takemikaduchi |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | libgdata is a GLib-based library for accessing online service APIs using the |
---|
| 34 | GData protocol - most notably, Google's services. It provides APIs to access |
---|
| 35 | the common Google services, and has full asynchronous support. |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %package devel |
---|
| 39 | Summary: Development files for libgdata |
---|
| 40 | Group: Development/Libraries |
---|
| 41 | Requires: %{name} = %{version}-%{release} |
---|
| 42 | Requires: libsoup-devel >= 2.26.1 |
---|
| 43 | Requires: libxml2-devel |
---|
| 44 | |
---|
| 45 | %description devel |
---|
| 46 | Development files for libdata. |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %prep |
---|
| 50 | %setup -q |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %build |
---|
[4616] | 54 | autoreconf -if |
---|
[2041] | 55 | %configure --disable-static --enable-introspection=yes |
---|
[4616] | 56 | %{__make} V=0 %{?_smp_mflags} |
---|
[975] | 57 | |
---|
| 58 | |
---|
| 59 | %install |
---|
| 60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 61 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 62 | |
---|
| 63 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la |
---|
| 64 | |
---|
| 65 | %find_lang gdata |
---|
| 66 | |
---|
| 67 | %clean |
---|
| 68 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 69 | |
---|
| 70 | |
---|
[2041] | 71 | ##%check |
---|
[975] | 72 | # Only the general test can be run without network access |
---|
[2041] | 73 | ##cd gdata/tests |
---|
| 74 | ##./general |
---|
[975] | 75 | |
---|
| 76 | %post -p /sbin/ldconfig |
---|
| 77 | |
---|
| 78 | %postun -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | %files -f gdata.lang |
---|
| 82 | %defattr(-,root,root) |
---|
| 83 | %doc COPYING ChangeLog NEWS README |
---|
| 84 | %{_libdir}/libgdata.so.* |
---|
| 85 | %{_libdir}/girepository-1.0/GData-0.0.typelib |
---|
| 86 | %{_datadir}/gtk-doc/html/gdata |
---|
| 87 | |
---|
| 88 | %files devel |
---|
| 89 | %defattr(-,root,root,-) |
---|
| 90 | %{_includedir}/libgdata |
---|
| 91 | %{_libdir}/libgdata.so |
---|
| 92 | %{_libdir}/pkgconfig/libgdata.pc |
---|
[2041] | 93 | %{_datadir}/gir-1.0/GData-0.0.gir |
---|
[975] | 94 | |
---|
| 95 | |
---|
| 96 | %changelog |
---|
[8535] | 97 | * Sat Jun 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.3-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[8060] | 100 | * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.1-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[7786] | 103 | * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.0-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[7633] | 106 | * Sat Apr 20 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.3-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[6890] | 109 | * Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-1 |
---|
| 110 | - new upstream release |
---|
| 111 | - remove BuildRequires: libgnome-keyring-devel |
---|
| 112 | - add BuildRequires: gcr-devel, gnome-online-accounts-devel |
---|
| 113 | |
---|
[6011] | 114 | * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1 |
---|
| 115 | - new upstream release |
---|
| 116 | - add BuildRequires: libgnome-keyring-devel |
---|
| 117 | |
---|
[4784] | 118 | * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.10.1-1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
[4616] | 121 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1 |
---|
| 122 | - new upstream release |
---|
| 123 | - add BuildRequires: liboauth-devel, gdk-pixbuf2-devel |
---|
| 124 | |
---|
[2362] | 125 | * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.6-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[2041] | 128 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.5-1 |
---|
| 129 | - new upstream release |
---|
| 130 | - remove BuildRequires: gir-repository-devel |
---|
| 131 | - drop %check |
---|
| 132 | |
---|
[1897] | 133 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-3 |
---|
| 134 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 135 | |
---|
[1765] | 136 | * Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-2 |
---|
| 137 | - fixed Group typo |
---|
| 138 | |
---|
[975] | 139 | * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1 |
---|
| 140 | - initial build for Vine Linux |
---|
| 141 | |
---|