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


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