webbuilder_pel7ppc64lebuilder0
4 years ago
1 changed files with 129 additions and 0 deletions
@ -0,0 +1,129 @@ |
|||||||
|
%define _legacy_common_support 1 |
||||||
|
|
||||||
|
Name: maildir-utils |
||||||
|
Version: 1.4.1 |
||||||
|
Release: 1%{?dist} |
||||||
|
Summary: A command-line mail organization utility |
||||||
|
|
||||||
|
License: GPLv3+ |
||||||
|
URL: http://www.djcbsoftware.nl/code/mu/index.html |
||||||
|
Source0: https://github.com/djcb/mu/releases/download/%{version}/mu-%{version}.tar.xz |
||||||
|
|
||||||
|
BuildRequires: gcc |
||||||
|
BuildRequires: gcc-c++ |
||||||
|
|
||||||
|
# Needed for patching stuff |
||||||
|
BuildRequires: libtool |
||||||
|
BuildRequires: automake |
||||||
|
BuildRequires: pkgconfig(glib-2.0) |
||||||
|
BuildRequires: pkgconfig(gobject-2.0) |
||||||
|
BuildRequires: pkgconfig(gio-2.0) |
||||||
|
BuildRequires: pkgconfig(gmime-3.0) |
||||||
|
BuildRequires: xapian-core |
||||||
|
BuildRequires: xapian-core-devel |
||||||
|
BuildRequires: xapian-core-libs |
||||||
|
BuildRequires: texinfo |
||||||
|
BuildRequires: libuuid-devel |
||||||
|
BuildRequires: dh-autoreconf |
||||||
|
# Current version of mu4e supports emacs versions >= 24.4 |
||||||
|
BuildRequires: emacs >= 24.4 |
||||||
|
Requires: emacs-filesystem >= 24.4 |
||||||
|
Requires: xapian-core |
||||||
|
|
||||||
|
%description |
||||||
|
Maildir-utils (mu) is a command-line utility for organizing and |
||||||
|
searching email. |
||||||
|
|
||||||
|
%package guile |
||||||
|
Summary: Guile bindings for mu (maildir-utils) |
||||||
|
BuildRequires: guile22-devel |
||||||
|
Requires: guile22 |
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release} |
||||||
|
%description guile |
||||||
|
This package contains the Guile bindings for mu |
||||||
|
(maildir-utils). |
||||||
|
|
||||||
|
%package guile-devel |
||||||
|
Summary: Mu-Guile development files |
||||||
|
Requires: %{name}-guile%{?_isa} = %{version}-%{release} |
||||||
|
%description guile-devel |
||||||
|
This package contains the Guile development files for mu |
||||||
|
(maildir-utils). |
||||||
|
|
||||||
|
%prep |
||||||
|
%autosetup -n mu-%{version} |
||||||
|
# Patch the guile files to make sure that the module |
||||||
|
# stuff is installed in the right place |
||||||
|
# This is because the build process ignores any flags |
||||||
|
# that could override the scmdir. |
||||||
|
sed -i 's|^scmdir=${prefix}/share/guile/site/2.0/|scmdir=${prefix}/share/guile/site/2.2/|' guile/Makefile.am |
||||||
|
sed -i 's|^scmdir=${prefix}/share/guile/site/2.0/|scmdir=${prefix}/share/guile/site/2.2/|' guile/mu/Makefile.am |
||||||
|
sed -i 's|${prefix}/share/doc/mu|${prefix}/share/doc/%{name}|' configure.ac |
||||||
|
|
||||||
|
%build |
||||||
|
# Because of the patch above, we have to regenerate the build files. |
||||||
|
autoreconf --force --install --verbose || exit $? |
||||||
|
# Disable the toy GTK GUI "mug". |
||||||
|
%configure --disable-gtk --disable-webkit --disable-static --enable-shared |
||||||
|
%make_build GUILE_SNARF=guile-snarf2.2 |
||||||
|
|
||||||
|
|
||||||
|
%install |
||||||
|
%make_install |
||||||
|
|
||||||
|
# We must remove the "mu"-documentation directory |
||||||
|
# since all of those documents are under |
||||||
|
# maildir-utils |
||||||
|
rm -r %{buildroot}/%{_docdir}/mu |
||||||
|
|
||||||
|
# Remove the dir that gets installed alongside the info-pages |
||||||
|
# as it would conflict with other packages. |
||||||
|
rm %{buildroot}/%{_infodir}/dir |
||||||
|
|
||||||
|
# Remove libtool .la files |
||||||
|
rm %{buildroot}/%{_libdir}/libguile-mu.la |
||||||
|
|
||||||
|
%files |
||||||
|
%license COPYING |
||||||
|
%doc NEWS.org mu4e/mu4e-about.org |
||||||
|
%{_bindir}/mu |
||||||
|
%{_emacs_sitelispdir}/mu4e |
||||||
|
%{_infodir}/mu4e.info.gz |
||||||
|
%{_mandir}/man1/* |
||||||
|
%{_mandir}/man5/* |
||||||
|
%{_mandir}/man7/* |
||||||
|
|
||||||
|
%files guile |
||||||
|
%{_infodir}/mu-guile.info.gz |
||||||
|
%{_datadir}/mu/ |
||||||
|
%{_libdir}/libguile-mu.so.0* |
||||||
|
%{_datadir}/guile/site/2.2/mu.scm |
||||||
|
%{_datadir}/guile/site/2.2/mu/ |
||||||
|
|
||||||
|
%files guile-devel |
||||||
|
%{_libdir}/libguile-mu.so |
||||||
|
|
||||||
|
|
||||||
|
%changelog |
||||||
|
* Thu Apr 23 2020 Jani Juhani Sinervo <jani@sinervo.fi> - 1.4.1-1 |
||||||
|
- Update to 1.4.1 |
||||||
|
- Fix replying to mail (rhbz 1823325) |
||||||
|
|
||||||
|
* Sun Mar 01 2020 Jani Juhani Sinervo <jani@sinervo.fi> - 1.3.9-1.20200229git17f38dc |
||||||
|
- Update to 1.3.9 |
||||||
|
- Fix build issue on rawhide |
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2 |
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
||||||
|
|
||||||
|
* Sun Sep 08 2019 Maximiliano Sandoval <msandova@protonmail.com> - 1.3.3-1 |
||||||
|
- Update to 1.3.3, removed patch merged upstream |
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3 |
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
||||||
|
|
||||||
|
* Sat Jul 06 2019 Omair Majid <omajid@redhat.com> - 1.3.1-2 |
||||||
|
- Fix mu4e-news by fixing mu4e's documentation root path |
||||||
|
|
||||||
|
* Wed Jun 19 2019 Jani Juhani Sinervo <jani@sinervo.fi> - 1.3.1-1 |
||||||
|
- Initial spec |
Loading…
Reference in new issue