Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
xine-ui
> xine-ui.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xine-ui.spec of Package xine-ui (Revision 3)
Currently displaying revision
3
,
show latest
%define name xine-ui %define version 0.99.5 %define release 1 %define major 1 %define libname libxine%{major} %define libvers 1.1.0 %define skindir %{_datadir}/xine/skins %define deskdir %{_datadir}/xine/desktop %define ginstall install -c Name: %{name} Summary: A Free Audio/Video Player. Summary(cs): Volnì ¹iøitelný audio/video pøehrávaè Summary(de): Ein freies Audio- und Video-Abspielprogramm Version: %{version} Release: %{release} License: GPL Group: Productivity/Multimedia/Video/Players URL: http://xinehq.de Source0: xine-ui-0.99.5.tar.bz2 Requires: %{libname} >= %{libvers} Requires: openssl >= 0.9.6 Requires: curl >= 7.10 Requires: zlib Requires: readline Requires: fontconfig Requires: freetype2 Requires: libcaca Requires: libpng Requires: ncurses %if %suse_version >= 920 BuildRequires: xorg-x11-libs %else Requires: XFree86-libs %endif BuildRequires: %{libname} >= %{libvers} BuildRequires: %{libname}-devel >= %{libvers} BuildRequires: libcaca BuildRequires: libcaca-devel BuildRequires: curl-devel >= 7.10 BuildRequires: libpng BuildRequires: libpng-devel BuildRequires: freetype2 BuildRequires: freetype2-devel BuildRequires: update-desktop-files BuildRequires: libcaca-devel BuildRequires: readline-devel BuildRequires: slang BuildRequires: slang-devel BuildRequires: pkgconfig BuildRequires: gcc BuildRequires: ncurses-devel %if %suse_version >= 920 BuildRequires: xorg-x11-devel %else BuildRequires: XFree86-devel %endif BuildRoot: %{_tmppath}/%{name}-buildroot %description xine is a fully-featured free audio/video player for unix-like systems which uses libxine for audio/video decoding and playback. For more informations on what formats are supported, please refer to the libxine documentation. %description -l cs xine je velmi atraktivní volnì ¹iøitelný audio/video pøehrávaè pro unixovské systémy, který pou¾ívá libxine pro dekódování zvuku a videa a pøehrávání. Více informací o tom, jaké formáty jsou podporovány získáte v dokumentaci od libxine. %description -l de xine ist ein freies Audio- und Video-Abspielprogramm für unixartige Systeme mit umfassenden Funktionen. Zur Audio- und Videodekodierung und Wiedergabe werden die xine-Bibliotheken aus libxine verwendet. Weitere Informationen über die unterstützten Formate entnehmen Sie in der Dokumentation zu libxine. %prep %setup -n %{name}-%{version} %build export CFLAGS="${RPM_OPT_FLAGS}" export XINE_DOCPATH="%{_docdir}/xine-ui" if [ ! -f configure ]; then NO_CONFIGURE=1 ./autogen.sh fi # # currently we do not use %%configure as it seems to cause trouble with # certain automake produced configure scripts - depending on automake version. # ./configure --build=%{_target_platform} --prefix=%{_prefix} \ --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} \ --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} --includedir=%{_includedir} \ --libdir=%{_libdir} --libexecdir=%{_libexecdir} \ --localstatedir=%{_localstatedir} \ --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \ --infodir=%{_infodir} --enable-vdr-keys make %install [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT %makeinstall %{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/applications/ %if %suse_version > 820 %suse_update_desktop_file -i xine AudioVideo Player Video %else %{__install} -c -m644 $RPM_BUILD_ROOT/%{_datadir}/xine/desktop/xine.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/ %endif %{__install} -m 644 misc/desktops/xine.wmconfig %{?buildroot:%{buildroot}}%{deskdir}/ %{__rm} -rf $RPM_BUILD_ROOT/%{deskdir} %clean [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc %{_docdir}/* %doc %{_datadir}/doc/xitk/* %{_bindir}/* %{skindir}/* %{_datadir}/pixmaps/* %{_datadir}/xine/visuals/* %{_datadir}/xine/oxine/* %{_datadir}/icons/hicolor/*/apps/xine.png %{_datadir}/applications/xine.desktop %lang(de) %{_mandir}/de/man1/* %lang(fr) %{_mandir}/fr/man1/* %lang(es) %{_mandir}/es/man1/* %lang(pl) %{_mandir}/pl/man1/* %{_mandir}/man1/* %{_datadir}/locale/* %changelog * Wed Oct 03 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build