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