Last change
on this file since 1481 was 1481, checked in by Bruno Cornec, 12 years ago |
r4700@localhost: bruno | 2012-04-19 00:37:39 +0200
- Improve requres list for pusk spec file. Still not complete (yum/dracut missing for now waiting for re-architecture)
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1471] | 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
|
---|
[1478] | 8 | Name: PBPKG
|
---|
[1471] | 9 | Version: PBVER
|
---|
| 10 | Release: PBTAGPBSUF
|
---|
| 11 | License: PBLIC
|
---|
| 12 | Group: PBGRP
|
---|
| 13 | Url: PBURL
|
---|
| 14 | Source: PBREPO/PBSRC
|
---|
| 15 | #PBPATCHSRC
|
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[1481] | 17 | Requires: syslinux,e2fsprogs,cpio,squashfs-tools,python,dosfstools
|
---|
| 18 | BuildArch: noarch
|
---|
| 19 | # yum, yum-utils, dracut
|
---|
[1471] | 20 |
|
---|
| 21 | %description
|
---|
| 22 | PBDESC
|
---|
| 23 |
|
---|
| 24 | %prep
|
---|
| 25 | %setup -q
|
---|
| 26 | # Used if virtual name != real name (perl, ...)
|
---|
| 27 | #%setup -q -n %{srcname}-%{version}
|
---|
| 28 | #PBPATCHCMD
|
---|
| 29 |
|
---|
| 30 | %build
|
---|
| 31 | %configure
|
---|
| 32 | make %{?_smp_mflags}
|
---|
| 33 |
|
---|
| 34 | %install
|
---|
| 35 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 36 | make DESTDIR=$RPM_BUILD_ROOT install
|
---|
| 37 |
|
---|
| 38 | %clean
|
---|
| 39 | %{__rm} -rf $RPM_BUILD_ROOT
|
---|
| 40 |
|
---|
| 41 | %files
|
---|
| 42 | %defattr(-,root,root)
|
---|
| 43 | %doc ChangeLog
|
---|
| 44 | %doc INSTALL COPYING README AUTHORS NEWS
|
---|
[1478] | 45 | %config %{_sysconfdir}/*.conf
|
---|
| 46 | %config %{_sysconfdir}/yum.repos.d/*.repo
|
---|
| 47 | %{_bindir}/*
|
---|
| 48 | %dir %{_datadir}/PUSK
|
---|
| 49 | %{_datadir}/PUSK/*
|
---|
[1471] | 50 |
|
---|
| 51 | %changelog
|
---|
| 52 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.