1 |
|
# $Id$ |
2 |
|
# Authority: mweinber |
3 |
|
# Name: Michael Weinberger |
4 |
|
|
5 |
Summary: A collection of "dirty" scripts for the experienced administrator |
Summary: A collection of "dirty" scripts for the experienced administrator |
6 |
%define realname smeserver-dirty-tools |
%define realname smeserver-dirty-tools |
7 |
Name: %{realname} |
Name: %{realname} |
8 |
%define version 0.0.9 |
%define version 0.0.9 |
9 |
Version: %{version} |
Version: %{version} |
10 |
%define release 0 |
%define release 2 |
11 |
Release: %{release} |
Release: %{release}%{?dist} |
12 |
License: GNU GPL (GNU General Public License) |
License: GNU GPL (GNU General Public License) |
13 |
Group: Administration |
Group: Administration |
14 |
Source: %{realname}-%{version}.tar.gz |
Source: %{realname}-%{version}.tar.gz |
|
Packager: Michael Weinberger <mweinber@neddix.de> |
|
|
Vendor: neddix IT Consulting und Services, Stuttgart, Germany |
|
15 |
BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/ |
BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/ |
16 |
BuildArch: noarch |
BuildArch: noarch |
17 |
Requires: smeserver-release >= 7 |
Requires: smeserver-release >= 7 |
18 |
|
Requires: perl-esmith-PasswordTools |
19 |
|
Patch0: smeserver-dirty-tools-0.0.9-bug_4001.patch |
20 |
|
Patch1: smeserver-dirty-tools-0.0.9-usePasswordTools.patch |
21 |
AutoReq: no |
AutoReq: no |
22 |
|
|
23 |
%description |
%description |
25 |
|
|
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Sat Mar 01 2008 Michael Weinberger 0.0.9-2 |
29 |
|
use perl-esmith-PasswordTools |
30 |
|
* Sat Mar 01 2008 Michael Weinberger 0.0.9-1 |
31 |
|
Bug 4001 fix |
32 |
* Tue Sep 11 2007 Michael Weinberger |
* Tue Sep 11 2007 Michael Weinberger |
33 |
Version 0.0.9 |
Version 0.0.9 |
34 |
dt-data-copy |
dt-data-copy |
57 |
|
|
58 |
%prep |
%prep |
59 |
%setup -q -n %{realname}-%{version} |
%setup -q -n %{realname}-%{version} |
60 |
|
%patch0 -p1 |
61 |
|
%patch1 -p1 |
62 |
|
|
63 |
%build |
%build |
64 |
|
|
76 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
77 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
78 |
|
|
|
|
|
79 |
%clean |
%clean |
80 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
|
exit 0 |
|
|
|
|
|
%pre |
|
|
exit 0 |
|
|
|
|
|
%post |
|
|
exit 0 |
|
|
|
|
|
%preun |
|
|
exit 0 |
|
|
|
|
|
%postun |
|
|
exit 0 |
|
81 |
|
|
82 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
83 |
%defattr(-,root,root) |
%defattr(-,root,root) |