Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 32edde70478056f68d38173f21f320cb > files > 2

spruce-0.7.6-2mdk.src.rpm

# Note that this is NOT a relocatable package
%define name     spruce
%define ver      0.7.6
%define rel      2mdk
%define prefix   %{_prefix}

Summary: The Spruce Mail Client
Name: %{name}
Version: %{ver}
Release: %{rel}
License: GPL
Group: Networking/Mail
BuildRequires: libglade-devel
Source:	http://prdownloads.sourceforge.net/spruce/%{name}-%{version}.tar.bz2
Source1: %{name}_icons.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
URL: http://spruce.sourceforge.net/

%description
This is the spruce email client. Because "User Friendly" is
for wusses.

%changelog
* Mon Dec  3 2001 Stefan van der Eijk <stefan@eijk.nu> 0.7.6-2mdk
- fix URL (Alexander Skwar)
- fix Source URL
- remove Requires (let rpm handle it)

* Mon Dec  3 2001 Stefan van der Eijk <stefan@eijk.nu> 0.7.6-1mdk
- 0.7.6
- fixed %files section
- Copyright --> License (rpmlint)
- fixed BuildRoot path (rpmlint)
- BuildRequires: libglade-devel

* Thu Jul 12 2001 Stefan van der Eijk <stefan@eijk.nu> 0.7.5-2mdk
- BuildRequires:	gtk+-devel
- Removed BuildRequires:	XFree86-devel

* Thu Dec 27 2000 Gregory Letoquart <gletoquart@mandrakesoft.com> 0.7.5-1mdk
- Update to 0.7.5.

* Thu Aug 31 2000 Enzo Maggi <enzo@mandrakesoft.com> 0.7.1-4mdk
- minor fixes in the spec

* Tue Aug 29 2000 Enzo Maggi <enzo@mandrakesoft.com> 0.7.1-3mdk
- Simplified the spec, relocated files.

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

* Wed May 10 2000 Vincent Saugey <vince@mandrakesoft.com> 0.7.0-1mdk
- Up to 0.7.0

* Wed May  3 2000 Vincent Saugey <vince@mandrakesoft.com> 0.6.4-1mdk
- Update to 0.6.4 for more stable version !!
- Add a menu entry
- Add 3 icons for menu

* Tue Mar 28 2000 Enzo Maggi <enzo@mandrakesoft.com> 0.6.0-1mdk
- fix in the spec: the %file section is now built on-the-fly

* Fri Mar 03 2000 Daouda LO <daouda@mandraksoft.com>
- 0.5.17
- Many add-ons 
- Many bug fixes

* Wed Dec 22 1999 Lenny Cartier <lenny@mandrakesoft.com>
- v0.5.9
- fix location of files

* Wed Nov 17 1999 Chris Lea <chrislea@luciddesigns.com>
0.5.8 -> 0.5.9
  o Brought back the right-click menu in the Mailbox pane
    since I for one really liked that
  o Fixed a segfault in the Composer's save email function
  o Added Danish NLS support
  o Fixed some memory leaks and bugs in the accounts dialog
  o Saving an email from the main window shouldn't put 2
    copies of the header information into the file anymore
  o Okay, for some reason I made it so that you needed at least
    one mailbox in order to create another (oops!). Fixed that.
  o Fixed a segfault that was cuased when a user added a mailbox
    (unfortunately, this again disallows creating a new mailbox
    when there aren't any - will have this fixed later)
  o Creating a new mailbox no longer truncates the file representing
    the mailbox
  o Remake of the Filters GUI
  o Redid the status dialog for checking mail so that it doesn't
    make a new status dialog for each account and instead uses the
    same one.
  o Other segfault fixes/code cleanups

* Sat Nov 13 1999 Chris Lea <chrislea@luciddesigns.com>
  - added spec file. this is my second RPM that I've made a spec
    file for, so please be merciful if I've screwed something up

%prep

%setup -a 1

%build

if [ ! -f configure ]; then
  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --enable-fsstd --enable-upgrade=no
else
  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --enable-fsstd --enable-upgrade=no
fi
%make

%install
%makeinstall


mkdir -p $RPM_BUILD_ROOT/%{_menudir}
cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/%{name}
?package(%{name}):\
	needs="X11" \
	section="Networking/Mail" \
	title="Spruce" \
	longtitle="Another email client" \
	command="/usr/bin/spruce" \
	icon=%{name}.xpm
EOF
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/mini
mkdir -p $RPM_BUILD_ROOT/usr/share/icons/large
cd $RPM_BUILD_DIR/%{name}-%{version}
install -m 644 %{name}_16.xpm $RPM_BUILD_ROOT/usr/share/icons/mini/%{name}.xpm
install -m 644 %{name}_32.xpm $RPM_BUILD_ROOT/usr/share/icons/%{name}.xpm
install -m 644 %{name}_48.xpm $RPM_BUILD_ROOT/usr/share/icons/large/%{name}.xpm

%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}

%postun
%{clean_menus}

%files -f %name.lang
%defattr(-, root, root)
%{_bindir}/*
%{_mandir}/man1/*
%{_menudir}/*
%{_iconsdir}/*.xpm
%{_iconsdir}/large/*.xpm
%{_iconsdir}/mini/*.xpm