]> git.pld-linux.org Git - packages/libgdata.git/blob - libgdata.spec
- updated to 0.14.1
[packages/libgdata.git] / libgdata.spec
1 Summary:        GData access library
2 Summary(pl.UTF-8):      Biblioteka dostępu poprzez protokół GData
3 Name:           libgdata
4 Version:        0.14.1
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.14/%{name}-%{version}.tar.xz
9 # Source0-md5:  27022e2250393ae0dbd3818889a1ac62
10 URL:            http://live.gnome.org/libgdata
11 BuildRequires:  autoconf >= 2.65
12 BuildRequires:  automake >= 1:1.9
13 BuildRequires:  gcr-devel >= 3
14 BuildRequires:  gdk-pixbuf2-devel >= 2.14
15 BuildRequires:  gettext-devel >= 0.17
16 BuildRequires:  glib2-devel >= 1:2.32.0
17 BuildRequires:  gnome-common >= 3.6.0
18 BuildRequires:  gnome-online-accounts-devel >= 3.2.0
19 BuildRequires:  gobject-introspection-devel >= 0.9.7
20 BuildRequires:  gtk+3-devel >= 3.0
21 BuildRequires:  gtk-doc >= 1.14
22 BuildRequires:  intltool >= 0.40.0
23 BuildRequires:  liboauth-devel >= 0.9.4
24 BuildRequires:  libsoup-devel >= 2.38.0
25 BuildRequires:  libsoup-gnome-devel >= 2.38.0
26 BuildRequires:  libtool >= 2:2
27 BuildRequires:  libxml2-devel >= 1:2.6.26
28 BuildRequires:  pkgconfig
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xz
31 Requires:       glib2 >= 1:2.32.0
32 Requires:       gnome-online-accounts >= 3.2.0
33 Requires:       liboauth >= 0.9.4
34 Requires:       libsoup >= 2.38.0
35 Requires:       libsoup-gnome >= 2.38.0
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
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.
43
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
50 %package devel
51 Summary:        Header files for libgdata library
52 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgdata
53 Group:          Development/Libraries
54 Requires:       %{name} = %{version}-%{release}
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
60 Requires:       libsoup-gnome-devel >= 2.38.0
61 Requires:       libxml2-devel >= 1:2.6.26
62
63 %description devel
64 Header files and support files necessary to compile applications using
65 libgdata.
66
67 %description devel -l pl.UTF-8
68 Pliki nagłówkowe oraz pomocnicze potrzebne do kompilowania aplikacji
69 wykorzystujących bibliotekę libgdata.
70
71 %package static
72 Summary:        libgdata static library
73 Summary(pl.UTF-8):      Statyczna biblioteka libgdata
74 Group:          Development/Libraries
75 Requires:       %{name}-devel = %{version}-%{release}
76
77 %description static
78 This package contains static libgdata library.
79
80 %description static -l pl.UTF-8
81 Ten pakiet zawiera statyczną bibliotekę libgdata.
82
83 %package apidocs
84 Summary:        libgdata API documentation
85 Summary(pl.UTF-8):      Dokumentacja API biblioteki libgdata
86 Group:          Documentation
87 Requires:       gtk-doc-common
88
89 %description apidocs
90 libgdata API documentation.
91
92 %description apidocs -l pl.UTF-8
93 Dokumentacja API biblioteki libgdata.
94
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
108 %prep
109 %setup -q
110
111 %build
112 %{__gtkdocize}
113 %{__libtoolize}
114 %{__aclocal}
115 %{__autoconf}
116 %{__autoheader}
117 %{__automake}
118 %configure \
119         --enable-gtk-doc \
120         --with-html-dir=%{_gtkdocdir} \
121         --disable-silent-rules
122 %{__make}
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126
127 %{__make} install \
128         DESTDIR=$RPM_BUILD_ROOT
129
130 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgdata.la
131
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)
142 %doc AUTHORS ChangeLog NEWS README
143 %attr(755,root,root) %{_libdir}/libgdata.so.*.*.*
144 %attr(755,root,root) %ghost %{_libdir}/libgdata.so.13
145 %{_libdir}/girepository-1.0/GData-0.0.typelib
146
147 %files devel
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/libgdata.so
150 %{_datadir}/gir-1.0/GData-0.0.gir
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
161
162 %files -n vala-libgdata
163 %defattr(644,root,root,755)
164 %{_datadir}/vala/vapi/libgdata.deps
165 %{_datadir}/vala/vapi/libgdata.vapi
This page took 0.043893 seconds and 3 git commands to generate.