Commit fbdf399e authored by Jean-Paul Saman's avatar Jean-Paul Saman

Add rpm specfile

parent 4ec527ec
%define projectdir %{_datadir}/web2project
%define modname helpdesk
Summary: Helpdesk module.
Name: web2project-%{modname}
Version: 1.0
Release: 1%{?dist}
License: GPL
Group: Web/Applications
Source0: %{name}-%{version}.tar.gz
URL: https://github.com/web2project/web2project-%{modname}/archive/master.zip
Requires: web2project >= 3.0
BuildArch: noarch
#BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%prep
%setup -q -n %{modname}
%clean
rm -fr $RPM_BUILD_ROOT
%install
#rm -rf $RPM_BUILD_ROOT
install -d %{buildroot}%{projectdir}/modules/%{modname}
find . -type f -exec install -m 0644 -D '{}' %{buildroot}%{projectdir}/modules/%{modname}/'{}' \;
%files
%defattr(-,root,apache,-)
# Remember to include other documentation text here as well
#%doc ChangeLog COPYING LICENSE README
#%doc README changelog
# Remember to exclude all documentation texts from above
#%exclude %{projectdir}/ChangeLog
#%exclude %{projectdir}/COPYING
#%exclude %{projectdir}/LICENSE
#%exclude %{projectdir}/README
%{projectdir}/modules/%{modname}
%description
Helpdesk module for web2project.
%changelog
* Wed Jan 20 2015 Jean-Paul Saman <packages@m2x.nl> - 1.0.0
- Release 1.0.0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment