source: trunk/pxeconfig.spec @ 203

Last change on this file since 203 was 203, checked in by bas, 10 years ago

added two new configuration options for client program, closes #17

File size: 953 bytes
Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
2
3### Abstract ###
4
5Name: pxeconfig
6Version: 4.1.0
7Release: 1%{?dist}
8License: See LICENSE
9Group: Development/Libraries
10Summary: This package contains PXE config
11URL: https://subtrac.sara.nl/oss/pxeconfig
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
13Source: ftp://ftp.sara.nl/pub/outgoing/pxeconfig.tar.gz
14
15
16%description
17This package contains PXE config
18
19%prep
20%setup -q -n pxeconfig-%{version}
21
22%define _lib lib
23%configure
24%build
25make compile
26
27%install
28make DESTDIR=$RPM_BUILD_ROOT install
29
30%clean
31rm -rf $RPM_BUILD_ROOT
32
33%files
34%defattr(-,root,root,0755)
35%{_bindir}/*
36%{_sbindir}/*
37%{_prefix}/share/doc/pxeconfig/*
38%{python_sitearch}/pxeconfig.pth
39%{python_sitearch}/pxeconfig/*
40%config /etc/pxeconfig.conf
41
42%changelog
43* Tue Apr  14 2010 Ramon Bastiaans <ramon.bastiaans@sara.nl>
44- First .spec file
Note: See TracBrowser for help on using the repository browser.