smeserver-transmission/smeserver-transmission.spec

81 lines
2.7 KiB
RPMSpec

%define name smeserver-transmission
%define version 0.0.3
%define release 3
Summary: transmission is a helpdesk system to download the SME Server iso
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Distribution: SME Server
License: GNU GPL version 2
Group: SMEserver/addon
Source: smeserver-transmission-%{version}.tar.xz
BuildArchitectures: noarch
BuildRoot: /var/tmp/%{name}-%{version}-buildroot
BuildRequires: smeserver-devtools
Requires: smeserver-release >= 8.0
Requires: transmission >= 2.70
AutoReqProv: no
#Patch0: smeserver-transmission-0.0.1_set_admin_user_and_64_version.patch
%description
transmission is an application adapted as a contrib for SMEserver, to help the seeding of the SME Server CDROM ISO.
%changelog
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 0.0.3-3.sme
- Fix e-smith references in smeserver-transmission [SME: 12732]
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 0.0.3-2.sme
- Roll up patches and move to git repo [SME: 12338]
* Sat Sep 07 2024 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
Fri Dec 27 2014 --> Fri Dec 26 2014 or Sat Dec 27 2014 or Fri Jan 02 2015 or ....
* Sat Dec 27 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.3-1
Fri Dec 27 2014 --> Fri Dec 26 2014 or Sat Dec 27 2014 or Fri Jan 02 2015 or ....
- corrected array issues in templated configuration files [SME: 8749]
- corrected the path of unixgroup to /usr/bin/unixgroup
* Mon May 12 2014 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.2-1
- removed the post-upgrade from template2expand
* Sun Nov 17 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-9
- add folder /var/lib/transmission/Downloads to avoid log errors
- add a db command to choose the location of transmission download folder
* Sat Nov 16 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-6
- final release
* Fri Nov 15 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-3
- Modified smeserver templates (settings.json,61transmission-reverse-proxy)
- Add a web folder to download torrent https://sme-ip/transmission-dl
* Tue Nov 12 2013 Stéphane de Labrusse <stephdl@de-labrusse.fr> 0.0.12
- The work continue
* Sat Nov 09 2013 CONTRIB MAKER <tests@pialasse.com> 0.0.1-1.sme
- initial release
- builds from unchanged .tar.gz
%prep
%setup
#%patch0 -p1
%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
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%pre
%post