Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xine-ui
xine-ui.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xine-ui.spec of Package xine-ui
# # spec file for package xine-ui # # Copyright (c) 2012 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: xine-ui BuildRequires: aalib-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: curl-devel BuildRequires: libjpeg62-devel BuildRequires: libpng-devel BuildRequires: libxine-devel BuildRequires: lirc-devel BuildRequires: readline-devel BuildRequires: update-desktop-files BuildRequires: xorg-x11-devel Summary: Video player with plugins License: GPL-2.0+ ; SUSE-Public-Domain Group: Productivity/Multimedia/Video/Players Version: 0.99.7 Release: 0 Url: http://xine.sourceforge.net BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: xine:/usr/bin/xine Source: xine-ui-%version.tar.bz2 Source1: xine-ui.png Source2: xine-ui-crippled.png # extra skins Source11: caramel.tar.bz2 Source12: CelomaChrome.tar.bz2 Source13: lcd.tar.bz2 Source99: baselibs.conf # *** xine-lib: Bugfixes Patch0: xine-ui-various.diff Patch2: xine-ui-lirc.diff Patch22: xine-ui-rpmlintrc.diff Patch23: xine-ui-array-overflow.diff # PATCH-FIX-UPSTREAM xine-ui-libpng15.patch -- pgajdos@suse.com; build with libpng15; sent today to f1rmb@users.sourceforge.net # build against libpng14 should not be affected, otherwise please let me know Patch24: xine-ui-libpng15.diff # *** SUSE only changes Patch50: xine-ui-crippled-LOCAL.diff Patch60: xine-ui-AUTOMAKE.diff %description xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. It also decodes multimedia files like AVI, MOV, WMV, and MP3 from local disk drives, and displays multimedia streamed over the Internet. It interprets many of the most common multimedia formats available - and some of the most uncommon formats, too. Authors: -------- Guenter Bartsch <guenter@sourceforge.net> %prep %setup -q %if %suse_version > 1110 %patch2 -p1 %endif %patch0 %patch22 -p1 %patch23 -p1 #%patch24 -p1 %patch50 -p1 %patch60 install -m 0644 %SOURCE1 misc/splash-default/xine-ui_logo.png install -m 0644 %SOURCE2 misc/splash-default/xine-ui_logo-crippled.png %ifarch x86_64 sed -i -e "s/lirc_libprefix=\"\$LIRC_PREFIX\/lib\"/lirc_libprefix=\"\$LIRC_PREFIX\/lib64\"/g" \ -e "s/for llirc in \$lirc_libprefix \/lib \/usr\/lib \/usr\/local\/lib; do/for llirc in \$lirc_libprefix \/lib64 \/usr\/lib64 \/usr\/local\/lib64; do/g" m4/_xine.m4 %endif %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" # ignore nonupdated automake+co files rm -f missing ; touch missing export XINE_DOCPATH=/usr/share/doc/packages/xine-ui NO_CONFIGURE=1 ./autogen.sh %configure \ --enable-vdr-keys \ --with-pic \ --disable-static make %{?jobs:-j%jobs} %install make install DESTDIR=$RPM_BUILD_ROOT install -d -m755 $RPM_BUILD_ROOT%{_defaultdocdir} mv $RPM_BUILD_ROOT/usr/share/doc/xitk $RPM_BUILD_ROOT%{_defaultdocdir}/xine-ui mkdir -p $RPM_BUILD_ROOT/usr/share/applications/ rm -rf $RPM_BUILD_ROOT/usr/share/xine/desktop install -m 0644 %SOURCE2 $RPM_BUILD_ROOT/usr/share/xine/skins/xine-ui_logo-crippled.png # extra skins install -d -m755 %buildroot/usr/share/xine/skins/ for i in %SOURCE11 %SOURCE12 %SOURCE13 ; do tar xfvj $i -C %buildroot/usr/share/xine/skins/ done # %suse_update_desktop_file -i xine AudioVideo Player Video %find_lang %{name} %find_lang xitk %{name}.lang %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,0755) %dir %_mandir/?? %dir %_mandir/??/man1 %doc %_mandir/*/man1/xine.1.gz %doc %_mandir/*/man1/xine-check.1.gz %doc %_mandir/*/man1/xine-remote.1.gz %doc %_mandir/*/man1/aaxine* %doc %_mandir/man1/aaxine* %doc %_mandir/man1/xine.1.gz %doc %_mandir/man1/xine-check.1.gz %doc %_mandir/man1/xine-remote.1.gz /usr/bin/aaxine /usr/bin/fbxine /usr/bin/xine /usr/bin/xine-check /usr/bin/xine-remote %dir /usr/share/icons/hicolor %dir /usr/share/icons/hicolor/* %dir /usr/share/icons/hicolor/*/apps /usr/share/icons/hicolor/*/apps/xine.png %dir /usr/share/xine %dir /usr/share/xine/skins /usr/share/xine/skins/xine-ui_logo.png /usr/share/xine/skins/xine-ui_logo-crippled.png /usr/share/xine/skins/xine_splash.png /usr/share/xine/skins/xinetic /usr/share/xine/skins/CelomaChrome /usr/share/xine/skins/caramel /usr/share/xine/skins/lcd %dir /usr/share/xine/visuals /usr/share/xine/visuals/default.mpv /usr/share/applications/xine.desktop /usr/share/xine/oxine /usr/share/pixmaps/* /usr/share/mime/packages/xine-ui.xml %_defaultdocdir/xine-ui %doc %_mandir/*/man1/xine-bugreport.1.gz %doc %_mandir/man1/xine-bugreport.1.gz /usr/bin/xine-bugreport %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor