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

Revision 975, 2.1 KB checked in by Takemikaduchi, 14 years ago (diff)

rebuild totem with libgdata, and NEW: libgdata, mousetweaks

Line 
1%define pkg_version 0.6.4
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 Emvironment/Libraries
12URL:            http://live.gnome.org/libgdata
13
14BuildRequires:  glib2-devel >= 2.19.0
15BuildRequires:  libsoup-devel >= 2.26.1
16BuildRequires:  libxml2-devel
17BuildRequires:  gobject-introspection-devel
18BuildRequires:  gir-repository-devel
19BuildRequires:  gtk-doc
20
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: Takemikaduchi
26
27
28%description
29libgdata is a GLib-based library for accessing online service APIs using the
30GData protocol - most notably, Google's services. It provides APIs to access
31the common Google services, and has full asynchronous support.
32
33
34%package        devel
35Summary:        Development files for libgdata
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       libsoup-devel >= 2.26.1
39Requires:       libxml2-devel
40
41%description    devel
42Development 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
68cd 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* Sun May 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-1
93- initial build for Vine Linux
94
Note: See TracBrowser for help on using the repository browser.