Name: piwigo Version: 2.9.3 Release: 1%{?dist} Group: Applications/Internet Summary: Open source photo gallery software for the web License: GPLv2+ URL: http://piwigo.org Source0: http://piwigo.org/download/dlcounter.php?code=%{version}#/%{name}-%{version}.zip BuildArch: noarch Requires: mysql httpd php php-mbstring php-xml php-pecl-imagick perl-Image-ExifTool libjpeg-turbo-utils poppler-utils %description Piwigo is photo gallery software for the web, built by an active community of users and developers. %prep %setup -q -n %{name} %build %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} cp -a * $RPM_BUILD_ROOT%{_datadir}/%{name} rm $RPM_BUILD_ROOT%{_datadir}/%{name}/LICENSE.txt rm $RPM_BUILD_ROOT%{_datadir}/%{name}/README.md %files %defattr(-,root,root,-) %doc LICENSE.txt README.md %{_datadir}/%{name}/* %changelog * Sun Mar 4 2018 Gary T. Giesen - Initial build.