You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1015 B
54 lines
1015 B
Summary: iPasserelle Survey applications
|
|
%define name ipasserelle-sondages
|
|
Name: %{name}
|
|
%define version 0.1.0
|
|
%define release 0.beta0
|
|
Version: %{version}
|
|
Release: %{release}%{?dist}
|
|
License: GPLv2+
|
|
URL: http://www.ipasserelle.com/
|
|
Group: SMEserver/addon
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
|
|
|
Requires: ipasserelle-base >= 0.1-14
|
|
Requires: smeserver-opensondage
|
|
Requires: smeserver-limesurvey
|
|
|
|
BuildRequires: e-smith-devtools
|
|
|
|
%description
|
|
Integrate survey applications
|
|
OpenSondage and Limesurvey
|
|
|
|
* Mon Nov 18 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1
|
|
- initial release
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%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
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%pre
|
|
|
|
%preun
|
|
|
|
%post
|
|
|
|
%postun
|
|
|
|
%files -f %{name}-%{version}-filelist
|
|
%defattr(-,root,root)
|
|
|
|
|