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

Revision 4616, 2.8 KB checked in by Takemikaduchi, 15 years ago (diff)

X.Org, compiz, GNOME3, etc...

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