109 lines
3.1 KiB
RPMSpec
109 lines
3.1 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: libgupnp-igd
|
|
Version: 0.2.4
|
|
Release: 1mamba
|
|
Summary: A library to handle Internet Gateway Device port mappings
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.gupnp.org/
|
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/gupnp-igd/%{majver}/gupnp-igd-%{version}.tar.xz
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcrypt-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgnutls-devel
|
|
BuildRequires: libgpg-error-devel
|
|
BuildRequires: libgssdp-devel
|
|
BuildRequires: libgupnp-devel
|
|
BuildRequires: libselinux-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: libtasn1-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
A library to handle Internet Gateway Device port mappings.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
A library to handle Internet Gateway Device port mappings.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q -n gupnp-igd-%{version}
|
|
|
|
%build
|
|
%configure
|
|
%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}/libgupnp-igd-1.0.so.*
|
|
%{_libdir}/girepository-1.0/GUPnPIgd-1.0.typelib
|
|
#%{python_sitearch}/gupnp/__init__.py*
|
|
#%{python_sitearch}/gupnp/igd.a
|
|
#%{python_sitearch}/gupnp/igd.la
|
|
#%{python_sitearch}/gupnp/igd.so
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/gupnp-igd-1.0/libgupnp-igd/*.h
|
|
%{_libdir}/libgupnp-igd-1.0.a
|
|
%{_libdir}/libgupnp-igd-1.0.la
|
|
%{_libdir}/libgupnp-igd-1.0.so
|
|
%{_datadir}/gtk-doc/html/gupnp-igd/*
|
|
%{_datadir}/gir-1.0/GUPnPIgd-1.0.gir
|
|
%{_libdir}/pkgconfig/*.pc
|
|
#%doc NEWS README TODO
|
|
|
|
%changelog
|
|
* Wed Oct 01 2014 Automatic Build System <autodist@mambasoft.it> 0.2.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 08 2014 Automatic Build System <autodist@mambasoft.it> 0.2.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Fri Nov 23 2012 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Nov 17 2012 Automatic Build System <autodist@mambasoft.it> 0.2.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
|
|
- update to 0.2.0
|
|
|
|
* Sun Jun 27 2010 Automatic Build System <autodist@mambasoft.it> 0.1.7-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun May 09 2010 Automatic Build System <autodist@mambasoft.it> 0.1.6-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Nov 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.4-1mamba
|
|
- package created by autospec
|