1 | %define pkg_version 0.17.9 |
---|
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 | |
---|
32 | |
---|
33 | %description |
---|
34 | libgdata is a GLib-based library for accessing online service APIs using the |
---|
35 | GData protocol - most notably, Google's services. It provides APIs to access |
---|
36 | the common Google services, and has full asynchronous support. |
---|
37 | |
---|
38 | |
---|
39 | %package devel |
---|
40 | Summary: Development files for libgdata |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | Requires: libsoup-devel >= 2.26.1 |
---|
44 | Requires: libxml2-devel |
---|
45 | |
---|
46 | %description devel |
---|
47 | Development files for libdata. |
---|
48 | |
---|
49 | |
---|
50 | %prep |
---|
51 | %setup -q |
---|
52 | |
---|
53 | |
---|
54 | %build |
---|
55 | autoreconf -if |
---|
56 | %configure --disable-static --enable-introspection=yes |
---|
57 | %{__make} V=0 %{?_smp_mflags} |
---|
58 | |
---|
59 | |
---|
60 | %install |
---|
61 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
62 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
63 | |
---|
64 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la |
---|
65 | |
---|
66 | %find_lang gdata |
---|
67 | |
---|
68 | %clean |
---|
69 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
70 | |
---|
71 | |
---|
72 | ##%check |
---|
73 | # Only the general test can be run without network access |
---|
74 | ##cd gdata/tests |
---|
75 | ##./general |
---|
76 | |
---|
77 | %post -p /sbin/ldconfig |
---|
78 | |
---|
79 | %postun -p /sbin/ldconfig |
---|
80 | |
---|
81 | |
---|
82 | %files -f gdata.lang |
---|
83 | %defattr(-,root,root) |
---|
84 | %license COPYING |
---|
85 | %doc 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 | * Sat Dec 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.17.9-1 |
---|
100 | - new upstream release. |
---|
101 | |
---|
102 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.1-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.16.0-1 |
---|
106 | - new upstream release |
---|
107 | - add BuildRequires: json-glib-devel, uhttpmock-devel |
---|
108 | |
---|
109 | * Sat Jun 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.3-1 |
---|
110 | - new upstream release |
---|
111 | |
---|
112 | * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.1-1 |
---|
113 | - new upstream release |
---|
114 | |
---|
115 | * Sat Aug 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14.0-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Sat Apr 20 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.3-1 |
---|
119 | - new upstream release |
---|
120 | |
---|
121 | * Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13.2-1 |
---|
122 | - new upstream release |
---|
123 | - remove BuildRequires: libgnome-keyring-devel |
---|
124 | - add BuildRequires: gcr-devel, gnome-online-accounts-devel |
---|
125 | |
---|
126 | * Sun Apr 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.0-1 |
---|
127 | - new upstream release |
---|
128 | - add BuildRequires: libgnome-keyring-devel |
---|
129 | |
---|
130 | * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.10.1-1 |
---|
131 | - new upstream release |
---|
132 | |
---|
133 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.1-1 |
---|
134 | - new upstream release |
---|
135 | - add BuildRequires: liboauth-devel, gdk-pixbuf2-devel |
---|
136 | |
---|
137 | * Sat Dec 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.6-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.5-1 |
---|
141 | - new upstream release |
---|
142 | - remove BuildRequires: gir-repository-devel |
---|
143 | - drop %check |
---|
144 | |
---|
145 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-3 |
---|
146 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
147 | |
---|
148 | * Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-2 |
---|
149 | - fixed Group typo |
---|
150 | |
---|
151 | * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1 |
---|
152 | - initial build for Vine Linux |
---|
153 | |
---|