source: projects/specs/trunk/lib/libg/libgdata/libgdata-vl.spec @ 6011

Revision 6011, 3.1 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1%define pkg_version 0.12.0
2%define pkg_release 1%{?_dist_release}
3
4Summary:        A library for accessing online service APIs using the GData protocol
5Summary(ja):    GData プロトコルを使用しているオンラインサービス API にアクセスするためのライブラリ
6Name:           libgdata
7Version:        %{pkg_version}
8Release:        %{pkg_release}
9Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.12/%{name}-%{version}.tar.xz
10License:        LGPLv2+
11Group:          System Environment/Libraries
12URL:            http://live.gnome.org/libgdata
13
14BuildRequires:  glib2-devel >= 2.26.0
15BuildRequires:  gdk-pixbuf2-devel
16BuildRequires:  libsoup-devel >= 2.32.0
17BuildRequires:  libxml2-devel
18BuildRequires:  gobject-introspection-devel
19BuildRequires:  liboauth-devel
20BuildRequires:  libgnome-keyring-devel
21BuildRequires:  gtk-doc
22BuildRequires:  gnome-common
23
24BuildRoot: %{_tmppath}/%{name}-%{version}-root
25
26Vendor: Project Vine
27Distribution: Vine Linux
28Packager: Takemikaduchi
29
30
31%description
32libgdata is a GLib-based library for accessing online service APIs using the
33GData protocol - most notably, Google's services. It provides APIs to access
34the common Google services, and has full asynchronous support.
35
36
37%package        devel
38Summary:        Development files for libgdata
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41Requires:       libsoup-devel >= 2.26.1
42Requires:       libxml2-devel
43
44%description    devel
45Development files for libdata.
46
47
48%prep
49%setup -q
50
51
52%build
53autoreconf -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
Note: See TracBrowser for help on using the repository browser.