diff --git a/alex.spec b/alex.spec index a55d54f..cae4db1 100644 --- a/alex.spec +++ b/alex.spec @@ -89,6 +89,8 @@ install dist/build/%{name}/%{name}.static %{buildroot}%{_bindir} touch %{buildroot}%{_bindir}/%{name} %endif +install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1 + rm %{buildroot}%{ghc_pkgdocdir}/LICENSE @@ -146,17 +148,19 @@ fi %{_bindir}/%{name}.dynamic %else %license LICENSE -%doc ANNOUNCE README TODO doc/alex examples +%doc CHANGELOG.md README TODO doc/alex examples %{_bindir}/%{name} %{_datadir}/%{name}-%{version} +%{_mandir}/man1/alex.1* %endif %if %{with static} %files common %license LICENSE -%doc ANNOUNCE README TODO doc/alex examples +%doc CHANGELOG.md README TODO doc/alex examples %{_datadir}/%{name}-%{version} +%{_mandir}/man1/alex.1* %files static @@ -168,6 +172,7 @@ fi %changelog * Thu Jun 23 2016 Jens Petersen - 3.1.7-1 - update to 3.1.7 +- install manpage * Mon Jun 6 2016 Jens Petersen - 3.1.4-5 - rebuild