source: ProjectBuilder/devel/pbconf/project-builder/rpm/pb.spec@ 41

Last change on this file since 41 was 41, checked in by Bruno Cornec, 17 years ago

spec update (another try)

File size: 1.3 KB
RevLine 
[14]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
[27]8Name: PBPKG
[15]9Version: PBVER
[16]10Release: PBTAG
[14]11License: GPL
[15]12Group: PBGRP
[14]13Url: http://www.mondorescue.org
[15]14Source: PBSRC
[14]15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
[25]16BuildArch: noarch
[35]17Requires: perl >= 5.8.4, PBDEP
[14]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
[41]33%{__perl} Makefile.PL INSTALLDIRS=vendor
34%make VERSION=%{version}
[35]35#perl -p -i -e 's|/usr/local/bin|/usr/bin|g;' *.pm examples/*
[14]36
37%install
[41]38%{__rm} -rf %{buildroot}
39%makeinstall_std
[14]40
41%clean
42%{__rm} -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(-,root,root)
[41]46%config(noreplace) %{_sysconfdir}/%{name}/%{name}
[14]47%doc ChangeLog svn.log
48%doc INSTALL COPYING README TODO AUTHORS NEWS
49
[41]50%{perl_vendorlib}/AppConfig.pm
51%{_mandir}/*/*
[35]52%{_bindir}/*
[14]53
54%changelog
[17]55PBLOG
Note: See TracBrowser for help on using the repository browser.