|
|
|
%define version 0.2.0
|
|
|
|
%define release 2
|
|
|
|
%define name ipasserelle-listes
|
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}%{?dist}
|
|
|
|
Summary: iPasserelle mailing list module
|
|
|
|
Group: System Environment/Applications
|
|
|
|
License: GPLv3+
|
|
|
|
URL: http://www.ipasserelle.com
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
|
|
|
|
|
|
|
|
BuildRequires: e-smith-devtools
|
|
|
|
|
|
|
|
Requires: ipasserelle-base
|
|
|
|
Requires: smeserver-mailman
|
|
|
|
|
|
|
|
%description
|
|
|
|
iPasserelle module for the mailing list service
|
|
|
|
Uses smeserver-mailman
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon Jun 18 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.0-2
|
|
|
|
- build for noarch
|
|
|
|
|
|
|
|
* Mon Jun 18 2012 Daniel Berteaud <daniel@firewall-services.com> - 0.2.0-1
|
|
|
|
- Import in GIT
|
|
|
|
|
|
|
|
* Thu Sep 12 2011 Daniel Berteaud <daniel@firewall-services.com> - 0.1-1.sme
|
|
|
|
- Initial release
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl ./createlinks
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -f %{name}-%{version}-filelist
|
|
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
|
|
|
|
/sbin/e-smith/genfilelist \
|
|
|
|
--file /var/service/mailman/qrunner 'attr(0755,root,root)' \
|
|
|
|
--file /var/service/mailman/run 'attr(0755,root,root)' \
|
|
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-%{release}-filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
|