]> git.pld-linux.org Git - SPECS.git/blob - kdetv.spec
SPECS updated Sun 1 Aug 15:50:02 CEST 2021
[SPECS.git] / kdetv.spec
1 #
2 # Conditional build:
3 %bcond_without  lirc            # without lirc support
4 #
5 Summary:        KDE Video4Linux Stream Capture Viewer
6 Summary(de.UTF-8):      Video4Linux Stream Player für KDE
7 Summary(pl.UTF-8):      Przeglądarka strumienia Video4Linux dla KDE
8 Name:           kdetv
9 Version:        0.8.9
10 Release:        2
11 License:        GPL
12 Group:          X11/Applications/Multimedia
13 Source0:        http://dziegel.free.fr/releases/%{name}-%{version}.tar.bz2
14 # Source0-md5:  7a5d73e08bc133cc2db228cb6655670e
15 Patch0:         %{name}.desktop.patch
16 Patch1:         kde-ac260.patch
17 Patch2:         kde-ac260-lt.patch
18 Patch3:         kde-am.patch
19 URL:            http://www.kdetv.org/
20 BuildRequires:  OpenGL-devel
21 BuildRequires:  alsa-lib-devel
22 BuildRequires:  arts-devel
23 BuildRequires:  autoconf
24 BuildRequires:  automake
25 BuildRequires:  gettext-tools
26 BuildRequires:  kdelibs-devel >= 9:3.3.2
27 BuildRequires:  libjpeg-devel
28 BuildRequires:  libpng-devel
29 BuildRequires:  libtool
30 %{?with_lirc:BuildRequires:     lirc-devel}
31 BuildRequires:  xorg-lib-libXxf86dga-devel
32 BuildRequires:  zlib-devel
33 BuildRequires:  zvbi-devel
34 Obsoletes:      kwintv
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 kdetv is a KDE application based on the bttv-driver by Ralph Metzler.
39 kdetv allows you to watch TV in a window on your PC screen.
40
41 %description -l de.UTF-8
42 Kdetv ist eine KDE Applikation die auf den bttv Treiber von Ralph
43 Metzler bassiert. Kdetv ermöglicht es TV auf ihren PC zu gucken.
44
45 %description -l pl.UTF-8
46 kdetv jest aplikacją KDE bazującą na sterowniku bttv autorstwa Ralpha
47 Metzlera. kdetv pozwala na oglądanie TV w oknie na ekranie PC.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p1
54 %patch3 -p1
55
56 %build
57 cp -f /usr/share/automake/config.* admin
58 %{__make} -f admin/Makefile.common cvs
59 %configure \
60 %if "%{_lib}" == "lib64"
61         --enable-libsuffix=64 \
62 %endif
63         --%{?with_lirc:en}%{!?with_lirc:dis}able-kdetv-lirc \
64         --with-alsa-dir=%{_prefix} \
65         --with-qt-libraries=%{_libdir} \
66         --with-zvbi-dir=%{_prefix}
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         kde_appsdir=%{_desktopdir} \
74         kde_htmldir=%{_kdedocdir} \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 mv -f $RPM_BUILD_ROOT%{_desktopdir}/Multimedia/*.desktop \
78         $RPM_BUILD_ROOT%{_desktopdir}
79
80 %find_lang %{name} --with-kde
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog README TODO
91 %attr(755,root,root) %{_bindir}/*
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
93 %attr(755,root,root) %{_libdir}/kde3/*.so*
94 %{_libdir}/kde3/*.la
95 %{_libdir}/*.la
96 %{_desktopdir}/*.desktop
97 %{_datadir}/apps/kdetv
98 %{_datadir}/apps/profiles/*
99 %{_datadir}/services/kdetv
100 %{_datadir}/servicetypes/kdetv
101 %{_iconsdir}/hicolor/*/*/*.png
This page took 0.111095 seconds and 3 git commands to generate.