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.
59 lines
1.3 KiB
59 lines
1.3 KiB
%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
|
|
|
|
|
|
|