/[smeserver]/rpms/smeserver-support/sme10/smeserver-support.spec
ViewVC logotype

Diff of /rpms/smeserver-support/sme10/smeserver-support.spec

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

Revision 1.1 by stephdl, Fri Feb 5 23:22:16 2016 UTC Revision 1.25 by jpp, Tue Apr 20 02:56:24 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-support.spec,v 1.29 2016/01/20 20:44:34 vip-ire Exp $  # $Id: smeserver-support.spec,v 1.24 2021/04/08 01:50:58 jpp Exp $
2    %define copykooz 2013 - 2021
3  Summary: SME Server module to display support and licensing information  Summary: SME Server module to display support and licensing information
4  %define name smeserver-support  %define name smeserver-support
5  Name: %{name}  Name: %{name}
6  %define version 2.8.0  %define version 2.8.0
7  %define release 1  %define release 20
8    
9  # These packages come from CentOS, but we need to use care when  # These packages come from CentOS, but we need to use care when
10  # updating them - either we've patched them, or we need to do something  # updating them - either we've patched them, or we need to do something
# Line 12  Name: %{name} Line 12  Name: %{name}
12    
13  # TODO: check mkinitrd,mdadm to see if needed  # TODO: check mkinitrd,mdadm to see if needed
14  %define centos_excludes initscripts,libgsf  %define centos_excludes initscripts,libgsf
15  %define centos_remove   kernel,kernel-smp,kernel-xenU,mkinitrd,mdadm,openssl  %define centos_remove   kernel,kernel-smp,kernel-xenU,mkinitrd,mdadm,openssl,samba,samba-client,samba-client-libs,samba-common,samba-common-libs,samba-common-tools,samba-libs,samba*,libsmbclient,libwbclient,libtevent,python-tevent
16    
17  Version: %{version}  Version: %{version}
18  Release: %{release}%{?dist}  Release: %{release}%{?dist}
19  License: GPL  License: GPL
20  Group: Networking/Daemons  Group: Networking/Daemons
21  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
22  Source1: smeserver_logo.jpg  Patch0: smeserver-support-2.8.0-update_copyright_2016.patch
23  Source2: smeserver_logo.gif  Patch1: smeserver-support-2.8.0-remove_smolt_service.patch
24  Source3: btn_donateCC_LG.gif  Patch2: smeserver-support-2.8.0.os-release.patch
25    Patch3: smeserver-support-2.8.0-koozali.patch
26    Patch4: smeserver-support-2.8.0-koozali_manager.patch
27    Patch5: smeserver-support-2.8.0-bz9676hover.patch
28    Patch6: smeserver-support-2.8.0-bz10516.patch
29    Patch7: smeserver-support-2.8.0-bz11167-update.patch
30    Patch8: smeserver-support-2.8.0-bz11535.patch
31    Patch9: smeserver-support-2.8.0-bz11568-copyright.patch
32    
33  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
34  BuildRequires: e-smith-devtools >= 1.7.5  BuildRequires: e-smith-devtools >= 1.7.5
35  BuildArchitectures: noarch  BuildArchitectures: noarch
36  Provides: server-manager-images  Provides: server-manager-images
37  AutoReqProv: no  AutoReqProv: no
38    
39    # SME 10 requires these explicitly
40    Requires: perl(LWP::Protocol::https)
41    
42  # New features that we want to pull in on upgrades  # New features that we want to pull in on upgrades
 Requires: smolt  
43  Requires: screen  Requires: screen
44  Requires: smeserver-yum  Requires: smeserver-yum
45  Requires: smeserver-clamav  Requires: smeserver-clamav
# Line 42  Requires: e-smith-domains Line 52  Requires: e-smith-domains
52  Requires: e-smith-ibays  Requires: e-smith-ibays
53  Requires: e-smith-nutUPS  Requires: e-smith-nutUPS
54  Requires: e-smith-portforwarding  Requires: e-smith-portforwarding
55  Requires: e-smith-starterwebsite  Obsoletes: e-smith-starterwebsite
56    
57  # 5.x used bind for name resolution - we need to pull in djbdns  # 5.x used bind for name resolution - we need to pull in djbdns
58  Requires: e-smith-dnscache  Requires: e-smith-dnscache
# Line 98  Requires: psacct Line 108  Requires: psacct
108  Requires: dmraid  Requires: dmraid
109    
110  %changelog  %changelog
111    * Mon Apr 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-20.sme
112    - fix copyright date and make it easier to update from spec file [SME: 11568]
113    
114    * Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.8.0-19.sme
115    - fix typo and wording [SME: 11535]
116    
117    * Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-18.sme
118    - add update event [SME: 11167]
119    
120    * Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-17.sme
121    - revert update of samba using upstream CentOS repo [SME: 11196]
122    
123    * Thu May 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-16.sme
124    - obsoletes e-smith-starterwebsite [SME: 8903]
125    
126    * Wed May 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-15.sme
127    - exclude libtevent,python-tevent from base and updates to avoid conflict with localy build version of samba [SME: 10573]
128    
129    * Sat Feb 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-14.sme
130    - add back perl(LWP::Protocol::https) support  [SME: 10516]
131    
132    * Mon Sep 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-13.sme
133    - upstream samba packages were not all excluded [SME: 10428]
134    
135    * Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-12.sme
136    - exclude samba from centos repo as we have our own with DC support [SME: 10155]
137    
138    * Fri Mar 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-11.sme
139    - improving link to donation [SME: 9598]
140    
141    * Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-10.sme
142    - fix hover color [SME: 9676]
143    
144    * Tue Jul 19 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-9.sme
145    - Koozali branding of manager [SME: 9676]
146    - new images in archive; removed old images from cvs
147    - updated some css smeserver-support-2.8.0-koozali_manager.patch
148    
149    * Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-8.sme
150    - reverting partly the changes in last patch [SME: 9598]
151    - wrong catch of proxy related url with the http to https changes
152    - thank to Charlie Brady for reporting
153    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
154      by assuming the date is correct and changing the weekday.
155      Fri Oct 24 2005 --> Fri Oct 21 2005 or Mon Oct 24 2005 or Fri Oct 28 2005 or ....
156      Sat Oct 25 2005 --> Sat Oct 22 2005 or Tue Oct 25 2005 or Sat Oct 29 2005 or ....
157      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
158      Thu May 23 2006 --> Thu May 18 2006 or Tue May 23 2006 or Thu May 25 2006 or ....
159      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
160      Sat Feb 03 2013 --> Sat Feb 02 2013 or Sun Feb 03 2013 or Sat Feb 09 2013 or ....
161    
162    * Wed Jun 15 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-7.sme
163    - update links to koozali.org [SME: 9598]
164    
165    * Tue Jun 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.8.0-6.sme
166    - Template of os-release [SME: 9580]
167    
168    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-5.sme
169    - Rebuild for [SME: 9393]
170    
171    * Mon Apr 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-4.sme
172    - Remove smolt service link and service entry [SME: 9420]
173    
174    * Mon Mar 14 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-3.sme
175    - Don't require smolt anymore [SME: 9287]
176    
177    * Thu Mar 3 2016 Daniel Berteaud <daniel@firewall-services.com> 2.8.0-2.sme
178    - Update copyright in server-manager footer [SME: 9269]
179    
180  * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.8.0-1.sme  * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.8.0-1.sme
181  - Initial release to sme10  - Initial release to sme10
182    
# Line 177  Requires: dmraid Line 256  Requires: dmraid
256  * Thu Feb 7 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme  * Thu Feb 7 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme
257  - Obsolete only older php-mcrypt versions <= 5.3 [SME: 7320]  - Obsolete only older php-mcrypt versions <= 5.3 [SME: 7320]
258    
259  * Sat Feb 3 2013 Shad L. Lords <slords@mail.com> 2.4.0-3.sme  * Sun Feb 03 2013 Shad L. Lords <slords@mail.com> 2.4.0-3.sme
260      Sat Feb 03 2013 --> Sat Feb 02 2013 or Sun Feb 03 2013 or Sat Feb 09 2013 or ....
261  - Obsolete python-ctypes so upgrades will work [SME: 7273]  - Obsolete python-ctypes so upgrades will work [SME: 7273]
262    
263  * Sat Feb 3 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme  * Sun Feb 03 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme
264      Sat Feb 03 2013 --> Sat Feb 02 2013 or Sun Feb 03 2013 or Sat Feb 09 2013 or ....
265  - Obsolete kudzu so upgrades will work [SME: 7273]  - Obsolete kudzu so upgrades will work [SME: 7273]
266    
267  * Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme  * Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
# Line 273  Requires: dmraid Line 354  Requires: dmraid
354  * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 1.6.0-48  * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> 1.6.0-48
355  - Add support for Hungarian (hu) [SME: 4025]  - Add support for Hungarian (hu) [SME: 4025]
356    
357  * Sat Mar 07 2008 Stephen Noble <support@dungog.net> 1.6.0-47  * Fri Mar 07 2008 Stephen Noble <support@dungog.net> 1.6.0-47
358      Sat Mar 07 2008 --> Sat Mar 01 2008 or Fri Mar 07 2008 or Sat Mar 08 2008 or ....
359  - gettext Internet connection failed [SME: 631]  - gettext Internet connection failed [SME: 631]
360    
361  * Sat Mar 1 2008 Shad L. Lords <slords@mail.com> 1.6.0-46  * Sat Mar 1 2008 Shad L. Lords <slords@mail.com> 1.6.0-46
# Line 406  Requires: dmraid Line 488  Requires: dmraid
488  * Tue May 23 2006 Gavin Weight <gweight@gmail.com> 1.6.0-09  * Tue May 23 2006 Gavin Weight <gweight@gmail.com> 1.6.0-09
489  - Add Obsoletes for perl-File-MMagic. [SME: 1436]  - Add Obsoletes for perl-File-MMagic. [SME: 1436]
490    
491  * Thu May 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.6.0-08  * Tue May 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.6.0-08
492      Thu May 23 2006 --> Thu May 18 2006 or Tue May 23 2006 or Thu May 25 2006 or ....
493  - Don't bother printing LWP error [SME: 1314]  - Don't bother printing LWP error [SME: 1314]
494    
495  * Thu May 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.6.0-07  * Tue May 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.6.0-07
496      Thu May 23 2006 --> Thu May 18 2006 or Tue May 23 2006 or Thu May 25 2006 or ....
497  - Add weekly status report.  - Add weekly status report.
498  - Only the following information is passed in the status report:  - Only the following information is passed in the status report:
499    - ReleaseVersion (e.g. 7.0rc2)    - ReleaseVersion (e.g. 7.0rc2)
# Line 527  Requires: dmraid Line 611  Requires: dmraid
611    - sysconfig{ReleaseVersion}    - sysconfig{ReleaseVersion}
612    - An SHA1 hash of sysconfig{SystemID} [SME: 402]    - An SHA1 hash of sysconfig{SystemID} [SME: 402]
613    
614  * Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-23  * Sun Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-23
615      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
616  - Add esmith::console object for standalone menu item [SME: 364]  - Add esmith::console object for standalone menu item [SME: 364]
617    
618  * Sat Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-22  * Sun Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-22
619      Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
620  - Move testInternet console menu item to smeserver-support [SME: 364]  - Move testInternet console menu item to smeserver-support [SME: 364]
621    
622  * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-21  * Wed Dec 14 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-21
# Line 572  Requires: dmraid Line 658  Requires: dmraid
658  * Mon Oct 31 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-10  * Mon Oct 31 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-10
659  - Obsolete e-smith-reinstall-floppy [SF: 1342860]  - Obsolete e-smith-reinstall-floppy [SF: 1342860]
660    
661  * Sat Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-09  * Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-09
662      Sat Oct 25 2005 --> Sat Oct 22 2005 or Tue Oct 25 2005 or Sat Oct 29 2005 or ....
663  - Add dependency on audit-libs  - Add dependency on audit-libs
664    
665  * Fri Oct 24 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-08  * Mon Oct 24 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-08
666      Fri Oct 24 2005 --> Fri Oct 21 2005 or Mon Oct 24 2005 or Fri Oct 28 2005 or ....
667  - Remove kenel-module-st - patch is in the CentOS 4.2 kernel  - Remove kenel-module-st - patch is in the CentOS 4.2 kernel
668    
669  * Mon Oct 17 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-07  * Mon Oct 17 2005 Gordon Rowell <gordonr@gormand.com.au> 1.4.7-07
# Line 853  SME Server module to display support and Line 941  SME Server module to display support and
941    
942  %prep  %prep
943  %setup  %setup
944  cp %{SOURCE1} root/etc/e-smith/web/common  %patch0 -p1
945  cp %{SOURCE2} root/etc/e-smith/web/common  %patch1 -p1
946  cp %{SOURCE3} root/etc/e-smith/web/common  %patch2 -p1
947    %patch3 -p1
948    %patch4 -p1
949    %patch5 -p1
950    %patch6 -p1
951    %patch7 -p1
952    %patch8 -p1
953    %patch9 -p1
954    
955  %build  %build
956  perl createlinks  perl createlinks
957    
958  ln -s initial.cgi root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/index.cgi  ln -s initial.cgi root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/index.cgi
959    find root/ -type f | xargs grep -l ____COPYYEARS____ | xargs sed -i -e 's/____COPYYEARS____/%{copykooz}/g'
960  YUM_REPOS=root/etc/e-smith/db/yum_repositories/  YUM_REPOS=root/etc/e-smith/db/yum_repositories/
961  for dir in base updates  for dir in base updates
962  do  do
# Line 882  rm -f %{name}-%{version}-%{release}-file Line 977  rm -f %{name}-%{version}-%{release}-file
977  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
978    
979  %post  %post
 [ -f /boot/grub/splash.xpm.gz ] || ln -s tux.xpm.gz /boot/grub/splash.xpm.gz  
 /bin/true  
980    
981  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
982  %defattr(-,root,root)  %defattr(-,root,root)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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