/[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.4 - (show annotations) (download)
Sun Apr 6 14:55:54 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: tf-b4rt-1_0_beta2-1_el4_sme
Changes since 1.3: +10 -7 lines
Import on branch contribs7 of package tf-b4rt-1.0.beta2-1.el4.sme.src.rpm

1 # $Id: tf-b4rt.spec,v 1.3 2008/04/02 15:04:00 slords Exp $
2 # Authority: dungog
3 # Name: Stephen Noble
4
5 %define name tf-b4rt
6 %define version 1.0.beta2
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-beta2.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 * Fri Apr 4 2008 Stephen Noble <support@dungog.net> 1.0-beta2
31 - upstream release
32
33 * Sun Sep 16 2007 Stephen Noble <support@dungog.net> 1.0-beta1
34 - initial release
35 - builds from unchanged .tar.bz2
36
37 %prep
38 %setup -c -n torrentflux-b4rt_1.0-beta2
39 %build
40 #drop in an unchanged .tgz
41 mkdir -p root/opt/
42 mv torrentflux-b4rt_1.0-beta2 root/opt/b4rt
43 rm -rf root/opt/b4rt/clients #don't need these, lets save some bandwidth
44 mkdir -p root/opt/b4rt/html/downloads
45 mv root/opt/b4rt/html/setup.php root/opt/b4rt/setup.php #move setup from html
46 mv root/opt/b4rt/doc/manual.txt root/opt/b4rt/html #make manual visible
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
51 rm -f %{name}-%{version}-filelist
52 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
53 --dir '/opt/b4rt/html/inc/config' 'attr(775,www,www)' \
54 --dir '/opt/b4rt/html/downloads' 'attr(775,www,www)' \
55 > %{name}-%{version}-filelist
56
57 %clean
58 cd ..
59 rm -rf %{name}
60
61 %pre
62 %preun
63 %post
64 %postun
65
66 %files -f %{name}-%{version}-filelist
67 %defattr(-,root,root)

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