libsignon-glib/libsignon-glib.spec

96 lines
2.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: libsignon-glib
Version: 1.9
Release: 2mamba
Summary: Glib binding for Single Sign-on library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://code.google.com/p/accounts-sso/
Source: https://accounts-sso.googlecode.com/files/libsignon-glib-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libpython-devel
BuildRequires: libsignon-devel
## AUTOBUILDREQ-END
Requires: signon
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Glib binding for Single Sign-on library.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q
%build
%configure --enable-gtk-doc
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libsignon-glib.so.*
%{_libdir}/girepository-1.0/Signon-1.0.typelib
%{python_sitearch}/gi/overrides/Signon.py
%{python_sitearch}/gi/overrides/Signon.pyc
%{python_sitearch}/gi/overrides/Signon.pyo
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libsignon-glib
%{_includedir}/libsignon-glib/signon-*.h
%{_libdir}/libsignon-glib.la
%{_libdir}/libsignon-glib.so
%{_libdir}/pkgconfig/libsignon-glib.pc
%{_datadir}/gir-1.0/Signon-1.0.gir
%{_datadir}/vala/vapi/signon.vapi
%doc ChangeLog NEWS README
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/libsignon-glib
%{_datadir}/gtk-doc/html/libsignon-glib/*
%changelog
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9-2mamba
- python 2.7 mass rebuild
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
- automatic version update by autodist
* Thu Apr 11 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8-1mamba
- package created by silvan using the webbuild interface