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

Last change on this file since 998 was 998, checked in by joergs, on May 11, 2012 at 5:26:00 PM

opsi-compat

File size: 851 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,-)
39/tftpboot/linux/
40/opt/pcbin/
41/home/opsiproducts/
42
43
44
45%changelog
Note: See TracBrowser for help on using the repository browser.