File: arson.spec.in

package info (click to toggle)
arson 0.9.8beta2-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,560 kB
  • ctags: 3,714
  • sloc: cpp: 19,734; sh: 15,178; perl: 1,995; xml: 227; makefile: 98
file content (50 lines) | stat: -rw-r--r-- 1,198 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Name: arson
Summary: arson -- Arson is a KDE frontend to various CD burning, and ripping tools.
Version: @VERSION@
Release: 1
Copyright: GPL
Group: X11/KDE/Utilities
Source: http://prdownloads.sourceforge.net/arson/%{name}-%{version}.tar.bz2
Packager: Rainer Lay <rainer.lay@gmx.de>
BuildRoot: %{_tmppath}/buildroot-%{name}-%{version}
BuildRequires: libtool >= 1.4.1
BuildRequires: libvorbis-devel
%define PREFIX /opt/kde2

%description
@DESCRIPTION@

%prep
rm -rf $RPM_BUILD_ROOT

%setup
if test $(kde-config --version |awk '$1 ~ /^KDE/ {print substr($2,1,1)}') -ge 3; then
  ./util kde3
else
  ./util kde2
fi
make -f Makefile.cvs
./configure --prefix=%{PREFIX} --with-vorbis


%build
JOBS=`cat /proc/cpuinfo | grep processor | wc -l`
if [ -n $JOBS ]; then
	make AM_MAKEFLAGS="-j $JOBS"
else
	make
fi

%install
make DESTDIR=$RPM_BUILD_ROOT install-strip
cd $RPM_BUILD_ROOT && find . -type f -o -type l | sed 's|^\.||' > %{_tmppath}/buildfiles--%{name}-%{version}.lst

%clean
rm -rf $RPM_BUILD_ROOT %{_tmppath}/buildfiles--%{name}-%{version}.lst

%files -f %{_tmppath}/buildfiles--%{name}-%{version}.lst


%changelog
* Fri Feb 1 2002 Rainer Lay <rainer.lay@gmx.de>
- added libvorbis-devel requires