%define version 0.0.1 %define release 0.beta3 %define name smeserver-minilist Summary: minilist provide a simple panel to manage simple mailing list Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools Requires: e-smith-base >= 5.2.0 %description Provides group like mail fonctionnality, but lets you enter arbitrary email addresses %changelog * Thu Nov 22 2012 Daniel Berteaud - 0.0.1 - initial release %prep %setup -q -n %{name}-%{version} %build perl createlinks %install /bin/rm -rf $RPM_BUILD_ROOT (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /bin/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 %pre %post