File rawstudio.spec of Package rawstudio

Name:           rawstudio
Version:        1.2
Release:        1
License:        GPLv2
Group:          Productivity/Graphics/Other
Summary:        RawStudio
Url:            http://rawstudio.org/
Source0:        %{name}-%{version}.tar.bz2
Patch:          fix-constchar.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gcc-c++ gtk2-devel gconf2-devel libxml2-devel dbus-1-devel
BuildRequires:  libjpeg-devel libtiff-devel libexiv2-devel liblcms-devel
BuildRequires:  update-desktop-files

%description
RawStudio is a digital camera RAW files processing software.

%lang_package

%prep
%setup -q
%patch

%build
# g_static_mutex_lock/unlock calls give the following 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 %{name}
%find_lang %{name}

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%doc AUTHORS README NEWS TODO
%{_bindir}/*
%{_datadir}/applications/*
%{_datadir}/icons/*
%{_datadir}/pixmaps/*
%{_datadir}/rawstudio

%files lang -f %{name}.lang

%changelog
* Sat Apr 11 2009 - prusnak@suse.cz
- New upstream version 1.2
* Wed Nov 5 2008 - hub@figuiere.net
- Use -lang
* Sun Oct 12 2008 - hub@figuiere.net
- New upstream version 1.1.1
  * Bug fixes
* Mon Sep 15 2008 - hub@figuiere.net
- New upstream version 1.1
  * Remove rawstudio-sr2-support.patch
  * Exif support
  * Lot of bugfixes.
* Sun May  4 2008 - hub@figuiere.net
- Add patch to support sr2: rawstudio-sr2-support.patch
* Fri Apr 18 2008 - hub@figuiere.net
- New upstream version 1.0
* Thu Jan 24 2008 - hub@figuiere.net
- New upstream version 0.7
openSUSE Build Service is sponsored by