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