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

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

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


Revision 1.1 - (hide annotations) (download)
Tue Feb 26 01:05:31 2008 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: jinzora-2_7_5-1_el4_sme
Remove version from spec

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

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