Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
M17N
hypermail
hypermail.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hypermail.spec of Package hypermail
# # spec file for package hypermail # # Copyright (c) 2023 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/ # %define ap_apxs %(ls -1 /usr/{,s}bin/apxs{,2} 2>/dev/null | head -n 1) %define apache_serverroot %(%{ap_apxs} -q PREFIX) Name: hypermail Version: 2.2.0.20070131 Release: 0 Summary: Convert Mail Archives in mailbox Format to HTML Pages License: GPL-2.0-only Group: Productivity/Networking/Email/Utilities URL: https://www.hypermail-project.org/ Source: http://www.hypermail.org/dist/%{name}-%{version}.tar.bz2 Patch0: %{name}-2.1.8-docs.patch Patch1: %{name}-2.1.8-s390.patch Patch2: %{name}-setup.patch Patch3: %{name}-audit.patch Patch4: hypermail-gcc4.diff Patch5: nonstaticpcre.patch Patch6: strip.patch Patch7: %{name}-2.2.0-comparison.diff Patch8: 64bit.patch Patch9: %{name}-strcasestr.patch BuildRequires: apache2-devel BuildRequires: bison BuildRequires: gdbm-devel BuildRequires: libapr-util1-devel BuildRequires: libtool BuildRequires: pcre-devel Obsoletes: hypemail %description Hypermail is a program that takes a file of mail messages in mailbox format and generates a set of cross-referenced HTML documents. Each file that is created represents a separate message in the mail archive and contains links to other articles, so that the entire archive can be browsed in a number of ways by following links. Archives generated by Hypermail can be incrementally updated, and Hypermail is set by default to only update archives when changes are detected. %prep %setup -q %patch0 %patch1 %patch2 -p1 %patch3 -p1 %patch4 %patch5 %patch6 %patch7 %patch8 -p1 %patch9 -p1 find . -name CVS -type d | xargs rm -rf find . -type f | xargs chmod u+w %build export CFLAGS="%{optflags}" export CFLAGS=" -g -O0 " rm -rf src/pcre libtoolize --force aclocal autoconf %configure \ --with-htmldir=%{_defaultdocdir}/hypermail/docs \ --with-httpddir=%{apache_serverroot} %make_build %install mkdir -p %{buildroot}/%{_defaultdocdir}/hypermail/docs make prefix=%{buildroot}%{_prefix} \ mandir=%{buildroot}/%{_mandir} \ infodir=%{buildroot}/%{_infodir} \ htmldir=%{buildroot}/%{_defaultdocdir}/hypermail/docs \ bindir=%{buildroot}%{_bindir} install make -C src cgidir=%{buildroot}%{apache_serverroot}/cgi-bin mail.install cp -vr contrib/ %{buildroot}/%{_defaultdocdir}/hypermail/ rm docs/Makefile* docs/hmrc.4 docs/hypermail.1 # don't install these files in %files sect. %files %doc docs contrib %doc KNOWN_BUGS README TODO UPGRADE Changelog %dir %{apache_serverroot}/cgi-bin %{_bindir}/hypermail %{_bindir}/msg2archive %{_bindir}/rdmsg %{apache_serverroot}/cgi-bin/mail %{_mandir}/man1/hypermail.1%{?ext_man} %{_mandir}/man4/hmrc.4%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor