]> git.pld-linux.org Git - packages/libgdata.git/blob - libgdata.spec
- updated gettext BR
[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.16.1
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/libgdata/0.16/%{name}-%{version}.tar.xz
9 # Source0-md5:  eb552a8a8482e4231a3d1baf7262e64d
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-tools >= 0.17
16 BuildRequires:  glib2-devel >= 1:2.32.0
17 BuildRequires:  gnome-common >= 3.6.0
18 BuildRequires:  gnome-online-accounts-devel >= 3.8
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:  json-glib-devel >= 0.15
24 BuildRequires:  liboauth-devel >= 0.9.4
25 BuildRequires:  libsoup-devel >= 2.48.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:  uhttpmock-devel
31 BuildRequires:  xz
32 Requires:       glib2 >= 1:2.32.0
33 Requires:       gnome-online-accounts-libs >= 3.8
34 Requires:       json-glib >= 0.15
35 Requires:       liboauth >= 0.9.4
36 Requires:       libsoup >= 2.48.0
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
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.
44
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
51 %package devel
52 Summary:        Header files for libgdata library
53 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libgdata
54 Group:          Development/Libraries
55 Requires:       %{name} = %{version}-%{release}
56 Requires:       gcr-devel >= 3
57 Requires:       glib2-devel >= 1:2.32.0
58 Requires:       gnome-online-accounts-devel >= 3.8
59 Requires:       json-glib-devel >= 0.15
60 Requires:       liboauth-devel >= 0.9.4
61 Requires:       libsoup-devel >= 2.48.0
62 Requires:       libxml2-devel >= 1:2.6.26
63
64 %description devel
65 Header files and support files necessary to compile applications using
66 libgdata.
67
68 %description devel -l pl.UTF-8
69 Pliki nagłówkowe oraz pomocnicze potrzebne do kompilowania aplikacji
70 wykorzystujących bibliotekę libgdata.
71
72 %package static
73 Summary:        libgdata static library
74 Summary(pl.UTF-8):      Statyczna biblioteka libgdata
75 Group:          Development/Libraries
76 Requires:       %{name}-devel = %{version}-%{release}
77
78 %description static
79 This package contains static libgdata library.
80
81 %description static -l pl.UTF-8
82 Ten pakiet zawiera statyczną bibliotekę libgdata.
83
84 %package apidocs
85 Summary:        libgdata API documentation
86 Summary(pl.UTF-8):      Dokumentacja API biblioteki libgdata
87 Group:          Documentation
88 Requires:       gtk-doc-common
89
90 %description apidocs
91 libgdata API documentation.
92
93 %description apidocs -l pl.UTF-8
94 Dokumentacja API biblioteki libgdata.
95
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
109 %prep
110 %setup -q
111
112 %build
113 %{__gtkdocize}
114 %{__libtoolize}
115 %{__aclocal}
116 %{__autoconf}
117 %{__autoheader}
118 %{__automake}
119 %configure \
120         --enable-gtk-doc \
121         --with-html-dir=%{_gtkdocdir} \
122         --disable-silent-rules
123 %{__make}
124
125 %install
126 rm -rf $RPM_BUILD_ROOT
127
128 %{__make} install \
129         DESTDIR=$RPM_BUILD_ROOT
130
131 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgdata.la
132
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)
143 %doc AUTHORS ChangeLog NEWS README
144 %attr(755,root,root) %{_libdir}/libgdata.so.*.*.*
145 %attr(755,root,root) %ghost %{_libdir}/libgdata.so.19
146 %{_libdir}/girepository-1.0/GData-0.0.typelib
147
148 %files devel
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/libgdata.so
151 %{_datadir}/gir-1.0/GData-0.0.gir
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
162
163 %files -n vala-libgdata
164 %defattr(644,root,root,755)
165 %{_datadir}/vala/vapi/libgdata.deps
166 %{_datadir}/vala/vapi/libgdata.vapi
This page took 0.090521 seconds and 3 git commands to generate.