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

Annotation of /rpms/jinzora/contribs7/jinzora-2.7.5.spec

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


Revision 1.1 - (hide annotations) (download)
Sat Dec 22 21:25:09 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package jinzora-2.7.5-1.src.rpm

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

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