Name: libwlocate Version: 0.1 Release: 1mamba Summary: A library that can be used to evaluate a geographical position out of the WLAN networks Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.openwlanmap.org/ Source: https://github.com/openwifi-su/lwlocate.git/v%{version}/lwlocate-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libiw-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description libwlocate is a library that can be used to evaluate a geographical position out of the WLAN networks that are available near to a user. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %package tools Group: System/Tools Summary: Utility applications for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains utility applications for %{name}. %debug_package %prep %setup -q -n lwlocate-%{version} %build cd master %make -f Makelib SYSLDFLAGS="-Wl,-soname,libwlocate.so.0" %make TARGET=ENV_LINUX LINKFLAGS="-L%{_libdir} -L." %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" cd master install -D -m0755 lwtrace %{buildroot}%{_bindir}/lwtrace install -D -m0755 libwlocate.so %{buildroot}%{_libdir}/libwlocate.so.0 ln -s libwlocate.so.0 %{buildroot}%{_libdir}/libwlocate.so install -D -m0755 libwlocate.h %{buildroot}%{_includedir}/libwlocate.h %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libwlocate.so.* %doc master/COPYING %files devel %defattr(-,root,root) %{_libdir}/libwlocate.so %{_includedir}/libwlocate.h %files tools %defattr(-,root,root) %{_bindir}/lwtrace %changelog * Wed Mar 09 2016 Silvan Calarco 0.1-1mamba - package created using the webbuild interface