]>
Commit | Line | Data |
---|---|---|
0b1b03da | 1 | Summary: GData access library |
0d038768 | 2 | Summary(pl.UTF-8): Biblioteka dostępu poprzez protokół GData |
0b1b03da | 3 | Name: libgdata |
e71d70e0 | 4 | Version: 0.17.9 |
622eae29 | 5 | Release: 1 |
0d038768 | 6 | License: LGPL v2.1+ |
0b1b03da | 7 | Group: Libraries |
8c0eaea0 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.17/%{name}-%{version}.tar.xz |
e71d70e0 JB |
9 | # Source0-md5: cd41fec52a0f0ba999eb60025e0ac806 |
10 | URL: https://wiki.gnome.org/action/show/Projects/libgdata | |
56a93ab8 | 11 | BuildRequires: autoconf >= 2.65 |
81470efb | 12 | BuildRequires: automake >= 1:1.9 |
0d038768 | 13 | BuildRequires: gcr-devel >= 3 |
622eae29 | 14 | # for tests only |
56a93ab8 | 15 | BuildRequires: gdk-pixbuf2-devel >= 2.14 |
3e60e1fa | 16 | BuildRequires: gettext-tools >= 0.17 |
e71d70e0 | 17 | BuildRequires: glib2-devel >= 1:2.44.0 |
0fe30610 | 18 | BuildRequires: gnome-common >= 3.6.0 |
117d3cba | 19 | BuildRequires: gnome-online-accounts-devel >= 3.8 |
5db7e936 | 20 | BuildRequires: gobject-introspection-devel >= 0.9.7 |
0d038768 | 21 | BuildRequires: gtk+3-devel >= 3.0 |
841294e3 | 22 | BuildRequires: gtk-doc >= 1.25 |
81470efb | 23 | BuildRequires: intltool >= 0.40.0 |
117d3cba | 24 | BuildRequires: json-glib-devel >= 0.15 |
4ad3d0d4 | 25 | BuildRequires: liboauth-devel >= 0.9.4 |
841294e3 | 26 | BuildRequires: libsoup-devel >= 2.56.0 |
0d038768 | 27 | BuildRequires: libtool >= 2:2 |
0b1b03da PZ |
28 | BuildRequires: libxml2-devel >= 1:2.6.26 |
29 | BuildRequires: pkgconfig | |
8e6be9ea | 30 | BuildRequires: tar >= 1:1.22 |
8c0eaea0 | 31 | BuildRequires: uhttpmock-devel >= 0.5.0 |
e71d70e0 | 32 | BuildRequires: vala |
f195f3d5 | 33 | BuildRequires: vala-gnome-online-accounts |
8e6be9ea | 34 | BuildRequires: xz |
e71d70e0 | 35 | Requires: glib2 >= 1:2.44.0 |
117d3cba JB |
36 | Requires: gnome-online-accounts-libs >= 3.8 |
37 | Requires: json-glib >= 0.15 | |
0d038768 | 38 | Requires: liboauth >= 0.9.4 |
841294e3 | 39 | Requires: libsoup >= 2.56.0 |
0b1b03da PZ |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41 | ||
42 | %description | |
81470efb MB |
43 | libgdata is a GLib-based library for accessing online service APIs |
44 | using the GData protocol - most notably, Google's services. It | |
45 | provides APIs to access the common Google services, and has full | |
46 | asynchronous support. | |
0b1b03da | 47 | |
0d038768 JB |
48 | %description -l pl.UTF-8 |
49 | libgdata to oparta na GLibie biblioteka służąca do dostępu do API | |
50 | serwisów sieciowych przy użyciu protokołu GData - głównie serwisów | |
51 | firmy Google. Biblioteka udostępnia API do popularnych serwisów Google | |
52 | i ma pełną obsługę komunikacji asynchronicznej. | |
53 | ||
0b1b03da | 54 | %package devel |
0d038768 JB |
55 | Summary: Header files for libgdata library |
56 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libgdata | |
0b1b03da PZ |
57 | Group: Development/Libraries |
58 | Requires: %{name} = %{version}-%{release} | |
0d038768 | 59 | Requires: gcr-devel >= 3 |
e71d70e0 | 60 | Requires: glib2-devel >= 1:2.44.0 |
117d3cba JB |
61 | Requires: gnome-online-accounts-devel >= 3.8 |
62 | Requires: json-glib-devel >= 0.15 | |
0d038768 | 63 | Requires: liboauth-devel >= 0.9.4 |
841294e3 | 64 | Requires: libsoup-devel >= 2.56.0 |
0b1b03da PZ |
65 | Requires: libxml2-devel >= 1:2.6.26 |
66 | ||
67 | %description devel | |
0d038768 | 68 | Header files and support files necessary to compile applications using |
0b1b03da PZ |
69 | libgdata. |
70 | ||
0d038768 JB |
71 | %description devel -l pl.UTF-8 |
72 | Pliki nagłówkowe oraz pomocnicze potrzebne do kompilowania aplikacji | |
73 | wykorzystujących bibliotekę libgdata. | |
74 | ||
0b1b03da | 75 | %package static |
0d038768 JB |
76 | Summary: libgdata static library |
77 | Summary(pl.UTF-8): Statyczna biblioteka libgdata | |
0b1b03da PZ |
78 | Group: Development/Libraries |
79 | Requires: %{name}-devel = %{version}-%{release} | |
80 | ||
81 | %description static | |
0d038768 JB |
82 | This package contains static libgdata library. |
83 | ||
84 | %description static -l pl.UTF-8 | |
85 | Ten pakiet zawiera statyczną bibliotekę libgdata. | |
0b1b03da PZ |
86 | |
87 | %package apidocs | |
88 | Summary: libgdata API documentation | |
0d038768 | 89 | Summary(pl.UTF-8): Dokumentacja API biblioteki libgdata |
0b1b03da PZ |
90 | Group: Documentation |
91 | Requires: gtk-doc-common | |
f9cfe021 ER |
92 | %if "%{_rpmversion}" >= "5" |
93 | BuildArch: noarch | |
94 | %endif | |
0b1b03da PZ |
95 | |
96 | %description apidocs | |
97 | libgdata API documentation. | |
98 | ||
0d038768 JB |
99 | %description apidocs -l pl.UTF-8 |
100 | Dokumentacja API biblioteki libgdata. | |
101 | ||
e82d74a8 MB |
102 | %package -n vala-libgdata |
103 | Summary: libgdata API for Vala language | |
104 | Summary(pl.UTF-8): API libgdata dla języka Vala | |
105 | Group: Development/Libraries | |
106 | Requires: %{name}-devel = %{version}-%{release} | |
107 | Requires: vala >= 2:0.16 | |
66f4b62c ER |
108 | %if "%{_rpmversion}" >= "5" |
109 | BuildArch: noarch | |
110 | %endif | |
e82d74a8 MB |
111 | |
112 | %description -n vala-libgdata | |
113 | libgdata API for Vala language. | |
114 | ||
115 | %description -n vala-libgdata -l pl.UTF-8 | |
116 | API libgdata dla języka Vala. | |
117 | ||
0b1b03da PZ |
118 | %prep |
119 | %setup -q | |
120 | ||
121 | %build | |
122 | %{__gtkdocize} | |
123 | %{__libtoolize} | |
124 | %{__aclocal} | |
125 | %{__autoconf} | |
126 | %{__autoheader} | |
127 | %{__automake} | |
128 | %configure \ | |
81470efb | 129 | --enable-gtk-doc \ |
51d2c41d MB |
130 | --with-html-dir=%{_gtkdocdir} \ |
131 | --disable-silent-rules | |
0b1b03da PZ |
132 | %{__make} |
133 | ||
134 | %install | |
135 | rm -rf $RPM_BUILD_ROOT | |
136 | ||
137 | %{__make} install \ | |
138 | DESTDIR=$RPM_BUILD_ROOT | |
139 | ||
56a93ab8 | 140 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgdata.la |
141 | ||
0b1b03da PZ |
142 | %find_lang gdata |
143 | ||
144 | %clean | |
145 | rm -rf $RPM_BUILD_ROOT | |
146 | ||
147 | %post -p /sbin/ldconfig | |
148 | %postun -p /sbin/ldconfig | |
149 | ||
150 | %files -f gdata.lang | |
151 | %defattr(644,root,root,755) | |
0d038768 | 152 | %doc AUTHORS ChangeLog NEWS README |
0b1b03da | 153 | %attr(755,root,root) %{_libdir}/libgdata.so.*.*.* |
8c0eaea0 | 154 | %attr(755,root,root) %ghost %{_libdir}/libgdata.so.22 |
81470efb | 155 | %{_libdir}/girepository-1.0/GData-0.0.typelib |
0b1b03da PZ |
156 | |
157 | %files devel | |
158 | %defattr(644,root,root,755) | |
159 | %attr(755,root,root) %{_libdir}/libgdata.so | |
81470efb | 160 | %{_datadir}/gir-1.0/GData-0.0.gir |
0b1b03da PZ |
161 | %{_includedir}/libgdata |
162 | %{_pkgconfigdir}/libgdata.pc | |
163 | ||
164 | %files static | |
165 | %defattr(644,root,root,755) | |
166 | %{_libdir}/libgdata.a | |
167 | ||
168 | %files apidocs | |
169 | %defattr(644,root,root,755) | |
170 | %{_gtkdocdir}/gdata | |
e82d74a8 MB |
171 | |
172 | %files -n vala-libgdata | |
173 | %defattr(644,root,root,755) | |
174 | %{_datadir}/vala/vapi/libgdata.deps | |
175 | %{_datadir}/vala/vapi/libgdata.vapi |