summaryrefslogtreecommitdiffstats
path: root/packaging/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpm')
-rw-r--r--packaging/rpm/agl-cmake-apps-module.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/packaging/rpm/agl-cmake-apps-module.spec b/packaging/rpm/agl-cmake-apps-module.spec
index 950514c..3124f97 100644
--- a/packaging/rpm/agl-cmake-apps-module.spec
+++ b/packaging/rpm/agl-cmake-apps-module.spec
@@ -33,7 +33,7 @@ framework binder apps.
%build
[ ! -d build ] && mkdir build
cd build
-cmake ..
+cmake -DCMAKE_INSTALL_PREFIX=/usr ..
%install
[ -d build ] && cd build
@@ -42,8 +42,14 @@ cmake ..
%files
%defattr(-,root,root)
%dir %{_datadir}/cmake/Modules/
+%dir %{_defaultdocdir}/CMakeAfbTemplates/
%{_datadir}/cmake/Modules/*
+%{_defaultdocdir}/CMakeAfbTemplates/*
%changelog
+* Wed Dec 12 2018 Romain
+- Separation of docs files at installation
+- Fix the install prefix at build time
+
* Thu Nov 5 2018 Romain
- initial creation