代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/procmail 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# hardened build if not overridden
%{!?_hardened_build:%global _hardened_build 1}
%if %{?_hardened_build}%{!?_hardened_build:0}
%global hardened_flags -pie -Wl,-z,relro,-z,now
%endif
Name: procmail
Version: 3.24
Release: 1
Summary: A program for filtering, sorting and storing email
License: GPLv2+ or Artistic-1.0-Perl
URL: https://github.com/BuGlessRB/%{name}
Source0: https://github.com/BuGlessRB/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: procmailrc
Patch0: procmail-3.24-rhconfig.patch
Patch1: procmail-3.15.1-man.patch
Patch2: procmail-3.22-truncate.patch
Patch3: procmail-3.24-ipv6.patch
BuildRequires: make gcc
%description
%{summary},It can be used both on mail clients and mail servers. It can be
used to filter out spam, checking for viruses, to send automatic replies, etc.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
find examples -type f | xargs chmod 644
%build
make RPM_OPT_FLAGS="$(getconf LFS_CFLAGS)" autoconf.h
%make_build CC=%{__cc}
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_bindir} ${RPM_BUILD_ROOT}%{_mandir}/man{1,5}
make \
BASENAME=${RPM_BUILD_ROOT}%{_prefix} MANDIR=${RPM_BUILD_ROOT}%{_mandir} \
install
cp -p %{SOURCE1} telsas_procmailrc
%files
%defattr(-,root,root)
%doc Artistic
%license COPYING
%{_bindir}/*
%files help
%defattr(-,root,root)
%doc FAQ FEATURES HISTORY README KNOWN_BUGS examples telsas_procmailrc
%{_mandir}/man1/*.1.gz
%{_mandir}/man5/*.5.gz
%changelog
* Mon Jul 24 2023 yanglu <yanglu72@h-partners.com> - 3.24-1
- DESC:Update procmail version to 3.24
* Tue Jul 5 2022 Chenyx <chenyixiong3@huawei.com> - 3.22-53
- License compliance rectification
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 3.22-52
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Sep 10 2020 hanzhijun<hanzhijun1@huawei.com> - 3.22-51
- fix source url problem
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.22-50
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of COPYING
* Mon Sep 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.22-49
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。