From a7a75b9c1316fc0fbefdae19a35dc1a4655efcf2 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Fri, 16 Jul 2021 19:20:07 -0400 Subject: [PATCH] Start filling in RPM package --- dist/rpm/arsse.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/dist/rpm/arsse.spec b/dist/rpm/arsse.spec index 29f5c4af..af52ae4c 100644 --- a/dist/rpm/arsse.spec +++ b/dist/rpm/arsse.spec @@ -126,5 +126,14 @@ generally preferred as it receives more testing. # Nothing to do %install -cp -r lib locale sql vendor www CHANGELOG UPGRADING README.md arsse.php "%{buildroot}/usr/share/php/arsse" -cp -r manual/* "%{buildroot}/usr/share/doc/arsse" +mkdir -p "%{buildroot}%{_datadir}/php/arsse" "%{buildroot}%{_mandir}" +cp -r lib locale sql vendor www CHANGELOG UPGRADING README.md arsse.php "%{buildroot}%{_datadir}/php/arsse" +cp -r dist/man/* "%{buildroot}%{_mandir}" +install -Dm755 dist/arsse "%{buildroot}%{_bindir}/arsse" + +%files +%license LICENSE AUTHORS +%doc manual/* +%{_datadir}/php/arsse +%{_mandir}/man*/arsse.* +%{_bindir}/arsse