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