source: ProjectBuilder/projects/rinse/pbconf/devel/rinse/rpm/rinse.spec@ 618

Last change on this file since 618 was 618, checked in by Bruno Cornec, 15 years ago

Get a working rpm for rinse with hg (needs pb version 0.9.5)

File size: 987 bytes
Line 
1#
2# $Id$
3#
4# Used if virtual name != real name (perl, ...)
5
6Summary: PBDESC
7
8Name: PBPKG
9Version: PBVER
10Release: PBTAGPBSUF
11License: PBLIC
12Group: PBGRP
13Url: PBURL
14Source: PBREPO/PBSRC
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
16Requires: rpm wget
17# PBDEP
18
19%description
20PBDESC
21
22The purpose and usage are analogous to the 'debootstrap' utility
23familiar to users of Debian GNU/Linux or mock.
24
25%prep
26%setup -q
27# Used if virtual name != real name (perl, ...)
28#%setup -q -n %{srcname}-%{version}
29#PBPATCHCMD
30
31%build
32
33%install
34%{__rm} -rf $RPM_BUILD_ROOT
35make PREFIX=$RPM_BUILD_ROOT install
36
37%clean
38%{__rm} -rf $RPM_BUILD_ROOT
39
40%files
41%defattr(-,root,root)
42%doc ChangeLog
43%doc INSTALL README BUGS
44%config %{_sysconfdir}/bash_completion.d/*
45%config %{_sysconfdir}/PBPKG/*
46# COPYING AUTHORS NEWS
47%{_sbindir}/PBPKG
48%{_prefix}/lib/PBPKG
49%{_var}/cache/PBPKG
50%{_mandir}/man8/*
51
52%changelog
53PBLOG
54
Note: See TracBrowser for help on using the repository browser.