LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File fyre.spec of Package fyre (Project DISCONTINUED:openSUSE:11.1)

#
# spec file for package fyre (Version 1.0.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           fyre
BuildRequires:  OpenEXR-devel desktop-file-utils gcc-c++ gnet-devel gtk2-devel libglade2-devel libstdc++-devel shared-mime-info update-desktop-files
Version:        1.0.1
Release:        1
Url:            http://fyre.navi.cx/
Group:          Productivity/Graphics/Other
License:        GPL v2 or later
Summary:        Rendering system for chaotic maps
Source:         %{name}-%{version}.tar.bz2
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Fyre provides a rendering system for chaotic maps, with an interactive
GTK+ frontend and the ability to create high-resolution images from the
command line.



Authors:
--------
    David Trowbridge
    Micah Dowty

%prep
%setup -q

%build
autoreconf -f -i
# animation.c:291: warning: dereferencing type-punned pointer will break strict-aliasing rules
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j%jobs}

%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file fyre

%clean
rm -rf $RPM_BUILD_ROOT

%post
if test -x usr/bin/update-mime-database ; then
  usr/bin/update-mime-database usr/share/mime >/dev/null
fi

%postun
if test -x usr/bin/update-mime-database ; then
  usr/bin/update-mime-database usr/share/mime >/dev/null
fi

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/fyre
%{_datadir}/icons/hicolor/*/apps/fyre.*
%{_datadir}/icons/hicolor/*/mimetypes/*.png
%{_datadir}/mime/packages/*.xml

%changelog
* Mon Mar 31 2008 vuntz@suse.de
- Update to version 1.0.1:
  + New scalable (and not-ugly) icon, drawn by Andreas Nilsson
  + Fix a few crashes in pathological and corner cases
  + Add +/- 1 subpixel of noise during oversampling, to avoid
  aliasing in certain conditions
  + Implement the 'Polar' variant of the Box-Mueller transform, for
  a slight performance increase.
* Thu May 10 2007 pgajdos@suse.cz
- removed gnome-icon-theme from Requires and BuildRequires
  [#247450]
* Thu Jan 18 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Wed Dec 20 2006 jhargadon@suse.de
- fixed an error with update-mime-database during %%postun (#225662)
* Tue Oct 31 2006 meissner@suse.de
- use RPM_OPT_FLAGS
* Thu Sep 07 2006 dobey@suse.de
- Import into build system