|
|
|
# Authority: vip-ire
|
|
|
|
# Name: Daniel Berteaud
|
|
|
|
|
|
|
|
%define name smeserver-openupload
|
|
|
|
%define version 0.2.0
|
|
|
|
%define release 1
|
|
|
|
Summary: sme server integration of openupload
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}%{?dist}
|
|
|
|
License: GNU GPL version 2
|
|
|
|
URL: http://openupload.sourceforge.net/
|
|
|
|
Group: SMEserver/addon
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArchitectures: noarch
|
|
|
|
BuildRequires: e-smith-devtools
|
|
|
|
BuildRoot: /var/tmp/%{name}-%{version}
|
|
|
|
Requires: e-smith-base >= 5.2.0-56
|
|
|
|
Requires: openupload
|
|
|
|
Requires: smeserver-webapps-common
|
|
|
|
AutoReqProv: no
|
|
|
|
|
|
|
|
%description
|
|
|
|
smserver integration of openupload.
|
|
|
|
OpenUpload is an open source application to share files over
|
|
|
|
the internet (like MegaUpload or RapidShare for example)
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Mon Nov 19 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
|
|
|
|
- Import in GIT
|
|
|
|
- Make the default access public
|
|
|
|
|
|
|
|
* Wed Oct 19 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-11.sme
|
|
|
|
- Fix public access property handling
|
|
|
|
|
|
|
|
* Thu Jul 21 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-10.sme
|
|
|
|
- Remove DB fragment for authentication
|
|
|
|
|
|
|
|
* Mon Jul 11 2011 Daniel Berteaud <daniel@firrewall-services.com> 0.1-9
|
|
|
|
- Fix accounts defaults fragments location
|
|
|
|
|
|
|
|
* Wed May 04 2011 Daniel B. <daniel@firewall-services.com> 0.1-8
|
|
|
|
- Requires e-smith-base >= 5.2.0-56
|
|
|
|
|
|
|
|
* Thu Feb 17 2011 Daniel B. <daniel@firewall-services.com> 0.1-7
|
|
|
|
- Add default login field for httpldap auth
|
|
|
|
|
|
|
|
* Mon Jan 31 2011 Daniel B. <daniel@firewall-services.com> 0.1-6
|
|
|
|
- Fix templates for LDAP auth
|
|
|
|
- LDAP is now the default auth
|
|
|
|
- Don't add useless rewriterules in apache if alias is disabled
|
|
|
|
- Stop disabling openupload on rpm removal
|
|
|
|
|
|
|
|
* Wed Jan 05 2011 Daniel B. <daniel@firewall-services.com> 0.1-5
|
|
|
|
- Add AliasOnPrimary prop
|
|
|
|
- Support LemonLDAP auth
|
|
|
|
|
|
|
|
* Tue Dec 14 2010 Daniel B. <daniel@firewall-services.com> 0.1-4
|
|
|
|
- Revert previous change
|
|
|
|
|
|
|
|
* Tue Nov 23 2010 Daniel B. <daniel@firewall-services.com> 0.1-3
|
|
|
|
- Change owner and group from apache to www
|
|
|
|
|
|
|
|
* Thu Mar 11 2010 Daniel B. <daniel@firewall-services.com> 0.1-2
|
|
|
|
- put session files in /var/lib/openupload/tmp to prevent conflicts
|
|
|
|
|
|
|
|
* Tue Mar 09 2010 Daniel B. <daniel@firewall-services.com> 0.1-1
|
|
|
|
- initial 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
|
|
|
|
|