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

RPM SPEC file

parent 695afb80
%define projectdir %{_datadir}/web2project
%define modname timesheet
Summary: Timesheet is a module web2project that gives an overview of worked time per month.
Name: web2project-%{modname}
Version: 3.0.0
Release: 1%{?dist}
License: GPL
Group: Web/Applications
Source0: %{name}-%{version}-rc1.tar.gz
URL: http://git.m2x.eu/web2project/timesheet.git
Requires: web2project >= 3.0.0
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%prep
%setup -q -n %{modname}.git
%clean
rm -fr %{buildroot}
%install
rm -rf %{buildroot}
install -d %{buildroot}%{projectdir}/modules/%{modname}
find . -type f -exec install -m 0644 -D '{}' %{buildroot}%{projectdir}/modules/%{modname}/'{}' \;
%files
%defattr(-,root,root,-)
# Remember to include other documentation text here as well
#%doc ChangeLog COPYING LICENSE README
# Remember to exclude all documentation texts from above
#%exclude %{projectdir}/ChangeLog
#%exclude %{projectdir}/COPYING
#%exclude %{projectdir}/LICENSE
#%exclude %{projectdir}/README
%{projectdir}/modules/%{modname}
%description
Timesheet is a web2project module that gives an overview of worked hours per project.
%changelog
* Thu Jan 23 2014 Jean-Paul Saman <packages@m2x.nl> - 3.0.0.rc1-1
- Ported to web2project >= 3.0.0
* Wed Jan 04 2012 Jean-Paul Saman <packages@m2x.nl> - 2.0.1-1
- Fixes for php >= 6.3
* Tue Jan 03 2012 Jean-Paul Saman <packages@m2x.nl> - 2.0.rc4-1
- Initial rpm package
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