mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
256eeab711
environment variables. * Started adding some automatic tests. * Do a `make check' when building RPMs.
46 lines
798 B
RPMSpec
46 lines
798 B
RPMSpec
Summary: The Nix software deployment system
|
|
Name: nix
|
|
Version: @version@
|
|
Release: 1
|
|
License: GPL
|
|
Group: WeetNiet
|
|
URL: http://www.cs.uu.nl/groups/ST/twiki/bin/view/Trace/NixDeploymentSystem
|
|
Source0: %{name}-@version@.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
|
%define _prefix /nix
|
|
Prefix: %{_prefix}
|
|
Requires: /usr/bin/perl
|
|
|
|
%description
|
|
|
|
Nix is a software deployment system.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
./configure --prefix=%{_prefix}
|
|
make
|
|
make check
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
strip $RPM_BUILD_ROOT/%{_prefix}/bin/* || true
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_prefix}/bin
|
|
%{_prefix}/libexec
|
|
%{_prefix}/var
|
|
%{_prefix}/share
|
|
%{_prefix}/man
|
|
%{_prefix}/store
|
|
%config
|
|
%{_prefix}/etc
|
|
#%doc
|
|
#%{_prefix}/share/nix/manual
|