source: ProjectBuilder/projects/pusk/pbconf/0.9.6/pusk/rpm/pusk.spec@ 1478

Last change on this file since 1478 was 1478, checked in by Bruno Cornec, 12 years ago

r4692@localhost: bruno | 2012-04-19 00:21:45 +0200
First build of RPM for 0.9.6 and preparation for devel.

File size: 943 bytes
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
7Summary: PBSUMMARY
8Name: PBPKG
9Version: PBVER
10Release: PBTAGPBSUF
11License: PBLIC
12Group: PBGRP
13Url: PBURL
14Source: PBREPO/PBSRC
15#PBPATCHSRC
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
17#Requires: PBDEP
18
19%description
20PBDESC
21
22%prep
23%setup -q
24# Used if virtual name != real name (perl, ...)
25#%setup -q -n %{srcname}-%{version}
26#PBPATCHCMD
27
28%build
29%configure
30make %{?_smp_mflags}
31
32%install
33%{__rm} -rf $RPM_BUILD_ROOT
34make DESTDIR=$RPM_BUILD_ROOT install
35
36%clean
37%{__rm} -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(-,root,root)
41%doc ChangeLog
42%doc INSTALL COPYING README AUTHORS NEWS
43%config %{_sysconfdir}/*.conf
44%config %{_sysconfdir}/yum.repos.d/*.repo
45%{_bindir}/*
46%dir %{_datadir}/PUSK
47%{_datadir}/PUSK/*
48
49%changelog
50PBLOG
Note: See TracBrowser for help on using the repository browser.