source: opsi/server/opsi-compat/opsi-compat.spec@ 1244

Last change on this file since 1244 was 1003, checked in by joergs, on May 15, 2012 at 4:04:49 PM

added /tftpboot, to prevent build errors

File size: 866 bytes
RevLine 
[998]1Name: opsi-compat
2Version: 4.0.0
3Release: 1%{?dist}
4Summary: link old style path names to new path names
5Group: Productivity/Networking/Opsi
6License: GPL
7#URL:
8#Source0:
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10
11BuildRequires: opsi-depotserver
12Requires: opsi-depotserver
13
14%description
15
16
17%prep
18#setup -q
19
20
21%build
22
23
24%install
25mkdir -p $RPM_BUILD_ROOT/tftpboot/
26ln -s /var/lib/tftpboot/opsi $RPM_BUILD_ROOT/tftpboot/linux
27mkdir -p $RPM_BUILD_ROOT/opt/pcbin/
28ln -s /var/lib/opsi/depot $RPM_BUILD_ROOT/opt/pcbin/install
29mkdir -p $RPM_BUILD_ROOT/home
30ln -s /var/lib/opsi/workbench $RPM_BUILD_ROOT/home/opsiproducts
31
32
33%clean
34rm -rf %{buildroot}
35
36
37%files
38%defattr(-,root,root,-)
[1003]39%dir /tftpboot
[998]40/tftpboot/linux/
41/opt/pcbin/
42/home/opsiproducts/
43
44
45
46%changelog
Note: See TracBrowser for help on using the repository browser.