source: devel/pbconf/projectbuilder/rpm/pb.spec @ 16

Last change on this file since 16 was 16, checked in by Bruno Cornec, 13 years ago

Works for build files generation wtih filter and variable expansion. Happy ;-)

File size: 1.2 KB
Line 
1#
2# $Id$
3#
4
5Summary:    Project Builder aka pb is a tool to produce packages for multiple distributions
6Summary(fr):    Project Builder ou pb est un programme pour produire des paquets pour diverses distributions
7
8Name:       pb
9Version:    PBVER
10Release:    PBTAG
11License:    GPL
12Group:      PBGRP
13Url:        http://www.mondorescue.org
14Source:     PBSRC
15BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
16BuildRequires: 
17Requires:   perl >= 5.8.8, PBDEP
18
19%description
20Project Builder aka pb is a tool to produce packages for multiple distributions.
21It does that by minimizing the duplication of information required and a set a
22very simple configuration files.
23
24%description -l fr
25Project Builder ou pb est un programme pour produire des paquets pour diverses distributions.
26Il réalise cela en minimisant la duplication des informations requises et par un jeu de
27fichiers de configuration très simples.
28
29%prep
30%setup -q
31
32%build
33%configure
34make %{?_smp_mflags} VERSION=%{version}
35
36%install
37%{__rm} -rf $RPM_BUILD_ROOT
38make DESTDIR=$RPM_BUILD_ROOT install
39
40%clean
41%{__rm} -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(-,root,root)
45%config(noreplace) %{_sysconfdir}/%{name}/%{name}.pb
46%doc ChangeLog svn.log
47%doc INSTALL COPYING README TODO AUTHORS NEWS
48
49%{_sbindir}/*
50#%{_mandir}/man8/*
51
52%changelog
Note: See TracBrowser for help on using the repository browser.