File xfburn.spec of Package xfburn

#
# spec file for package xfburn
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           xfburn
Version:        0.4.3
Release:        13
License:        GPLv2+
Summary:        A simple CD/DVD burning tool based on libburnia libraries
Url:            http://goodies.xfce.org/projects/applications/xfburn
Group:          Productivity/Multimedia/CD/Record
Source:         http://archive.xfce.org/src/apps/xfburn/0.4/%{name}-%{version}.tar.bz2
Patch0:         %{name}-0.4.3-desktop.patch
BuildRequires:  intltool
BuildRequires:  pkgconfig(exo-1)
BuildRequires:  pkgconfig(libxfcegui4-1.0)
BuildRequires:  pkgconfig(libburn-1)
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(gstreamer-0.10)
BuildRequires:  pkgconfig(gstreamer-pbutils-0.10)
BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires:  thunar-devel
BuildRequires:  update-desktop-files
Requires:       thunar
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Xfburn is a simple CD/DVD burning tool based on libburnia libraries.
It can blank CD-RWs, burn and create iso images, as well as burn
personal compositions of data to either CD or DVD.

%prep
%setup -q
%patch0 -p1

%build
%configure
make %{?_smp_mflags}

%install
%make_install
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK}
%find_lang %{name}
%suse_update_desktop_file %{name}

%clean
rm -rf %{buildroot}

%if 0%{?suse_version} >= 1140

%post
%desktop_database_post
%icon_theme_cache_post

%postun
%desktop_database_postun
%icon_theme_cache_postun
%endif

%files -f %{name}.lang
%defattr(-,root,root)
%doc README ChangeLog INSTALL COPYING AUTHORS NEWS TODO
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/*
%{_datadir}/%{name}
%{_datadir}/icons/hicolor/*/*/*/*xfburn*
%{_datadir}/Thunar/sendto/thunar-sendto-xfburn.desktop

%changelog
openSUSE Build Service is sponsored by