177 lines
5.6 KiB
RPMSpec
177 lines
5.6 KiB
RPMSpec
Name: xine-ui
|
|
Version: 0.99.13
|
|
Release: 1mamba
|
|
Summary: Free multimedia player
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://xinehq.de/
|
|
Source0: http://downloads.sourceforge.net/project/xine/xine-ui/%{version}/xine-ui-%{version}.tar.xz
|
|
#Source0: http://dl.sf.net/xine/%{name}-%{version}.tar.gz
|
|
Source1: xine-ui_desktopfile
|
|
Patch0: %{name}-0.99.5-mktemp.patch
|
|
Patch1: %{name}-0.99.4-format_str.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXScrnSaver-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXft-devel
|
|
BuildRequires: libXinerama-devel
|
|
BuildRequires: libXtst-devel
|
|
BuildRequires: libXv-devel
|
|
BuildRequires: libXxf86vm-devel
|
|
BuildRequires: libaa-devel
|
|
BuildRequires: libcaca-devel
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libgpm-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libnsl-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libreadline-devel
|
|
BuildRequires: libslang-devel
|
|
BuildRequires: libxine-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: lirc-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: gettext-devel >= 0.14.0
|
|
#BuildRequires: Xorg-devel >= 6.8.0
|
|
BuildRequires: libaa-devel >= 1.2
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: lirc-devel
|
|
|
|
%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.
|
|
This package contains the GUI of the Xine multimedia player.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#%patch0 -p1 -b .mktemp
|
|
#%patch1 -p1 -b .format_str
|
|
|
|
%build
|
|
%configure \
|
|
--x-libraries="%{_prefix}/X11R6/%{_lib}" \
|
|
--program-prefix=""
|
|
# --disable-lirc
|
|
|
|
%make
|
|
|
|
%install
|
|
[ %{buildroot} != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
# move the docs back into place
|
|
rm -fr rpm_xine-ui-doc
|
|
mv %{buildroot}%{_docdir}/xine-ui rpm_xine-ui-doc
|
|
mv %{buildroot}%{_datadir}/doc/xitk/README rpm_xine-ui-doc/README.xitk
|
|
mkdir -p {buildroot}%{_datadir}
|
|
%find_lang %{name}
|
|
%find_lang xitk
|
|
cat xitk.lang >> %{name}.lang
|
|
|
|
# remove unpackaged files
|
|
rm -f %{buildroot}%{_datadir}/xine/desktop/xine.desktop
|
|
|
|
%clean
|
|
[ %{buildroot} != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-, root, root)
|
|
%{_bindir}/aaxine
|
|
%{_bindir}/cacaxine
|
|
%{_bindir}/fbxine
|
|
%{_bindir}/xine
|
|
%{_bindir}/xine-bugreport
|
|
%{_bindir}/xine-check
|
|
%{_bindir}/xine-remote
|
|
%{_datadir}/applications/xine.desktop
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/mime/packages/xine-ui.xml
|
|
%{_datadir}/icons/hicolor/*/apps/xine.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/xine.svgz
|
|
%{_datadir}/pixmaps/*
|
|
%dir %{_datadir}/xine/
|
|
%{_datadir}/xine/*
|
|
%{_mandir}/man1/*
|
|
%lang(de)%{_mandir}/de/man1/*
|
|
%lang(es)%{_mandir}/es/man1/*
|
|
%lang(fr)%{_mandir}/fr/man1/*
|
|
%lang(pl)%{_mandir}/pl/man1/*
|
|
%doc AUTHORS COPYING
|
|
#ChangeLog NEWS README
|
|
|
|
%changelog
|
|
* Sun Dec 26 2021 Automatic Build System <autodist@mambasoft.it> 0.99.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 11 2019 Automatic Build System <autodist@mambasoft.it> 0.99.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Feb 16 2018 Automatic Build System <autodist@mambasoft.it> 0.99.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 31 2014 Automatic Build System <autodist@mambasoft.it> 0.99.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 20 2014 Automatic Build System <autodist@mambasoft.it> 0.99.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 05 2013 Automatic Build System <autodist@mambasoft.it> 0.99.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jan 21 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.5-4mamba
|
|
- rebuilt with recent glibc to fix missing strlcat symbol error
|
|
|
|
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.5-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.99.5-2mamba
|
|
- edit xine-ui_desktopfile (Icon=xine)
|
|
|
|
* Mon Jun 30 2008 gil <puntogil@libero.it> 0.99.5-1mamba
|
|
- update to 0.99.5
|
|
- removed xine-ui-0.99.4-format_str.patch, buildrequires Xorg-devel
|
|
- edit xine-ui-0.99.5-mktemp.patch
|
|
|
|
* Thu May 18 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.99.4-3qilnx
|
|
- rebuilt to replace the version uploaded in the devel-contrib repository
|
|
|
|
* Fri Apr 28 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.99.4-2qilnx
|
|
- new desktop file (stolen from kappfinder)
|
|
- use %%find_lang macro
|
|
- fixed some format string vulnerabilities (CVE-2006-1905, qibug#159)
|
|
|
|
* Thu Oct 13 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.99.4-1qilnx
|
|
- update to version 0.99.4 by autospec
|
|
- fixed package group
|
|
- use rpm macros
|
|
- desktop file modified
|
|
- fixed insecure creation of temporary files (xine-check, xine-bugreport)
|
|
|
|
* Mon Dec 20 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.99.3-1qilnx
|
|
- update to version 0.99.3 by autospec
|
|
- modified package group
|
|
- conditionally remove buildroot directory
|
|
- set program prefix to "" when running configure
|
|
- added locales and related build requirement
|
|
- own `%{_datadir}/xine/' directory
|
|
- added basic documentation (COPYING, ...)
|
|
- specfile cleanups
|
|
|
|
* Tue Oct 19 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.2-2qilnx
|
|
- rebuilt and moved from devel-contrib to devel
|
|
|
|
* Wed Sep 22 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.99.2-1qilnx
|
|
- first build
|