2003-12-30 21:09:00 +01:00
|
|
|
Summary: The Nix software deployment system
|
|
|
|
Name: nix
|
2004-01-02 17:04:53 +01:00
|
|
|
Version: @version@
|
2003-12-30 21:09:00 +01:00
|
|
|
Release: 1
|
|
|
|
License: GPL
|
|
|
|
Group: WeetNiet
|
|
|
|
URL: http://www.cs.uu.nl/groups/ST/twiki/bin/view/Trace/NixDeploymentSystem
|
2004-01-02 17:04:53 +01:00
|
|
|
Source0: %{name}-@version@.tar.gz
|
2003-12-30 21:09:00 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
|
|
|
%define _prefix /nix
|
|
|
|
Prefix: %{_prefix}
|
2004-03-29 14:10:15 +02:00
|
|
|
Requires: /usr/bin/perl
|
2003-12-30 21:09:00 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
Nix is a software deployment system.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2004-07-09 15:06:12 +02:00
|
|
|
./configure --prefix=%{_prefix} --with-system="i686-linux"
|
2003-12-30 21:09:00 +01:00
|
|
|
make
|
2004-05-04 14:15:30 +02:00
|
|
|
make check
|
2003-12-30 21:09:00 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2004-01-19 10:01:28 +01:00
|
|
|
strip $RPM_BUILD_ROOT/%{_prefix}/bin/* || true
|
2003-12-30 21:09:00 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_prefix}/bin
|
|
|
|
%{_prefix}/libexec
|
|
|
|
%{_prefix}/var
|
|
|
|
%{_prefix}/share
|
|
|
|
%{_prefix}/man
|
2004-01-02 15:58:25 +01:00
|
|
|
%{_prefix}/store
|
2003-12-30 21:09:00 +01:00
|
|
|
%config
|
|
|
|
%{_prefix}/etc
|
|
|
|
#%doc
|
|
|
|
#%{_prefix}/share/nix/manual
|