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

Annotation of /rpms/smeserver-jinzora/contribs7/smeserver-jinzora-0.9.spec

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


Revision 1.3 - (hide annotations) (download)
Sat Dec 22 22:18:30 2007 UTC (16 years, 5 months ago) by slords
Branch: MAIN
Changes since 1.2: +0 -2 lines
Remove Packager/Distribution (added by buildsys)

1 slords 1.1 Summary: smserver rpm to setup jinzora jukebox
2     %define name smeserver-jinzora
3     Name: %{name}
4     %define version 0.9
5     %define release 7
6     Version: %{version}
7 slords 1.2 Release: %{release}%{?dist}
8 slords 1.1 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     Requires: jinzora
16     AutoReqProv: no
17    
18     %description
19     smserver rpm to setup jinzora jukebox
20    
21     %changelog
22     * Fri Apr 6 2007 Stephen Noble <stephen@dungog.net>
23     - revert mysql password creation
24     - [0.9-7]
25    
26     * Sun Feb 4 2007 Stephen Noble <support@dungog.net>
27     - remove phpinfo
28     - simplify mysql password creation
29     - don't alias / in httpd for nul values in URL
30     - [0.9-6]
31    
32     * Mon Dec 11 2006 Stephen Noble <support@dungog.net>
33     - rpm %post events reordered, to enable clean install
34     - [0.9-5]
35    
36     * Thu Nov 9 2006 Stephen Noble <support@dungog.net>
37     - http PublicAccess setting added
38     - [0.9-4]
39    
40     * Tue May 2 2006 Stephen Noble <support@dungog.net>
41     - :/tmp added to open_basedir
42     - php settings in httpd increased
43     - todo, still get timed out and error syncing to mpeg errors
44     - possible cause of httpd slowing down requiring
45     - /etc/rc.d/init.d/httpd-e-smith restart
46     - [0.9-3]
47    
48     * Tue May 2 2006 Stephen Noble <support@dungog.net>
49     - permissions script removed
50     - actions moved to post from webapp-upgrade
51     - [0.9-2]
52    
53     * Sun Apr 16 2006 Stephen Noble <support@dungog.net>
54     - initial release
55     - [0.9-1]
56    
57     %prep
58     %setup
59    
60     %build
61     perl createlinks
62     mkdir -p root/etc/e-smith/db/accounts/defaults/jinzora
63     echo "reserved" > root/etc/e-smith/db/accounts/defaults/jinzora/type
64    
65     mkdir -p root/etc/e-smith/db/configuration/defaults/jinzora
66     echo "Jinzora Jukebox" > root/etc/e-smith/db/configuration/defaults/jinzora/Name
67     echo "local" > root/etc/e-smith/db/configuration/defaults/jinzora/PublicAccess
68    
69     %install
70     rm -rf $RPM_BUILD_ROOT
71     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
72     rm -f %{name}-%{version}-filelist
73     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
74     echo "%doc COPYING" >> %{name}-%{version}-filelist
75    
76     %clean
77     cd ..
78     rm -rf %{name}-%{version}
79    
80     %pre
81    
82     %preun
83    
84     %post
85     /etc/e-smith/events/actions/initialize-default-databases
86     /sbin/e-smith/expand-template /etc/e-smith/sql/init/80jinzora.sql
87     /etc/rc.d/init.d/mysql.init start
88     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
89     /usr/local/bin/svc -h /service/httpd-e-smith
90    
91     echo ""
92     echo "see www.dungog.net/sme/webapp.php"
93     echo "current settings 'config show jinzora'..."
94     /sbin/e-smith/config show jinzora
95    
96     %postun
97     #uninstall
98     if [ $1 = 0 ] ; then
99     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
100     /usr/local/bin/svc -h /service/httpd-e-smith
101     fi
102    
103     %files -f %{name}-%{version}-filelist
104     %defattr(-,root,root)
105    

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