xsupplicant/xsupplicant.spec

76 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: xsupplicant
Version: 1.2.8
Release: 3mamba
Summary: A free, open source 802.1X/WPA/WPA2/IEEE802.11i implementation
Group: Network/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://open1x.sourceforge.net/
Source: http://ovh.dl.sourceforge.net/sourceforge/open1x/xsupplicant-%{version}.tar.gz
Patch0: %{name}-1.2.8-configure.patch
Patch1: %{name}-1.2.8-kernel-2.6.19.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libiw-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Open1X project is dedicated to bringing a free, open source 802.1X/WPA/WPA2/IEEE802.11i implementation to as many target platforms as possible.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The Open1X project is dedicated to bringing a free, open source 802.1X/WPA/WPA2/IEEE802.11i implementation to as many target platforms as possible.
This package contains static libraries and header files need for development.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure
%make MOREDEFS="-DNEW_IWLIB"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/config-parser
%{_bindir}/xsup_get_state
%{_bindir}/xsup_monitor
%{_bindir}/xsup_ntpwdhash
%{_bindir}/xsup_set_pwd
%{_sbindir}/xsupplicant
%doc AUTHORS COPYING LICENSE README TODO
%files devel
%defattr(-,root,root)
%{_libdir}/libxsupconfcheck.a
%{_libdir}/libxsupconfig.a
%{_libdir}/libxsupconfwrite.a
%{_libdir}/libxsupgui.a
%{_includedir}/*.h
%changelog
* Fri Oct 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-3mamba
- rebuilt against libopenssl 0.9.8
* Mon Jul 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-2mamba
- rebuilt against wireless_tools 29
* Mon Jan 22 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-1qilnx
- package created by autospec