lix/nix.spec.in

45 lines
831 B
RPMSpec
Raw Normal View History

Summary: The Nix software deployment system
Name: nix
2004-01-02 17:04:53 +01:00
Version: @version@
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
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%define _prefix /nix
Prefix: %{_prefix}
%description
Nix is a software deployment system.
%prep
%setup -q
%build
./configure --prefix=%{_prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
(cd src/nix-store && make DESTDIR=$RPM_BUILD_ROOT init-state-local)
2004-01-19 10:01:28 +01:00
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