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