Files
emil/emil.spec
Jan Engelhardt d4cd00ede0 - Added -fpermissive to CFLAGS to enable build with GCC 14
If the request is ok, please forward it to factory soon so that it is ready
when the default compiler is switched

OBS-URL: https://build.opensuse.org/package/show/server:mail/emil?expand=0&rev=12
2024-07-24 12:41:05 +00:00

67 lines
1.9 KiB
RPMSpec

#
# spec file for package emil
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: emil
BuildRequires: automake
BuildRequires: bison
BuildRequires: ed
BuildRequires: flex
License: GPL-2.0-or-later
Group: Productivity/Networking/Email/Utilities
Version: 2.1.0beta9
Release: 0
Summary: E-Mail Filter
# WAS: Source: ftp://ftp.uu.se/pub/unix/networking/mail/emil/emil-2.1.0-beta9.tar.gz
Source: emil-2.1.0-beta9.tar.gz
Patch0: emil-2.1.0-beta9.diff
# WAS: Patch1: ftp://ftp.uu.se/pub/unix/networking/mail/emil/emil-2.1.0-beta9.patch1
Patch1: emil-2.1.0-beta9.patch1
Patch2: warn.patch
Patch3: emil-2.1.0-beta9-flex.patch
Patch4: emil-2.1.0-beta9-getline.patch
Patch5: emil-2.1.0-beta9-destdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This program enables you to convert MIME, SUN mailtool, and 'plain old
style RFC822'.
It is especially useful for elm users.
%prep
%autosetup -p0 -n emil-2.1.0-beta9
%build
export CFLAGS=-fpermissive
autoreconf -fiv
%configure
make %{?_smp_mflags} SENDMAILPATH=/usr/sbin/sendmail
%install
%makeinstall
%files
%defattr(-,root,root)
/usr/bin/emil
%{_libdir}/charsets.cpl
%config %{_libdir}/emil.cf
%{_mandir}/man8/emil.8.gz
%{_mandir}/man8/emil.cf.8.gz
%changelog