File xfmedia.spec of Package xfmedia
#
# spec file for package xfmedia (Version 0.9.2)
#
# 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: xfmedia
BuildRequires: dbus-1-devel hal-devel perl-XML-Parser startup-notification-devel update-desktop-files xine-devel xine-lib
BuildRequires: fam-devel gconf2-devel
BuildRequires: libxfcegui4-devel >= 4.3
BuildRequires: exo-devel >= 0.3
BuildRequires: xfce4-panel-devel >= 4.3
Summary: A simple, easy-to-use media player based on the xine engine
Version: 0.9.2
Release: 150
License: GPL v2 or later
Url: http://www.spuriousinterrupt.org/projects/xfmedia/
Source: %{name}-%{version}.tar.bz2
Source1: %{name}.desktop.in
Group: Productivity/Multimedia/Sound/Players
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Xfmedia is a simple, easy-to-use media player based on the xine engine.
The GTK+ GUI focuses on playing and managing audio files, but, being
based on xine, supports video as well.
%package devel
Requires: xfmedia = %{version}
Requires: perl-XML-Parser dbus-1-devel hal-devel startup-notification-devel
Requires: fam-devel gconf2-devel glib2-devel gtk2-devel
Requires: libxfcegui4-devel >= 4.3
Requires: exo-devel >= 0.3
Requires: xfce4-panel-devel >= 4.3
Summary: A simple, easy-to-use media player based on the xine engine
Group: Productivity/Multimedia/Sound/Players
%description devel
Xfmedia is a simple, easy-to-use media player based on the xine engine.
The GTK+ GUI focuses on playing and managing audio files, but, being
based on xine, supports video as well.
%prep
%setup -q
cp %{S:1} .
%build
%configure \
--enable-dbus \
--enable-startup-notification
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
#
# just to make sure that all programs will be able to find it
install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}/pixmaps
install -m 0644 ./pixmaps/xfmedia.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/
%suse_update_desktop_file -i %name AudioVideo Player Video
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc README ChangeLog INSTALL COPYING AUTHORS
%dir %{_datadir}/xfmedia
%dir %{_datadir}/xfmedia/doc
%dir %{_datadir}/xfmedia/doc/C
%doc %{_datadir}/xfmedia/doc/xfce.css
%doc %{_datadir}/xfmedia/doc/C/*
%{_bindir}/xfmedia
%{_bindir}/xfmedia-remote
%{_sysconfdir}/xdg/xfmedia/
%dir %{_libdir}/xfmedia
%dir %{_libdir}/xfmedia/plugins
%{_libdir}/xfmedia/plugins/xfmedia-infopipe.so
%{_datadir}/applications/xfmedia.desktop
%{_datadir}/pixmaps/xfmedia.png
%{_datadir}/icons/hicolor/22x22/actions/xfmedia-*.png
%dir %{_datadir}/icons/hicolor/22x22
%dir %{_datadir}/icons/hicolor/22x22/actions
%{_datadir}/icons/hicolor/48x48/apps/xfmedia.png
%files devel
%defattr(-, root, root)
%dir %{_includedir}/xfmedia
%{_includedir}/xfmedia/*
%{_libdir}/xfmedia/plugins/xfmedia-infopipe.*a
%{_libdir}/pkgconfig/xfmedia-plugin.pc
%changelog
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang problems
* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Wed May 02 2007 prusnak@suse.cz
- fixed desktop file, simplified spec file
* Tue Feb 13 2007 pnemec@suse.cz
- fix icon installation
* Tue Feb 06 2007 prusnak@suse.cz
- initial version 0.9.2 from BuildService