%define localstatedir /var/lib Summary: Utility to ease the reporting of bugs within the GNOME Desktop Environment. Name: bug-buddy Version: 2.0.8 Release: 2 License: GPL Group: Applications/System Source: ftp://ftp.gnome.org/pub/sources/%{name}-%{version}.tar.gz URL: http://www.andrew.cmu.edu/~jberkman/bug-buddy/ BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: gnome-libs >= 1.0.60 Requires: libglade >= 0.5 BuildRequires: ORBit-devel, gnome-vfs-devel, gdk-pixbuf-devel BuildRequires: gnome-libs-devel >= 1.0.60 BuildRequires: libglade-devel >= 0.5 %description The goal of bug-buddy is to make reporting bugs very simple and easy for users, while making the reports themselves more useful and informative for developers. %prep %setup -q %build MYCFLAGS="$RPM_OPT_FLAGS" if [ ! -f configure ]; then CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} --localstatedir=%{localstatedir} \ --bindir=%{_bindir} --datadir=%{_datadir} fi CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} --localstatedir=%{localstatedir} \ --bindir=%{_bindir} --datadir=%{_datadir} if [ "$SMP" != "" ]; then make -j$SMP "MAKE=make -j$SMP" else make fi %install rm -fr $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{_prefix} \ sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \ localstatedir=$RPM_BUILD_ROOT%{localstatedir} \ bindir=$RPM_BUILD_ROOT%{_bindir} \ datadir=$RPM_BUILD_ROOT%{_datadir} install %find_lang %{name} %clean rm -fr $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-, root, root) %doc ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL NEWS README TODO %{_bindir}/* %{_datadir}/pixmaps/* %{_datadir}/gnome/apps/Utilities/* %{_datadir}/gnome/help/bug-buddy %{_datadir}/mime-info/* %{_datadir}/bug-buddy %changelog * Fri Aug 17 2001 Gregory Leblanc - fixed BuildRoot - fixed source * Mon Jun 25 2001 Gregory Leblanc - added gdk-pixbuf to the build depandancies * Mon Jun 25 2001 Gregory Leblanc - used %find_lang macro * Thu May 24 2001 Gregory Leblanc - removed unnecessary %defines - made %setup quiet - corrected %files section - replaced Copywright with license - Added build requires for gnome-vfs - cleaned up formatting on BuildRequires * Tue Feb 20 2001 Gregory Leblanc - macro fixes, remove hard-coded paths * Wed Feb 23 2000 Jacob Berkman - don't say we own the pixmaps/ dir * Wed Nov 10 1999 Jacob Berkman - fixed up for insertion into the CVS * Fri Nov 05 1999 Ned Rhudy - the first incarnation of the spec file...watch it not work