%define oname Grutatxt Name: grutatxt Summary: Text to HTML converter Version: 2.0.16 Release: %mkrel 9 Source0: http://triptico.com/download/%{oname}-%{version}.tar.gz URL: http://www.triptico.com/software/grutatxt.html Group: Text tools License: GPLv2 BuildArch: noarch Provides: %{oname} = %{EVRD} %description Grutatxt is a plain text to HTML (and other formats) converter. It successfully converts subtle text markup to lists, bold, italics, tables and headings to their corresponding HTML, troff, man page or LaTeX markup without having to write unreadable source text files. Grutatxt is a Perl module and a command line utility, and is the main text renderer in the Gruta CMS. %prep %setup -q -n %{oname}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %install %make_install install -p -m644 %{name}.1 -D %{buildroot}%{_mandir}/man1/%{name}.1 %files %doc AUTHORS Changelog.1 README RELEASE_NOTES TODO %doc doc/grutatxt_apache_handlers.txt doc/grutatxt_markup.txt %{_bindir}/%{name} %{_bindir}/pod2%{name} %{perl_vendorlib}/%{oname}.pm %{_mandir}/man1/*.1* %{_mandir}/man3/*.3* %changelog * Thu Sep 20 2018 umeabot <umeabot> 2.0.16-9.mga7 (not released yet) + Revision: 1278639 - Mageia 7 Mass Rebuild * Fri Feb 16 2018 kekepower <kekepower> 2.0.16-8.mga7 + Revision: 1201689 - Use %%make_build and %%make_install * Sat Jun 18 2016 pterjan <pterjan> 2.0.16-7.mga6 + Revision: 1022147 - Rebuild for perl 5.22.2 * Sat Feb 06 2016 umeabot <umeabot> 2.0.16-6.mga6 + Revision: 941270 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 2.0.16-5.mga5 + Revision: 748895 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 2.0.16-4.mga5 + Revision: 679957 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 2.0.16-3.mga4 + Revision: 505243 - Mageia 4 Mass Rebuild * Sat Jan 12 2013 umeabot <umeabot> 2.0.16-2.mga3 + Revision: 352683 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Dec 06 2011 shlomif <shlomif> 2.0.16-1.mga2 + Revision: 177396 - imported package grutatxt * Sun Dec 05 2011 Johnny A. Solbu <solbu@mandriva.org> 2.0.16-1mga1 * Initial Mageia package * Tue Jul 19 2011 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.0.16-1 + Revision: 690619 - drop obsolete %%mkrel - split %%doc into two lines - use INSTALLDIRS=vendor to get everything installed in the right locations fix %%files - drop redundant perl dependency, auto dep generator will generate it - prefer lower case naming of package + Johnny A. Solbu <solbu@mandriva.org> - Initial mandriva release - Spec cleanup - import Grutatxt