/[smecontribs]/rpms/tf-b4rt/contribs7/tf-b4rt.spec
ViewVC logotype

Contents of /rpms/tf-b4rt/contribs7/tf-b4rt.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Dec 23 21:55:58 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package tf-b4rt-1.0.beta1-1.src.rpm

1 %define name tf-b4rt
2 %define version 1.0.beta1
3 %define release 1
4 Summary: Torrentflux-b4rt is a web based transfer control client.
5 Name: %{name}
6 Version: %{version}
7 Release: %{release}%{?dist}
8 Distribution: SME Server
9 License: GNU GPL version 2
10 URL: http://tf-b4rt.berlios.de/
11 Group: SMEserver/addon
12 Source: torrentflux-b4rt_1.0-beta1.tar.bz2
13 Packager: Stephen Noble <support@dungog.net>
14 BuildArchitectures: noarch
15 BuildRoot: /var/tmp/%{name}-%{version}
16 Requires: e-smith-release >= 7.0
17 AutoReqProv: no
18
19 %description
20 http://tf-b4rt.berlios.de/
21 Torrentflux-b4rt is a web based transfer control client.
22
23 Torrentflux-b4rt allows you to control your internet downloads / transfers from anywhere
24 using a highly configurable web based front end.
25
26 %changelog
27 * Sun Sep 16 2007 Stephen Noble <support@dungog.net> 1.0-beta1
28 - initial release
29 - builds from unchanged .tar.bz2
30
31 %prep
32 %setup -c -n torrentflux-b4rt_1.0-beta1
33 %build
34 #drop in an unchanged .tgz
35 mkdir -p root/opt/
36 mv torrentflux-b4rt_1.0-beta1 root/opt/b4rt
37 rm -rf root/opt/b4rt/clients #don't need these, lets save some bandwidth
38 mkdir -p root/opt/b4rt/html/downloads
39 mv root/opt/b4rt/html/setup.php root/opt/b4rt/setup.php #move setup from html
40 mv root/opt/b4rt/doc/manual.txt root/opt/b4rt/html #make manual visible
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
45 rm -f %{name}-%{version}-filelist
46 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
47 --dir '/opt/b4rt/html/inc/config' 'attr(775,www,www)' \
48 --dir '/opt/b4rt/html/downloads' 'attr(775,www,www)' \
49 > %{name}-%{version}-filelist
50
51 %clean
52 cd ..
53 rm -rf %{name}
54
55 %pre
56 %preun
57 %post
58 %postun
59
60 %files -f %{name}-%{version}-filelist
61 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed