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

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
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)
17Requires: syslinux,e2fsprogs,cpio,squashfs-tools,python,dosfstools
18BuildArch: noarch
19# yum, yum-utils, dracut
20
21%description
22PBDESC
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
32make %{?_smp_mflags}
33
34%install
35%{__rm} -rf $RPM_BUILD_ROOT
36make 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
45%config %{_sysconfdir}/*.conf
46%config %{_sysconfdir}/yum.repos.d/*.repo
47%{_bindir}/*
48%dir %{_datadir}/PUSK
49%{_datadir}/PUSK/*
50
51%changelog
52PBLOG
Note: See TracBrowser for help on using the repository browser.