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