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