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