%define name smeserver-limesurvey %define version 0.1.0 %define release 1.beta0 Summary: SME server integration of limesurvey Name: %{name} Version: %{version} Release: %{release}%{?dist} License: GNU GPL version 2 URL: http://www.limesurvey.org Group: SMEserver/addon Source: %{name}-%{version}.tar.gz BuildArchitectures: noarch BuildRequires: e-smith-devtools BuildRoot: /var/tmp/%{name}-%{version} Requires: e-smith-base Requires: limesurvey Requires: smeserver-webapps-common AutoReqProv: no %description Integration of LimeSUrvey on SME Server %changelog * Thu Nov 7 2013 Daniel Berteaud 0.1.0-1.sme - First release %prep %setup %build #perl ./createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ > %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root) %clean rm -rf $RPM_BUILD_ROOT %postun