/[smecontribs]/rpms/jinzora/contribs7/jinzora.spec
ViewVC logotype

Contents of /rpms/jinzora/contribs7/jinzora.spec

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


Revision 1.4 - (show annotations) (download)
Tue Nov 25 16:20:12 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +0 -0 lines
Restore

1 # $Id: jinzora.spec,v 1.2 2008/04/02 15:03:55 slords Exp $
2 # Authority: dungog
3 # Name: Stephen Noble
4
5 Summary: jinzora installed in /opt/jinzora
6 %define name jinzora
7 Name: %{name}
8 %define version 2.7.5
9 %define release 1
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 URL: http://www.dungog.net/sme
14 Group: SMEserver/addon
15 Source: %{name}-%{version}.tar.gz
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 jinzora.org,
24 Jinzora enables you to stream your digital music and videos
25 to any internet connected computer using a web browser.
26
27 %changelog
28 * Fri Apr 6 2007 Stephen Noble <stephen@dungog.net>
29 - upstream release
30 - [2.7-5]
31
32 * Sun Feb 4 2007 Stephen Noble <support@dungog.net>
33 - upstream release
34 - [2.7-1]
35
36 * Sun Aug 13 2006 Stephen Noble <support@dungog.net>
37 - upstream release
38 - [2.6-1]
39
40 * Tue May 2 2006 Stephen Noble <support@dungog.net>
41 - permissions fixed
42 - moved to /opt/jinzora
43 - [2.3.7-2]
44
45 * Sat Apr 29 2006 Stephen Noble <support@dungog.net>
46 - initial release
47 - [2.3.7-1]
48
49 %prep
50 %setup
51
52 %build
53 #touch root/opt/jinzora/settings.php
54 # --file '/opt/jinzora/settings.php' 'attr(660,www,www)' \
55 #touch root/opt/jinzora/jukebox/settings.php
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
60 rm -f %{name}-%{version}-filelist
61 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
62 --file '/opt/jinzora/jukebox/settings.php' 'attr(660,www,www)' \
63 --dir '/opt/jinzora/data' 'attr(764,www,www)' \
64 --dir '/opt/jinzora/data/artists' 'attr(764,www,www)' \
65 --dir '/opt/jinzora/data/cache' 'attr(764,www,www)' \
66 --dir '/opt/jinzora/data/cache/discussions' 'attr(764,www,www)' \
67 --dir '/opt/jinzora/data/cache/featured' 'attr(764,www,www)' \
68 --dir '/opt/jinzora/data/cache/nodes' 'attr(764,www,www)' \
69 --dir '/opt/jinzora/data/cache/request' 'attr(764,www,www)' \
70 --dir '/opt/jinzora/data/cache/tracks' 'attr(764,www,www)' \
71 --dir '/opt/jinzora/data/counter' 'attr(764,www,www)' \
72 --dir '/opt/jinzora/data/database' 'attr(764,www,www)' \
73 --dir '/opt/jinzora/data/database/discussions' 'attr(764,www,www)' \
74 --dir '/opt/jinzora/data/discussions' 'attr(764,www,www)' \
75 --dir '/opt/jinzora/data/downloads' 'attr(764,www,www)' \
76 --dir '/opt/jinzora/data/featured' 'attr(764,www,www)' \
77 --dir '/opt/jinzora/data/featured/albums' 'attr(764,www,www)' \
78 --dir '/opt/jinzora/data/featured/artists' 'attr(764,www,www)' \
79 --dir '/opt/jinzora/data/id3-cache' 'attr(764,www,www)' \
80 --dir '/opt/jinzora/data/id3-cache/discussions' 'attr(764,www,www)' \
81 --dir '/opt/jinzora/data/id3-cache/featured' 'attr(764,www,www)' \
82 --dir '/opt/jinzora/data/id3-cache/nodes' 'attr(764,www,www)' \
83 --dir '/opt/jinzora/data/id3-cache/request' 'attr(764,www,www)' \
84 --dir '/opt/jinzora/data/id3-cache/tracks' 'attr(764,www,www)' \
85 --dir '/opt/jinzora/data/id3-database' 'attr(764,www,www)' \
86 --dir '/opt/jinzora/data/images' 'attr(764,www,www)' \
87 --dir '/opt/jinzora/data/ratings' 'attr(764,www,www)' \
88 --dir '/opt/jinzora/data/tracks' 'attr(764,www,www)' \
89 --dir '/opt/jinzora/data/users' 'attr(764,www,www)' \
90 --dir '/opt/jinzora/data/viewed' 'attr(764,www,www)' \
91 --dir '/opt/jinzora/temp' 'attr(764,www,www)' \
92 > %{name}-%{version}-filelist
93 echo "%doc COPYING" >> %{name}-%{version}-filelist
94
95 %clean
96 cd ..
97 rm -rf %{name}-%{version}
98
99 %pre
100 #do we need to save settings.php ??
101 if [ -e /opt/jinzora/settings.php ] ; then
102 cp /opt/jinzora/settings.php /opt/jinzora/settings.php.bak
103 echo "/opt/jinzora/settings.php.bak created"
104 fi
105
106 %preun
107 %post
108 %postun
109
110 %files -f %{name}-%{version}-filelist
111 %defattr(-,root,root)
112

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