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 51 52 53 54 55
|
# This spec file was generated using Kpp
# If you find any problems with this spec file please report
# the error to ian geiser <geiseri@msoe.edu>
Summary: AudioGalaxy Browser for KDE 2
Name: agbrowser
Version: 0.9
Release: control=None
Copyright: GPL
Vendor: Joe Theriault <uallloveme@yahoo.com>
Url: http://www.geocities.com/uallloveme/
Packager: Joe Theriault <uallloveme@yahoo.com>
Group: Applications/Internet
Source: agbrowser-0.9.tar.gz
BuildRoot: /usr
%description
This is a KDE program that handles:
running the Audiogalaxy client
restarting it if it dies or crashes
providing a place to edit user information
providing a place to edit share information
an integrated AudioGalaxy web browser
a special Mp3 share manager profile for Konqueror
%prep
%setup
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
--with-qt-dir=/usr/lib/qt2 --prefix=/usr \
$LOCALFLAGS
%build
# Setup for parallel builds
numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
if [ "$numprocs" = "0" ]; then
numprocs=1
fi
make -j$numprocs
%install
make install-strip DESTDIR=$RPM_BUILD_ROOT
cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.agbrowser
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.agbrowser
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.agbrowser
%clean
rm -rf $RPM_BUILD_ROOT/*
rm -rf $RPM_BUILD_DIR/agbrowser
rm -rf ../file.list.agbrowser
%files -f ../file.list.agbrowser
|