libgdata/libgdata.spec

170 lines
5.0 KiB
RPMSpec
Raw Normal View History

%define majversion %(echo %version | cut -d. -f 1-2)
Name: libgdata
Version: 0.14.0
Release: 1mamba
Summary: Library for the GData protocol
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://live.gnome.org/libgdata
Source: http://ftp.acc.umu.se/pub/GNOME/sources/libgdata/%{majversion}/libgdata-%{version}.tar.xz
License: LGPL
BuildRequires: gobject-introspection-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libdbus-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libproxy-devel
BuildRequires: libselinux-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libtasn1-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
## AUTOBUILDREQ-END
BuildRequires: liboauth-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libgdata is a GLib-based library for accessing online service APIs using the GData protocol most notably, Google's services. It provides APIs to access the common Google services, and has full asynchronous support.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Library for the GData protocol.
This package contains libraries and header files need for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description static
Library for the GData protocol.
This package contains static libraries files need for development.
%package doc
Summary: Documentation for %{name}
Group: Documentation
%description doc
Library for the GData protocol.
This package contains documentation for %{name}
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang gdata
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f gdata.lang
%defattr(-,root,root)
%{_libdir}/libgdata.so.*
%{_libdir}/girepository-*/GData-*.typelib
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libgdata
%dir %{_includedir}/libgdata/gdata
%dir %{_includedir}/libgdata/gdata/app
%{_includedir}/libgdata/gdata/app/*.h
%{_includedir}/libgdata/gdata/gdata*.h
%dir %{_includedir}/libgdata/gdata/atom
%{_includedir}/libgdata/gdata/atom/*
%dir %{_includedir}/libgdata/gdata/gcontact
%{_includedir}/libgdata/gdata/gcontact/*
%dir %{_includedir}/libgdata/gdata/gd
%{_includedir}/libgdata/gdata/gd/*
%dir %{_includedir}/libgdata/gdata/media
%{_includedir}/libgdata/gdata/media/*
%dir %{_includedir}/libgdata/gdata/services
%{_includedir}/libgdata/gdata/services/*
%{_libdir}/libgdata.so
%{_datadir}/gir-*/GData-*.gir
%{_datadir}/vala/vapi/libgdata.deps
%{_datadir}/vala/vapi/libgdata.vapi
%{_libdir}/pkgconfig/libgdata.pc
%doc ChangeLog NEWS README
%files static
%defattr(-,root,root)
%{_libdir}/libgdata.*a
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/gdata
%changelog
* Mon Oct 28 2013 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
- automatic version update by autodist
* Fri Aug 02 2013 Automatic Build System <autodist@mambasoft.it> 0.13.4-1mamba
- automatic update by autodist
* Tue Feb 26 2013 Automatic Build System <autodist@mambasoft.it> 0.13.3-1mamba
- automatic version update by autodist
* Sun Sep 30 2012 Automatic Build System <autodist@mambasoft.it> 0.13.2-1mamba
- automatic version update by autodist
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 0.13.1-1mamba
- automatic version update by autodist
* Sat Apr 14 2012 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
- automatic version update by autodist
* Mon Apr 02 2012 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
- automatic version update by autodist
* Mon Apr 02 2012 Automatic Build System <autodist@mambasoft.it> 0.11.1-1mamba
- automatic version update by autodist
* Mon Oct 10 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.1-1mamba
- update to 0.10.1
* Wed Jun 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-2mamba
- move gir files to devel package to avoid a conflict with libgdata06
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 0.8.1-1mamba
- automatic update by autodist
* Mon Apr 11 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- update to 0.8.0
* Wed Dec 15 2010 Automatic Build System <autodist@mambasoft.it> 0.6.6-1mamba
- automatic update by autodist
* Fri Oct 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.5-1mamba
- update to 0.6.5
* Mon Sep 20 2010 gil <puntogil@libero.it> 0.6.4-1mamba
- package created by autospec