Name: kanboard Version: 1.0.8 Release: 1%{?dist} Summary: Simple visual task board License: GPLv3 URL: http://www.kanboard.net Source0: http://github.com/fguillot/kanboard/archive/v%{version}/%{name}-%{version}.tar.gz Source1: kanboard-httpd-conf BuildRequires: web-assets-devel Requires: httpd Requires: php >= 5.3.3 Requires: php-mbstring Requires: php-pdo Requires: mod_php %description Kanboard is a simple visual task board web application. * Inspired by the Kanban methodology * Get a visual and clear overview of your project * Multiple boards with the ability to drag and drop tasks * Minimalist software, focus only on essential features (Less is more) * Open source and self-hosted * Super simple installation %prep %setup -q cp %{SOURCE1} . %build #Nothing to build %install #Application mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/kanboard mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/kanboard cp -pr * ${RPM_BUILD_ROOT}%{_datadir}/kanboard cp -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/kanboard %post cp ${RPM_BUILD_ROOT}%{_datadir}/kanboard/kanboard-httpd-conf ${RPM_BUILD_ROOT}/etc/httpd/conf.d/kanboard.conf /usr/bin/ln -s ${RPM_BUILD_ROOT}%{_datadir}/kanboard/config.default.php ${RPM_BUILD_ROOT}%{_sysconfdir}/kanboard/config.php %files %dir %{_datadir}/kanboard %{_datadir}/kanboard/* %{!?_licensedir:%global license %%doc} %license LICENSE %doc README.markdown %attr(0644, root, root) %changelog * Sat Oct 25 2014 José Edgardo López Vásquez - First Release of the RPM package