diff --git a/README.md b/README.md index 2c7d2d7..6c42d6c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libsignon-glib +Glib binding for Single Sign-on library. + diff --git a/libsignon-glib.spec b/libsignon-glib.spec new file mode 100644 index 0000000..c99f48b --- /dev/null +++ b/libsignon-glib.spec @@ -0,0 +1,95 @@ +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 +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 1.9-2mamba +- python 2.7 mass rebuild + +* Mon Apr 15 2013 Automatic Build System 1.9-1mamba +- automatic version update by autodist + +* Thu Apr 11 2013 Silvan Calarco 1.8-1mamba +- package created by silvan using the webbuild interface