105 lines
3.0 KiB
RPMSpec
105 lines
3.0 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: librest
|
|
Version: 0.7.93
|
|
Release: 1mamba
|
|
Summary: A library designed to make it easier to access web services which support it
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://live.gnome.org
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/rest/0.7/rest-%{version}.tar.xz
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: libxml2-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
This library has been designed to make it easier to access web services that claim to be "RESTful".
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
This library has been designed to make it easier to access web services that claim to be "RESTful".
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n rest-%{version}
|
|
|
|
%build
|
|
%configure --enable-gtk-doc
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/librest-%{majver}.so.*
|
|
%{_libdir}/librest-extras-%{majver}.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/rest-%{majver}
|
|
%{_includedir}/rest-%{majver}/*
|
|
%{_libdir}/librest-%{majver}.la
|
|
%{_libdir}/librest-%{majver}.so
|
|
%{_libdir}/librest-extras-%{majver}.la
|
|
%{_libdir}/librest-extras-%{majver}.so
|
|
%{_libdir}/girepository-1.0/Rest*.typelib
|
|
%{_datadir}/gir-1.0/Rest*.gir
|
|
%{_libdir}/pkgconfig/rest-%{majver}.pc
|
|
%{_libdir}/pkgconfig/rest-extras-%{majver}.pc
|
|
%doc README
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
## note: this list is just an example; modify as required
|
|
%dir %{_datadir}/gtk-doc/html/rest-%{majver}
|
|
%{_datadir}/gtk-doc/html/rest-%{majver}/*
|
|
|
|
%changelog
|
|
* Wed Apr 08 2015 Automatic Build System <autodist@mambasoft.it> 0.7.93-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Sep 07 2014 Automatic Build System <autodist@mambasoft.it> 0.7.92-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Mar 10 2014 Automatic Build System <autodist@mambasoft.it> 0.7.91-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Aug 18 2012 Automatic Build System <autodist@mambasoft.it> 0.7.90-1mamba
|
|
- update to 0.7.90
|
|
|
|
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 0.7.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 03 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.10-1mamba
|
|
- package created by autospec
|