/[smecontribs]/rpms/smeserver-updates/contribs8/smeserver-updates.spec
ViewVC logotype

Contents of /rpms/smeserver-updates/contribs8/smeserver-updates.spec

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


Revision 1.3 - (show annotations) (download)
Wed Jun 26 13:28:17 2013 UTC (11 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-updates-1_2-5_el5_sme, HEAD
Changes since 1.2: +7 -2 lines
* Wed Jun 26 2013 JP Pialasse <tests@pialasse.com>  1.2-5.sme
- fixing spec file

1 # $Id: smeserver-updates.spec,v 1.2 2013/06/25 21:13:21 unnilennium Exp $
2 # Authority: dungog
3 # Name: Stephen Noble
4
5 Summary: Update system panel for SMEserver 7
6 %define name smeserver-updates
7 Name: %{name}
8 %define version 1.2
9 %define release 5
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: System/Administration
14 Source: %{name}-%{version}.tar.gz
15 Patch0: smeserver-updates-1.2-patch0.patch
16 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17 BuildArchitectures: noarch
18 Requires: e-smith-release >= 8.0
19 BuildRequires: e-smith-devtools
20 AutoReqProv: no
21
22 %description
23 Update system panel for sme server 8
24 permitting the uploading and installing of .rpms
25
26 %changelog
27 * Wed Jun 26 2013 JP Pialasse <tests@pialasse.com> 1.2-5.sme
28 - fixing spec file
29
30 * Tue Jun 25 2013 JP Pialasse <tests@pialasse.com> 1.2-4.sme
31 - fix yum path [SME: 7478]
32 - patch0
33
34 * Tue Jan 23 2007 Stephen Noble <support@dungog.net>
35 - install with 'yum localinstall'
36 - [1.2-3]
37
38 * Mon Mar 13 2006 Stephen Noble <support@dungog.net>
39 - sme7 version
40 - uploading and installing an rpm fixed
41 - [1.2-2]
42
43 * Tue Dec 13 2005 Stephen Noble <support@dungog.net>
44 - sme7 version
45 - removed all functions except for uploading and installing a rpm
46 - yum is usually a better option
47 - [1.2-1]
48
49 * Tue Feb 19 2002 Darrell May <dmay@netsourced.com>
50 - initial release based on:
51 - eneo-update-1.0-01.noarch.rpm
52 - Vendor: Eneo Tecnologia SC.
53 - Packager: Juan Jesus Prieto <juanprieto@jazzfree.com>
54 - [0.0.1-1]
55
56 %prep
57 %setup
58 %patch0 -p1
59
60
61 %build
62 perl createlinks
63
64 %install
65 /bin/rm -rf $RPM_BUILD_ROOT
66 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
67 /bin/rm -f e-smith-%{version}-filelist
68 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
69
70 %clean
71 cd ..
72 /bin/rm -rf %{name}-%{version}
73
74 %files -f %{name}-%{version}-filelist
75
76 %defattr(-,root,root)
77
78 %pre
79
80 %post
81 #new installs
82
83 #echo " If panel doesnt appear run /etc/e-smith/events/actions/navigation-conf"
84
85 # DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
86 # for db in $DBS ; do
87 # r=`/sbin/e-smith/db $db get update-system`
88 # if [ -z "$r" ] ; then
89 # /sbin/e-smith/db $db set update-system panel Description "Update system" DescriptionWeight 4390 Heading "Administration" HeadingWeight 4000
90 # fi
91 # done
92
93 #if [ -d /etc/e-smith/events/conf-userpanel ] ; then
94 # /sbin/e-smith/signal-event conf-userpanel
95 #fi
96
97 %preun
98
99 %postun
100 #uninstalls
101 #if [ $1 = 0 ] ; then
102 #
103 # DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
104 # for db in $DBS ; do
105 # /sbin/e-smith/db $db delete update-system
106 # done
107 #
108 # #if [ -d /etc/e-smith/events/conf-userpanel ] ; then
109 # # /sbin/e-smith/signal-event conf-userpanel
110 # #fi
111 #
112 #fi

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