/[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.3 - (show annotations) (download)
Wed Apr 2 15:04:00 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
Changes since 1.2: +4 -0 lines
Add Id, Authority, Name

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

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