Line | |
---|
1 | #
|
---|
2 | # $Id$
|
---|
3 | #
|
---|
4 | # Used if virtual name != real name (perl, ...) - replace hash by percent in the below line
|
---|
5 | #define srcname PBPKG
|
---|
6 |
|
---|
7 | Summary: PBSUMMARY
|
---|
8 | Summary(fr): french bla-bla
|
---|
9 |
|
---|
10 | Name: PBREALPKG
|
---|
11 | Version: PBVER
|
---|
12 | Release: PBTAGPBSUF
|
---|
13 | License: PBLIC
|
---|
14 | Group: PBGRP
|
---|
15 | Url: PBURL
|
---|
16 | Source: PBREPO/PBSRC
|
---|
17 | #PBPATCHSRC
|
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
19 | #Requires: PBDEP
|
---|
20 | #BuildRequires: PBBDEP
|
---|
21 |
|
---|
22 | %description
|
---|
23 | PBDESC
|
---|
24 |
|
---|
25 | %description -l fr
|
---|
26 | french desc
|
---|
27 |
|
---|
28 | %prep
|
---|
29 | %setup -q
|
---|
30 | # Used if virtual name != real name (perl, ...)
|
---|
31 | #%setup -q -n %{srcname}-%{version}
|
---|
32 | #PBPATCHCMD
|
---|
33 |
|
---|
34 | %build
|
---|
35 | %configure
|
---|
36 | make %{?_smp_mflags}
|
---|
37 |
|
---|
38 | %install
|
---|
39 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
40 | make DESTDIR=$RPM_BUILD_ROOT install
|
---|
41 |
|
---|
42 | %clean
|
---|
43 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
44 |
|
---|
45 | %files
|
---|
46 | %defattr(-,root,root)
|
---|
47 | %doc ChangeLog
|
---|
48 | %doc INSTALL COPYING README AUTHORS NEWS
|
---|
49 |
|
---|
50 | %changelog
|
---|
51 | PBLOG
|
---|
52 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.