/[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.2 by vip-ire, Sun Feb 7 12:10:35 2016 UTC Revision 1.3 by unnilennium, Wed Mar 23 12:10:51 2016 UTC
# Line 1  Line 1 
1  # $Id: smeserver-yum.spec,v 1.1 2016/02/05 23:20:26 stephdl Exp $  # $Id: smeserver-yum.spec,v 1.2 2016/02/07 12:10:35 vip-ire 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 2  %define release 3
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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15  BuildArchitectures: noarch  BuildArchitectures: noarch
16  Requires: e-smith-formmagick >= 1.4.0-12  Requires: e-smith-formmagick >= 1.4.0-12
# Line 32  AutoReqProv: no Line 33  AutoReqProv: no
33  %description  %description
34  %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
35    
36    %prep
37    %setup
38    %patch0 -p1
39    
40    
41    %build
42    perl createlinks
43    ln -s /var/service/yum root/service/yum
44    mkdir -p root/etc/yum.smerepos.d
45    
46    %install
47    /bin/rm -rf $RPM_BUILD_ROOT
48    (cd root   ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
49    /bin/rm -f %{name}-%{version}-filelist
50    /sbin/e-smith/genfilelist \
51        --file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \
52        --file '/sbin/e-smith/yum' 'attr(0755,root,root)' \
53        --file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \
54        --file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \
55        --file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \
56        --file /var/service/yum/down 'attr(0644,root,root)' \
57        --file /var/service/yum/run 'attr(0755,root,root)' \
58        --dir /var/service/yum/log 'attr(0755,root,root)' \
59        --dir /var/service/yum/log/supervise 'attr(0700,root,root)' \
60        --dir /var/service/yum/supervise 'attr(0700,root,root)' \
61        --file /var/service/yum/log/run 'attr(0755,root,root)' \
62        --dir /var/log/yum 'attr(2750,smelog,smelog)' \
63        $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist
64    
65    %clean
66    /bin/rm -rf $RPM_BUILD_ROOT
67    
68    %files -f %{name}-%{version}-%{release}-filelist
69    
70    %defattr(-,root,root)
71    
72    
73  %changelog  %changelog
74    * Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
75    - yum points now to SME10 mirrors [SME: 9377]
76    - moved changelog at the end of file
77    - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
78      by assuming the date is correct and changing the weekday.
79      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
80      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
81      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
82    
83    
84  * Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme  * Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
85  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin  - Add python to BuildReq so brp-python-bytecode compiles sme yum plugin
86    [SME: 9229]    [SME: 9229]
# Line 270  AutoReqProv: no Line 318  AutoReqProv: no
318  * 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
319  - Revert to 10s panel refresh [SME: 2097]  - Revert to 10s panel refresh [SME: 2097]
320    
321  * 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
322      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
323  - Make CentOS base and updates enabled/Visible by default [SME: 1849]  - Make CentOS base and updates enabled/Visible by default [SME: 1849]
324  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]  - Migrate CentOS base and updates to Visible, but leave status [SME: 1849]
325    
326  * 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
327      Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or ....
328  - Adjust wording on post-upgrade page [SME: 2076]  - Adjust wording on post-upgrade page [SME: 2076]
329    
330  * 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 286  AutoReqProv: no Line 336  AutoReqProv: no
336    page is displayed from other sessions    page is displayed from other sessions
337  - TODO: Re-add display of LogFile prior to reconfigure  - TODO: Re-add display of LogFile prior to reconfigure
338    
339  * 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
340      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
341  - Add dependency on yum-plugin-fastestmirror [SME: 1163]  - Add dependency on yum-plugin-fastestmirror [SME: 1163]
342  - Alpha sort dependencies  - Alpha sort dependencies
343    
344  * 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
345      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
346  - Add MirrorList options to each of the SME repos [SME: 1163]  - Add MirrorList options to each of the SME repos [SME: 1163]
347    
348  * 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
349      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
350  - Put back missed patch for post-upgrade [SME: 2071]  - Put back missed patch for post-upgrade [SME: 2071]
351    
352  * 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
353      Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or ....
354  - Re-add post-upgrade handling [SME: 2071]  - Re-add post-upgrade handling [SME: 2071]
355  - Display yum output  - Display yum output
356  - Lower refresh to 3 seconds from 10  - Lower refresh to 3 seconds from 10
# Line 337  AutoReqProv: no Line 391  AutoReqProv: no
391  * 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
392  - Roll stable stream version. [SME: 1016]  - Roll stable stream version. [SME: 1016]
393    
394  * 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
395  - And migrate old SME repo URLs to new paths [SME: 951]  - And migrate old SME repo URLs to new paths [SME: 951]
396    
397  * 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
398  - 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
399    with CentOS repos and can remove the symlinks [SME: 951]    with CentOS repos and can remove the symlinks [SME: 951]
400    
401  * 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
402  - Don't force the BaseURL properties - just set defaults [SME: 951]  - Don't force the BaseURL properties - just set defaults [SME: 951]
403    
404  * 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 648  AutoReqProv: no Line 702  AutoReqProv: no
702    are modified for the SMEServer releases    are modified for the SMEServer releases
703  - INSTALL: Need to manually remove old version of yum_repositories DB  - INSTALL: Need to manually remove old version of yum_repositories DB
704    
705  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
706      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
707  - [1.1.0-01gr05]  - [1.1.0-01gr05]
708  - Add enable/disable repository support to configuration page  - Add enable/disable repository support to configuration page
709    
710  * Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au>  * Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au>
711      Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or ....
712  - [1.1.0-01gr04]  - [1.1.0-01gr04]
713  - Hide empty group/package select boxes  - Hide empty group/package select boxes
714    
# Line 898  AutoReqProv: no Line 954  AutoReqProv: no
954  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>  * Thu Jan 22 2004 Darrell May <dmay@myezserver.com>
955  - [0.0.1a-01]  - [0.0.1a-01]
956  - 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