source: projects/specs/branches/6/lib/libg/libgdata/libgdata-vl.spec @ 2362

Revision 2362, 2.5 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

Line 
1%define pkg_version 0.6.6
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.6/%{name}-%{version}.tar.bz2
10License:        LGPLv2+
11Group:          System Environment/Libraries
12URL:            http://live.gnome.org/libgdata
13
14BuildRequires:  glib2-devel >= 2.26.0
15BuildRequires:  libsoup-devel >= 2.32.0
16BuildRequires:  libxml2-devel
17BuildRequires:  gobject-introspection-devel
18BuildRequires:  gtk-doc
19
20BuildRoot: %{_tmppath}/%{name}-%{version}-root
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: Takemikaduchi
25
26
27%description
28libgdata is a GLib-based library for accessing online service APIs using the
29GData protocol - most notably, Google's services. It provides APIs to access
30the common Google services, and has full asynchronous support.
31
32
33%package        devel
34Summary:        Development files for libgdata
35Group:          Development/Libraries
36Requires:       %{name} = %{version}-%{release}
37Requires:       libsoup-devel >= 2.26.1
38Requires:       libxml2-devel
39
40%description    devel
41Development 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
Note: See TracBrowser for help on using the repository browser.