1 |
|
# $Id: smeserver-dirty-tools.spec,v 1.7 2008/11/25 16:20:21 slords Exp $ |
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 3 |
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 |
|
Patch2: smeserver-dirty-tools-0.0.9-ldap.patch |
22 |
AutoReq: no |
AutoReq: no |
23 |
|
|
24 |
%description |
%description |
26 |
|
|
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Thu Jan 29 2009 Michael Weinberger 0.0.9-3 |
30 |
|
Bug 4962 fix |
31 |
|
* Sat Mar 01 2008 Michael Weinberger 0.0.9-2 |
32 |
|
use perl-esmith-PasswordTools |
33 |
|
* Sat Mar 01 2008 Michael Weinberger 0.0.9-1 |
34 |
|
Bug 4001 fix |
35 |
* Tue Sep 11 2007 Michael Weinberger |
* Tue Sep 11 2007 Michael Weinberger |
36 |
Version 0.0.9 |
Version 0.0.9 |
37 |
dt-data-copy |
dt-data-copy |
60 |
|
|
61 |
%prep |
%prep |
62 |
%setup -q -n %{realname}-%{version} |
%setup -q -n %{realname}-%{version} |
63 |
|
%patch0 -p1 |
64 |
|
%patch1 -p1 |
65 |
|
%patch2 -p1 |
66 |
|
|
67 |
%build |
%build |
68 |
|
|
80 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
81 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
82 |
|
|
|
|
|
83 |
%clean |
%clean |
84 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
|
exit 0 |
|
|
|
|
|
%pre |
|
|
exit 0 |
|
|
|
|
|
%post |
|
|
exit 0 |
|
|
|
|
|
%preun |
|
|
exit 0 |
|
|
|
|
|
%postun |
|
|
exit 0 |
|
85 |
|
|
86 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
87 |
%defattr(-,root,root) |
%defattr(-,root,root) |