Last change
on this file since 2378 was 2064, checked in by Bruno Cornec, 8 years ago |
- Do not generate debug packages for mindi
- Filters for Debian have been renamed (was done for 3.2 but not 3.0 and 3.0.4.1)
|
File size:
1.2 KB
|
Rev | Line | |
---|
[384] | 1 | #
|
---|
| 2 | # $Id: mindi.spec 1866 2008-01-16 15:29:04Z bruno $
|
---|
| 3 | #
|
---|
[2064] | 4 | # Avoids to generate debug packages
|
---|
| 5 | %global debug_package %{nil}
|
---|
| 6 |
|
---|
[1199] | 7 | Summary: PBSUMMARY
|
---|
[384] | 8 | Name: PBPKG
|
---|
| 9 | Version: PBVER
|
---|
| 10 | Release: PBTAGPBSUF
|
---|
[488] | 11 | License: PBLIC
|
---|
[384] | 12 | Group: PBGRP
|
---|
[488] | 13 | Url: PBURL
|
---|
[429] | 14 | Source: PBREPO/PBSRC
|
---|
[384] | 15 | # Not yet possible as busybox is a binary that should go alongside
|
---|
| 16 | # BuildArch: noarch
|
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
|
---|
[1676] | 18 | Requires: bash, bzip2 >= 0.9, mkisofs, ncurses, binutils, gawk, dosfstools, mindi-busybox >= 1.7.3, parted, perl, mtools, syslinux, PBDEP
|
---|
[928] | 19 | ExcludeArch: ppc
|
---|
[384] | 20 | PBOBS
|
---|
| 21 | # Not on all systems
|
---|
| 22 | #Conflicts: bonnie++
|
---|
| 23 |
|
---|
| 24 | %description
|
---|
[1199] | 25 | PBDESC
|
---|
[384] | 26 |
|
---|
| 27 | %prep
|
---|
| 28 | %setup -q
|
---|
| 29 |
|
---|
| 30 | %build
|
---|
| 31 |
|
---|
| 32 | %install
|
---|
[488] | 33 | rm -rf $RPM_BUILD_ROOT
|
---|
[384] | 34 | export DONT_RELINK=1
|
---|
| 35 |
|
---|
| 36 | export HEAD=${RPM_BUILD_ROOT}
|
---|
| 37 | export PREFIX=%{_exec_prefix}
|
---|
| 38 | export CONFDIR=%{_sysconfdir}
|
---|
| 39 | export MANDIR=%{_mandir}
|
---|
| 40 | #export DOCDIR=%{_docdir}
|
---|
| 41 | export LIBDIR=%{_libdir}
|
---|
| 42 | export CACHEDIR=%{_var}/cache/%{name}
|
---|
| 43 | export PKGBUILDMINDI="true"
|
---|
| 44 |
|
---|
| 45 | ./install.sh
|
---|
| 46 |
|
---|
| 47 | %clean
|
---|
[488] | 48 | rm -rf $RPM_BUILD_ROOT
|
---|
[384] | 49 |
|
---|
| 50 | %files
|
---|
| 51 | %defattr(-,root,root)
|
---|
| 52 | %config(noreplace) %{_sysconfdir}/%{name}
|
---|
[1770] | 53 | %doc ChangeLog COPYING README TODO README.* NEWS
|
---|
[384] | 54 | #svn.log
|
---|
| 55 | %{_mandir}/man8/*
|
---|
| 56 | %{_libdir}/%{name}
|
---|
| 57 | %{_sbindir}/*
|
---|
| 58 | %{_var}/cache/%{name}
|
---|
| 59 |
|
---|
| 60 | %changelog
|
---|
| 61 | PBLOG
|
---|
Note:
See
TracBrowser
for help on using the repository browser.