File mlmmj-webarchiver.spec of Package mlmmj-webarchiver
Name: mlmmj-webarchiver
Summary: Web archiver for mlmmj
Version: 1.0.0
Release: 1
License: GPL-3.0+
Requires: perl
Requires: MHonArc
Group: Productivity/Other
Source: https://gitlab.com/mlmmj/mlmmj-webarchiver/-/archive/v%{version}/%{name}-v%{version}.tar.gz
#
Patch0: https://gitlab.com/mlmmj/mlmmj-webarchiver/-/commit/1dbb111720a6c6fc092c0b5a670d4a48a7305fb0.patch
Patch1: https://gitlab.com/mlmmj/mlmmj-webarchiver/-/commit/40fdbaf9cb162f6bc8c356492fc00529372414fe.patch
Patch2: https://gitlab.com/mlmmj/mlmmj-webarchiver/-/commit/17a3374197086474fded2ea4a2c738284d75e89c.patch
#
Url: https://gitlab.com/mlmmj/mlmmj-webarchiver/
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a web archiver for the mlmmj mailing list software.
%prep
%autosetup -p1 -n %{name}-v%{version}
%build
%install
install -d -m 0755 %{buildroot}%{_bindir}
install -d -m 0755 %{buildroot}%{_sysconfdir}
cp -a mlmmj-webarchiver %{buildroot}%{_sysconfdir}
install -m 0755 mlmmj-webarchiver.sh %{buildroot}%{_bindir}/mlmmj-webarchiver.sh
%files
%doc README
%license LICENSE
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/mlmmj-webarchiver.conf
%config(noreplace) %{_sysconfdir}/%{name}/mhonarc.rc
%config(noreplace) %{_sysconfdir}/%{name}/index.php.newlist
%config(noreplace) %{_sysconfdir}/%{name}/search.php.newlist
%config %{_sysconfdir}/%{name}/mhonarc
%config %{_sysconfdir}/%{name}/skel
%{_bindir}/mlmmj-webarchiver.sh
%changelog