You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
978 B
47 lines
978 B
11 years ago
|
%define name smeserver-dl
|
||
|
%define version 0.1.0
|
||
|
%define release 1.beta0
|
||
|
Summary: sme server integration of dl
|
||
|
Name: %{name}
|
||
|
Version: %{version}
|
||
|
Release: %{release}%{?dist}
|
||
|
License: GNU GPL version 2
|
||
|
URL: http://www.thregr.org/~wavexx/software/dl/
|
||
|
Group: SMEserver/addon
|
||
|
Source: %{name}-%{version}.tar.gz
|
||
|
|
||
|
BuildArchitectures: noarch
|
||
|
BuildRequires: e-smith-devtools
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||
|
Requires: e-smith-base
|
||
|
Requires: dl
|
||
|
Requires: smeserver-webapps-common
|
||
|
|
||
|
%description
|
||
|
smserver integration of dl
|
||
|
|
||
|
%changelog
|
||
|
* Mon Nov 18 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1.sme
|
||
|
- First release
|
||
|
|
||
|
%prep
|
||
|
%setup
|
||
|
|
||
|
%build
|
||
|
perl ./createlinks
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||
|
rm -f %{name}-%{version}-filelist
|
||
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||
|
> %{name}-%{version}-filelist
|
||
|
|
||
|
%files -f %{name}-%{version}-filelist
|
||
|
%defattr(-,root,root)
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%postun
|