%define rname kaffeine
Name: kde4-%rname
Version: 1.3.1
Release: alt2
Group: Video
Summary: Multimedia Player
Url:
http://kaffeine.sourceforge.net/License: GPLv2
Requires: libqt4-sql-sqlite
Conflicts: kaffeine <= 0.8.8-alt4
# svn.kde.org/home/kde/trunk/extragear/multimedia/kaffeine
Source0: %rname-%version.tar.gz
Patch1: alt-gcc47.patch
BuildRequires: gcc-c++ kde4libs-devel libxine-devel
%description
Kaffeine plays all files and devices supported by Xine. For example,
MPEG files, AVI (if the codec being used is supported by Xine), MP3,
and Ogg Vorbis. It also handles Video CDs, DVDs, and DVB cards.
%prep
%setup -q -n %rname-%version
%patch1 -p1
echo "X-KDE4-InitialPreference=30" >> src/kaffeine.desktop
%build
%K4cmake
%K4make
%install
%K4install
%K4find_lang %rname
%files -f %rname.lang
%doc Changelog NOTES
%_K4bindir/kaffeine
%_K4bindir/kaffeine-xbu
#%_K4lib/kaffeinedvb.so
%_K4apps/kaffeine/
%_K4iconsdir/hicolor/*/*/*.*
%_K4iconsdir/oxygen/*/*/*.*
%_K4apps/solid/actions/kaffeine_*.desktop
%_K4apps/profiles/kaffeine.profile.xml
%_K4xdg_apps/kaffeine.desktop
%changelog
* Sun Sep 06 2015 Serg Sch <nemo@altlinux> 1.3.1-alt2
- automatic recordings
- fix for information files for recordings
- translations readded
* Fri Aug 07 2015 Serg Sch <nemo@altlinux> 1.3-alt1
- option for custom naming for recordings
- option for creating information files for recordings
- other stuff
* Tue Oct 09 2012 Sergey V Turchin <zerg@altlinux.org> 1.2.2-alt2
- fix to build with gcc 4.7
* Mon Apr 25 2011 Sergey V Turchin <zerg@altlinux.org> 1.2.2-alt1
- new version
* Fri Mar 18 2011 Sergey V Turchin <zerg@altlinux.org> 1.1-alt2
- move to standart place
* Mon Sep 13 2010 Sergey V Turchin <zerg@altlinux.org> 1.1-alt1
- new version
* Wed Jun 02 2010 Sergey V Turchin <zerg@altlinux.org> 1.0-alt0.M51.1
- built for M51
* Wed Jun 02 2010 Sergey V Turchin <zerg@altlinux.org> 1.0-alt1
- 1.0 release
* Wed Feb 03 2010 Sergey V Turchin <zerg@altlinux.org> 1.0-alt0.3.M51.1
- built for M51
* Mon Feb 01 2010 Sergey V Turchin <zerg@altlinux.org> 1.0-alt0.4
- 1.0-pre3
* Mon Aug 10 2009 Sergey V Turchin <zerg@altlinux.org> 1.0-alt0.2.M50.1
- built for M50
* Mon Aug 10 2009 Sergey V Turchin <zerg@altlinux.org> 1.0-alt0.3
- increase InitialPreference
* Mon Aug 10 2009 Sergey V Turchin <zerg@altlinux.org> 1.0-alt0.2.pre2
- 1.0-pre2
* Tue Jun 23 2009 Sergey V Turchin <zerg@altlinux.org> 1.0-alt0.1.pre1
- initial specfile
[serg@valya SPECS]$ rpmbb kaffeine.spec
which: no ccache in (/usr/share/eterbuild/functions/commands:/home/serg/bin:/usr/lib/kde4/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/X11R6/bin)
No ccache (from ccache package)
$ nice rpmbuild --define=_topdir /home/serg/RPM --quiet --quiet --define=_unpackaged_files_terminate_build 0 --quiet /home/serg/RPM/SPECS/kaffeine.spec -bb --target x86_64
Платформы для сборки: x86_64
Сборка для платформы x86_64
Выполняется(%prep): /bin/sh -e /home/serg/tmp/rpm-tmp.70792
+ umask 022
+ /bin/mkdir -p /home/serg/RPM/BUILD
+ cd /home/serg/RPM/BUILD
+ cd /home/serg/RPM/BUILD
+ rm -rf kaffeine-1.3.1
+ echo 'Source #0 (kaffeine-1.3.1.tar.gz):'
Source #0 (kaffeine-1.3.1.tar.gz):
+ /bin/tar -xf -
+ /bin/gzip -dc /home/serg/RPM/SOURCES/kaffeine-1.3.1.tar.gz
+ cd kaffeine-1.3.1
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #1 (alt-gcc47.patch):'
Patch #1 (alt-gcc47.patch):
+ /usr/bin/patch -p1
patching file src/dvb/dvbepg.cpp
Hunk #1 FAILED at 699.
1 out of 1 hunk FAILED -- saving rejects to file src/dvb/dvbepg.cpp.rej
ошибка: Неверный код возврата из /home/serg/tmp/rpm-tmp.70792 (%prep)
Ошибки сборки пакетов:
Неверный код возврата из /home/serg/tmp/rpm-tmp.70792 (%prep)
!!!!!!!! ERROR !!!!!!!
Error in rpmbb: Build failed with /home/serg/RPM/SPECS/kaffeine.spec
[serg@valya SPECS]$