Sophie

Sophie

distrib > Mandriva > 9.2 > i586 > by-pkgid > 2b3d2b55e72213e63a656b2b6645bc6b > files > 1

gnome-toaster-1.0-0.beta6.2mdk.src.rpm

%define filever 1.0Beta6

Name: gnome-toaster
Summary: CD-Recording frontend for GNOME
Version: 1.0
Release: 0.beta6.2mdk
Source: http://gnometoaster.rulez.org/archive/gtoaster%{filever}.tar.bz2
# don't autodetect cdrom at startup (it freeze gtoaster)
# Patch0: gnome-toaster-1.0b2-default.patch.bz2
URL: http://gnometoaster.rulez.org/
Group: Archiving/Cd burning
BuildRequires: db1-devel gnome-libs-devel zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: cdrecord
Epoch: 0
License: GPL

%description
CD-Recording frontend for GNOME.

%prep
%setup -q -n gtoaster
# %patch0 -p1 -b .default
# yves - ogginfo outputs exactly the same info that this stupid oggtst
perl -pi -e 's#oggtst#ogginfo#' defaultentries.h

%build
%configure
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

# Mandrake Menu entry
mkdir -p %buildroot/%{_menudir}
cat <<EOF > %buildroot/%{_menudir}/%{name}
?package(%{name}): \
needs="x11" \
section="Applications/Archiving/Cd burning" \
title="Gnome-Toaster" \
longtitle="A GNOME utility for cd burning" \
command="%{_bindir}/gtoaster" \
icon="cd_burning_section.png"
EOF

# let's clean Documentation directory
# rm -rf Documentation/CVS
#(peroyvind) manually install locale files as the makefile script failed to do so
for i in po/*.gmo ; \
	do \
	j=`echo $i|cut -d. -f1|cut -d/ -f2` ; \
	install -m644 $i -D $RPM_BUILD_ROOT%{_datadir}/locale/$j/LC_MESSAGES/gtoaster.mo ; \
done

%find_lang gtoaster

%clean
rm -rf %buildroot

%post
%{update_menus}

%postun
%{clean_menus}

%files -f gtoaster.lang 
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL README TODO
%{_bindir}/*
%{_menudir}/*

%changelog
* Thu Jul 24 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.0-0.beta6.2mdk
- install locale files

* Thu Jul 24 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.0-0.beta6.1mdk
- rebuild
- 1.0Beta6
- rm -rf $RPM_BUILD_ROOT at the beginning of %%install

* Mon Jan  6 2003 Stew Benedict <sbenedict@mandrakesoft.com> 1.0-0.beta5.3mdk
- rebuild for new glibc/rpm

* Tue Aug 27 2002 David BAUDENS <baudens@mandrakesoft.com> 1.0-0.beta5.2mdk
- Fix icon (menu)

* Thu Aug  8 2002  Amaury Amblard-Ladurantie <amaury@mandrakesoft.com> 1.0-0.beta5.1mdk
- new version

* Fri Apr 12 2002 Yves Duret <yduret@mandrakesoft.com> 1.0-0.beta2.8mdk
- fix burning of .ogg files to CD-Audio by a perlish "patch" to use standard
  ogginfo instead of useless ogtst.
- png icons
- remove NEWS ffile from %%doc (zero-length)

* Thu Sep 20 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-0.beta2.7mdk
- Fix patch0 to non blocking dialog
- Add require on cdrecord

* Wed Sep 19 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-0.beta2.6mdk
- Patch0: popup a dialog to fix bug 4860 (freeze at startup)

* Thu Aug 30 2001 David BAUDENS <baudens@mandrakesoft.com> 1.0-0.beta2.5mdk
- Use %%find_lang for all locales

* Thu Aug 30 2001 David BAUDENS <baudens@mandrakesoft.com> 1.0-0.beta2.4mdk
- Fix previous changelog :-/

* Thu Aug 30 2001 David BAUDENS <baudens@mandrakesoft.com> 1.0-0.beta2.3mdk
- Use new icons
- Add missing files

* Mon Jul 23 2001 Stefan van der Eijk <stefan@eijk.nu> 1.0-0.beta2.2mdk
- BuildRequires:	db1-devel
- Removed BuildRequires:	audiofile-devel
- Removed BuildRequires:	esound-devel
- Removed BuildRequires:	imlib-devel
- Removed BuildRequires:	XFree86-devel

* Tue Jul  3 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-0.beta2.1mdk
- Release 1.0beta2

* Fri Jun 29 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-0.beta1.1mdk
- Release 1.0beta1 (snapshot 2001060411)

* Thu Apr 12 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 2001033113-1mdk
- Release 2001-03-31

* Tue Sep  5 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 20000227-5mdk
- Update icons
- Embed menuentry
- BM + macroszifications

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 20000227-4mdk
- automatically added BuildRequires

* Thu May 04 2000 Daouda Lo <daouda@mandrakesoft.com> 20000227-3mdk
- icon 32x32 and 16x16.

* Fri Apr 28 2000 Vincent Saugey <vince@mandrakesoft.com> 20000227-2mdk
- Fixed icon path in menu entry
- Rename menu file
- Add documentation
- Convert icon to xpm

* Thu Apr 13 2000 Daouda Lo <daouda@mandrakesoft.com> 20000227-1mdk
- release 20000227
- SMP build/check

* Mon Apr 10 2000 Daouda Lo <daouda@mandrakesoft.com> 19991011-2mdk
- add menu support 
- update group 

* Sun Oct 31 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- Enable SMP check/build
- 19991021 

* Tue Jul 22 1999 Thierry Vignaud <tvignaud@mandrakesoft.com>
- add french description

* Sat Jun 26 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Initial RPM