%define name smeserver-limesurvey %define version 0.1.3 %define release 1 Summary: SME server integration of limesurvey Name: %{name} Version: %{version} Release: %{release}%{?dist} Epoch: 9 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 >= 2.05.131219 Requires: smeserver-webapps-common AutoReqProv: no %description Integration of LimeSurvey on SME Server %changelog * Wed Apr 23 2014 Daniel Berteaud 0.1.3-1.sme - New branch for SME9 - Fix basic auth on SME9 * Fri Dec 20 2013 Daniel Berteaud 0.1.2-1.sme - Adapt auth for LimeSurvey 2.05 (plugin based) * Tue Dec 3 2013 Daniel Berteaud 0.1.1-1.sme - Grant admin privileges for members of the surveyadmins group * 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