/[smeserver]/rpms/flexbackup/sme10/flexbackup.spec
ViewVC logotype

Diff of /rpms/flexbackup/sme10/flexbackup.spec

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

Revision 1.1 by vip-ire, Thu Feb 4 12:35:15 2016 UTC Revision 1.2 by michel, Thu May 13 15:40:18 2021 UTC
# Line 1  Line 1 
1  # $Id: flexbackup.spec,v 1.1 2013/02/14 17:06:59 slords Exp $  %define version 1.2.1.64
   
 # Hey emacs, use -*-rpm-spec-*- mode...  
   
 %define version 1.2.1  
2    
3  Summary:   Flexible backup script  Summary:   Flexible backup script
4  Name:      flexbackup  Name:      flexbackup
# Line 11  Release:   1%{?dist} Line 7  Release:   1%{?dist}
7  Epoch:     0  Epoch:     0
8  License:   GPL  License:   GPL
9  Group:     Applications/Archiving  Group:     Applications/Archiving
10  URL:       http://www.flexbackup.org  URL:       http://www.edwinh.org/flexbackup/
11  Source0:   flexbackup-%{version}.tar.gz  Source0:   flexbackup-%{version}.tar.gz
12  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13  BuildArch: noarch  BuildArch: noarch
# Line 34  Features: Line 30  Features:
30     o Keeps a table of contents so you know archives are on each tape     o Keeps a table of contents so you know archives are on each tape
31     o Nice log files     o Nice log files
32    
33    (debian version : https://packages.debian.org/buster/flexbackup)
34    
35  #---------------------------------------------------------------------  #---------------------------------------------------------------------
36  %prep  %prep
37  %setup -q  %setup -q
38    
 #---------------------------------------------------------------------  
 %build  
 make all PREFIX=/usr CONFFILE=/etc/flexbackup.conf  
   
 #---------------------------------------------------------------------  
39  %install  %install
40  rm -rf %{buildroot}  /bin/rm -rf $RPM_BUILD_ROOT
41  mkdir -p $RPM_BUILD_ROOT/etc  (/usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
 mkdir -p $RPM_BUILD_ROOT%{_bindir}  
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1  
 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5  
 mkdir -p $RPM_BUILD_ROOT/var/lib/flexbackup  
 mkdir -p $RPM_BUILD_ROOT/var/log/flexbackup  
 make install PREFIX=$RPM_BUILD_ROOT/usr CONFFILE=$RPM_BUILD_ROOT/etc/flexbackup.conf  
42    
 #---------------------------------------------------------------------  
43  %clean  %clean
44  rm -rf %{buildroot}  /bin/rm -rf $RPM_BUILD_ROOT
45    
 #---------------------------------------------------------------------  
46  %files  %files
47  %defattr(-,root,root,-)  %defattr(-,root,root,-)
48  %config(noreplace) /etc/flexbackup.conf  /etc/flexbackup.conf
49  %{_bindir}/*  /usr/bin/flexbackup
50  %{_mandir}/*/*  /usr/share/*
51  %dir /var/lib/flexbackup  %dir /var/lib/flexbackup
52  %dir /var/log/flexbackup  %dir /var/log/flexbackup
 %doc CHANGES COPYING TODO README CREDITS INSTALL faq.html  
53    
54  #---------------------------------------------------------------------  #---------------------------------------------------------------------
55  %changelog  %changelog
56    * Sun Mar 28 2021 Michel Begue <mab974@gmail.com>
57    - new source from debian packages repos 1.2.1-6.4
58    - convert initial release
59    - remove /usr/share/lintian directory
60    - add convert script to doc directory
61    - add debian changelog to doc directory
62    
63  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
64  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
65    


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