1 | %define pkg_version 0.6.4 |
---|
2 | %define pkg_release 2%{?_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.6/%{name}-%{version}.tar.bz2 |
---|
10 | License: LGPLv2+ |
---|
11 | Group: System Environment/Libraries |
---|
12 | URL: http://live.gnome.org/libgdata |
---|
13 | |
---|
14 | BuildRequires: glib2-devel >= 2.19.0 |
---|
15 | BuildRequires: libsoup-devel >= 2.26.1 |
---|
16 | BuildRequires: libxml2-devel |
---|
17 | BuildRequires: gobject-introspection-devel |
---|
18 | BuildRequires: gir-repository-devel |
---|
19 | BuildRequires: gtk-doc |
---|
20 | |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | Packager: Takemikaduchi |
---|
26 | |
---|
27 | |
---|
28 | %description |
---|
29 | libgdata is a GLib-based library for accessing online service APIs using the |
---|
30 | GData protocol - most notably, Google's services. It provides APIs to access |
---|
31 | the common Google services, and has full asynchronous support. |
---|
32 | |
---|
33 | |
---|
34 | %package devel |
---|
35 | Summary: Development files for libgdata |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | Requires: libsoup-devel >= 2.26.1 |
---|
39 | Requires: libxml2-devel |
---|
40 | |
---|
41 | %description devel |
---|
42 | Development files for libdata. |
---|
43 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | |
---|
48 | |
---|
49 | %build |
---|
50 | %configure --disable-static |
---|
51 | %{__make} %{?_smp_mflags} |
---|
52 | |
---|
53 | |
---|
54 | %install |
---|
55 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
56 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_libdir}/*.la |
---|
59 | |
---|
60 | %find_lang gdata |
---|
61 | |
---|
62 | %clean |
---|
63 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
64 | |
---|
65 | |
---|
66 | %check |
---|
67 | # Only the general test can be run without network access |
---|
68 | cd gdata/tests |
---|
69 | ./general |
---|
70 | |
---|
71 | %post -p /sbin/ldconfig |
---|
72 | |
---|
73 | %postun -p /sbin/ldconfig |
---|
74 | |
---|
75 | |
---|
76 | %files -f gdata.lang |
---|
77 | %defattr(-,root,root) |
---|
78 | %doc COPYING ChangeLog NEWS README |
---|
79 | %{_libdir}/libgdata.so.* |
---|
80 | %{_libdir}/girepository-1.0/GData-0.0.typelib |
---|
81 | %{_datadir}/gir-1.0/GData-0.0.gir |
---|
82 | %{_datadir}/gtk-doc/html/gdata |
---|
83 | |
---|
84 | %files devel |
---|
85 | %defattr(-,root,root,-) |
---|
86 | %{_includedir}/libgdata |
---|
87 | %{_libdir}/libgdata.so |
---|
88 | %{_libdir}/pkgconfig/libgdata.pc |
---|
89 | |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Sat Sep 04 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-2 |
---|
93 | - fixed Group typo |
---|
94 | |
---|
95 | * Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1 |
---|
96 | - initial build for Vine Linux |
---|
97 | |
---|