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

Diff of /rpms/smeserver-yum/sme10/smeserver-yum.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:20:26 2016 UTC Revision 1.19 by unnilennium, Mon Nov 6 21:48:45 2017 UTC
# Line 1  Line 1 
1  # $Id: smeserver-yum.spec,v 1.14 2016/01/13 10:55:43 vip-ire Exp $  # $Id: smeserver-yum.spec,v 1.18 2017/05/03 04:00:22 unnilennium Exp $
2    
3  %define name smeserver-yum  %define name smeserver-yum
4  Summary: YUM, an rpm updater  Summary: YUM, an rpm updater
5  Name: %{name}  Name: %{name}
6  %define version 2.6.0  %define version 2.6.0
7  %define release 1  %define release 17
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: SMEServer/addon  Group: SMEServer/addon
12  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
13    Patch0: smeserver-yum-2.6.0.SME10.patch
14    Patch1: smeserver-yum-2.6.0.SME10CentOS7EPEL7Keys.rpm
15    Patch2: smeserver-yum-2.6.0.bz8834.DeltaRpm.patch
16    Patch3: smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
17    Patch4: smeserver-yum-2.6.0.bz9903.remiGPG.patch
18    Patch5: smeserver-yum-2.6.0.bz8705.avoidReboot.patch
19    Patch6: smeserver-yum-2.6.0.bz10119.scloGPGkey.patch
20    Patch7: smeserver-yum-2.6.0.bz10156.remContrib.patch
21    Patch8: smeserver-yum-2.6.0.bz8705.avoidReboot-fixKeyError.patch
22    Patch9: smeserver-yum-2.6.0.bz8705.avoidReboot-service-names.patch
23    Patch10: smeserver-yum-2.6.0.bz8705.smeserver-locale.avoidreboot.patch
24    Patch11: smeserver-yum-2.6.0.bz10263.rpmfusionfreeEL7.patch
25    
26  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
27  BuildArchitectures: noarch  BuildArchitectures: noarch
28  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
# Line 24  Obsoletes: rpmdb-CentOS Line 37  Obsoletes: rpmdb-CentOS
37  Requires: yum-plugin-fastestmirror  Requires: yum-plugin-fastestmirror
38  Obsoletes: yum-plugin-installonlyn  Obsoletes: yum-plugin-installonlyn
39  Obsoletes: yum-protect-packages <= 1.1.16  Obsoletes: yum-protect-packages <= 1.1.16
40    Requires: yum-plugin-post-transaction-actions
41  Requires: mailx  Requires: mailx
42    Requires: deltarpm
43  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
44    BuildRequires: python
45  Conflicts: centos-yumconf  Conflicts: centos-yumconf
46  AutoReqProv: no  AutoReqProv: no
47  %description  %description
48  %name is an implementation of http://linux.duke.edu/projects/yum on SME Server  %name is an implementation of http://linux.duke.edu/projects/yum on SME Server
49    
50    %prep
51    %setup
52    %patch0 -p1
53    %patch1 -p1
54    %patch2 -p1
55    %patch3 -p1
56    %patch4 -p1
57    %patch5 -p1
58    %patch6 -p1
59    %patch7 -p1
60    %patch8 -p1
61    %patch9 -p1
62    %patch10 -p1
63    %patch11 -p1
64    
65    %build
66    perl createlinks
67    ln -s /var/service/yum root/service/yum
68    mkdir -p root/etc/yum.smerepos.d
69    
70    %install
71    /bin/rm -rf $RPM_BUILD_ROOT
72    (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
73    /bin/rm -f %{name}-%{version}-filelist
74    /sbin/e-smith/genfilelist \
75        --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \
76        --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \
77        --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \
78        --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
79        --file '/sbin/e-smith/yumdownloadonly' 'attr(0755,root,root)' \
80        --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
81        --file /var/service/yum/down 'attr(0644,root,root)' \
82        --file /var/service/yum/run 'attr(0755,root,root)' \
83        --dir /var/service/yum/log 'attr(0755,root,root)' \
84        --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \
85        --dir /var/service/yum/supervise 'attr(0700,root,root)' \
86        --file /var/service/yum/log/run 'attr(0755,root,root)' \
87        --dir /var/log/yum 'attr(2750,smelog,smelog)' \
88        $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
89    
90    %clean
91    /bin/rm -rf $RPM_BUILD_ROOT
92    
93    %files -f %{name}-%{version}-%{release}-filelist
94    
95    %defattr(-,root,root)
96    
97    
98  %changelog  %changelog
99    * Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-17.sme
100    - add yum-plugin-post-transaction-actions as requirement [SME: 1100]
101    
102    * Tue May 02 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-16.sme
103    - add rpmfusion free el7 RPM GPG KEY [SME: 10263]
104    
105    * Mon Apr 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-15.sme
106    - avoid reboot for smeserver-locale upgrade [SME: 8705]
107    - code by stefano zamboni <zamboni@mind-at-work.it>
108    
109    * Wed Mar 29 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
110    - correct service names with plugin to avoid reboot [SME: 8705]
111    - code by stefano zamboni <zamboni@mind-at-work.it>
112    
113    * Mon Mar 27 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
114    - fix KeyError with plugin to avoid reboot [SME: 8705]
115    - code by stefano zamboni <zamboni@mind-at-work.it>
116    
117    * Mon Mar 20 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
118    - remove centos contrib repo [SME: 10156]
119    
120    * Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
121    - added centos SCLo SIG gpg rpm signing key [SME: 10119]
122    - will allow to install SCL packages directly from smecontribs
123    
124    * Sat Feb 18 2017 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-10.sme
125    - Added smeserver-yum-2.6.0.bz8705.avoidReboot.patch [SME: 8705]
126    - code by stefano zamboni <zamboni@mind-at-work.it>
127    - Avoid to reboot after the installation of a smeserver-* package
128    
129    * Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
130    - add Remi Collet RPM GPG KEY [SME: 9903]
131    
132    * Thu Aug 04 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-7.sme
133    - Rpm updates can be downloaded during the night [SME: 1502]
134    - Added smeserver-yum-2.6.0.bz1502.DownloadOnly.patch
135    
136    * Mon Aug 1 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-6.sme
137    - Deltarpm is now a setting in the yum panel (disabled by default)
138    - Added smeserver-yum-2.6.0.bz8834.DeltaRpm.patch [SME: 8834]
139    
140    * Fri May 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
141    - adding Koozali SME10, EPEL7 and Centos7 gpg keys [SME: 9533]
142    
143    * Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
144    - Rebuild [SME: 9393]
145    
146    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
147    - yum points now to SME10 mirrors [SME: 9377]
148    - moved changelog at the end of file
149    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
150      by assuming the date is correct and changing the weekday.
151      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
152      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
153      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
154    
155    
156    * Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
157    - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin
158      [SME: 9229]
159    
160  * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme  * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
161  - Initial release to sme10  - Initial release to sme10
162    
# Line 265  AutoReqProv: no Line 390  AutoReqProv: no
390  * Wed Nov 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-20  * Wed Nov 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-20
391  - Revert to 10s panel refresh [SME: 2097]  - Revert to 10s panel refresh [SME: 2097]
392    
393  * Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-19  * Thu Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-19
394      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
395  - Make CentOS base and updates enabled/Visible by default [SME: 1849]  - Make CentOS base and updates enabled/Visible by default [SME: 1849]
396  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]
397    
398  * Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-18  * Thu Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-18
399      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
400  - Adjust wording on post-upgrade page [SME: 2076]  - Adjust wording on post-upgrade page [SME: 2076]
401    
402  * Tue Nov 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-17  * Tue Nov 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-17
# Line 281  AutoReqProv: no Line 408  AutoReqProv: no
408    page is displayed from other sessions    page is displayed from other sessions
409  - TODO: Re-add display of LogFile prior to reconfigure  - TODO: Re-add display of LogFile prior to reconfigure
410    
411  * Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15  * Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15
412      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
413  - Add dependency on yum-plugin-fastestmirror [SME: 1163]  - Add dependency on yum-plugin-fastestmirror [SME: 1163]
414  - Alpha sort dependencies  - Alpha sort dependencies
415    
416  * Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14  * Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14
417      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
418  - Add MirrorList options to each of the SME repos [SME: 1163]  - Add MirrorList options to each of the SME repos [SME: 1163]
419    
420  * Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13  * Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13
421      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
422  - Put back missed patch for post-upgrade [SME: 2071]  - Put back missed patch for post-upgrade [SME: 2071]
423    
424  * Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-12  * Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-12
425      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
426  - Re-add post-upgrade handling [SME: 2071]  - Re-add post-upgrade handling [SME: 2071]
427  - Display yum output  - Display yum output
428  - Lower refresh to 3 seconds from 10  - Lower refresh to 3 seconds from 10
# Line 332  AutoReqProv: no Line 463  AutoReqProv: no
463  * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01  * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01
464  - Roll stable stream version. [SME: 1016]  - Roll stable stream version. [SME: 1016]
465    
466  * Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26  * Mon Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26
467  - And migrate old SME repo URLs to new paths [SME: 951]  - And migrate old SME repo URLs to new paths [SME: 951]
468    
469  * Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25  * Mon Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25
470  - Change SME Server repo URLs to match repo names so we avoid confusion  - Change SME Server repo URLs to match repo names so we avoid confusion
471    with CentOS repos and can remove the symlinks [SME: 951]    with CentOS repos and can remove the symlinks [SME: 951]
472    
473  * Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24  * Mon Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24
474  - Don't force the BaseURL properties - just set defaults [SME: 951]  - Don't force the BaseURL properties - just set defaults [SME: 951]
475    
476  * Wed Feb 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-23  * Wed Feb 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-23
# Line 643  AutoReqProv: no Line 774  AutoReqProv: no
774    are modified for the SMEServer releases    are modified for the SMEServer releases
775  - INSTALL: Need to manually remove old version of yum_repositories DB  - INSTALL: Need to manually remove old version of yum_repositories DB
776    
777  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
778      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
779  - [1.1.0-01gr05]  - [1.1.0-01gr05]
780  - Add enable/disable repository support to configuration page  - Add enable/disable repository support to configuration page
781    
782  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
783      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
784  - [1.1.0-01gr04]  - [1.1.0-01gr04]
785  - Hide empty group/package select boxes  - Hide empty group/package select boxes
786    
# Line 893  AutoReqProv: no Line 1026  AutoReqProv: no
1026  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>
1027  - [0.0.1a-01]  - [0.0.1a-01]
1028  - Original version  - Original version
   
 %prep  
 %setup  
   
 %build  
 perl createlinks  
 ln -s /var/service/yum root/service/yum  
 mkdir -p root/etc/yum.smerepos.d  
   
 %install  
 /bin/rm -rf $RPM_BUILD_ROOT  
 (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)  
 /bin/rm -f %{name}-%{version}-filelist  
 /sbin/e-smith/genfilelist \  
     --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \  
     --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \  
     --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \  
     --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \  
     --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \  
     --file /var/service/yum/down 'attr(0644,root,root)' \  
     --file /var/service/yum/run 'attr(0755,root,root)' \  
     --dir /var/service/yum/log 'attr(0755,root,root)' \  
     --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \  
     --dir /var/service/yum/supervise 'attr(0700,root,root)' \  
     --file /var/service/yum/log/run 'attr(0755,root,root)' \  
     --dir /var/log/yum 'attr(2750,smelog,smelog)' \  
     $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist  
   
 %clean  
 /bin/rm -rf $RPM_BUILD_ROOT  
   
 %files -f %{name}-%{version}-%{release}-filelist  
   
 %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