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

RPM SPEC file

parent fb3abecf
%define projectdir %{_datadir}/web2project
%define modname invoice
Summary: Invoice is a module web2project.
Name: web2project-%{modname}
Version: 0.6
Release: 1%{?dist}
License: GPL
Group: Web/Applications
Source0: %{name}-%{version}.tar.gz
URL: http://git.m2x.eu/web2project/timesheet.git
Requires: web2project >= 3.0
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%prep
%setup -q -n %{modname}
%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
Invoice is a web2project module that gives an overview of worked hours per project.
The module is based upon the original invoice module.
%changelog
* Mon Jan 27 2014 Jean-Paul Saman <packages@m2x.nl> - 0.6-rc1
- Port to web2project 3.0
- Add "Invoice Loss" view
- Add total of hours worked to "Invoice creation" view
* Thu Jan 05 2012 Jean-Paul Saman <packages@m2x.nl> - 0.4-3
- Fix php declaration tags
* Wed Jan 04 2012 Jean-Paul Saman <packages@m2x.nl> - 0.4-2
- Fixes for PHP >= 5.3
* Tue Jan 03 2012 Jean-Paul Saman <packages@m2x.nl> - 0.4-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