]> git.pld-linux.org Git - packages/tvtime.git/blob - tvtime.spec
a2cedd4a80f08d4f6c185b8c9ce742ea790d5b39
[packages/tvtime.git] / tvtime.spec
1 Summary:        A high quality TV viewer
2 Summary(pl.UTF-8):      Program do oglądania TV w wysokiej jakości
3 Name:           tvtime
4 Version:        1.0.2
5 Release:        11
6 License:        GPL
7 Group:          Applications/Multimedia
8 Source0:        http://downloads.sourceforge.net/tvtime/%{name}-%{version}.tar.gz
9 # Source0-md5:  4b3d03afe61be239b08b5e522cd8afed
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-gcc.patch
12 Patch2:         %{name}-def_user.patch
13 Patch3:         %{name}-autodetect_textured_overlay.patch
14 Patch4:         %{name}-libpng-1.5.patch
15 Patch5:         %{name}-format.patch
16 URL:            http://tvtime.sourceforge.net/
17 BuildRequires:  automake
18 BuildRequires:  freetype-devel
19 BuildRequires:  gettext-devel
20 BuildRequires:  libpng-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  libxml2-devel
23 BuildRequires:  rpmbuild(macros) >= 1.213
24 BuildRequires:  xorg-lib-libXinerama-devel
25 BuildRequires:  xorg-lib-libXt-devel
26 BuildRequires:  xorg-lib-libXtst-devel
27 BuildRequires:  xorg-lib-libXv-devel
28 BuildRequires:  xorg-lib-libXxf86vm-devel
29 BuildRequires:  zlib-devel
30 ExclusiveArch:  %{ix86} %{x8664}
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         specflags       -fomit-frame-pointer
34
35 %description
36 tvtime is a high quality television application for use with video
37 capture cards. tvtime processes the input from a capture card and
38 displays it on a computer monitor or projector. Unlike other
39 television applications, tvtime focuses on high visual quality making
40 it ideal for videophiles.
41
42 %description -l pl.UTF-8
43 tvtime to aplikacja do wysokiej jakości telewizji przeznaczona do
44 używania z kartami przechwytującymi obraz. tvtime przetwarza wejście z
45 karty i wyświetla je na monitorze lub projektorze komputerowym. W
46 przeciwieństwie do innych aplikacji telewizyjnych tvtime skupia się na
47 wysokiej jakości obrazu, co czyni go idealnym dla wideofili.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p0
54 %patch3 -p1
55 %patch4 -p1
56 %patch5 -p1
57
58 %build
59 cp -f /usr/share/automake/config.sub .
60 %configure \
61         --disable-dependency-tracking
62 %{__make} \
63         CFLAGS="%{rpmcflags}"
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README* data/COPYING.* docs/html
79 %attr(755,root,root) %{_bindir}/tvtime
80 %attr(755,root,root) %{_bindir}/tvtime-command
81 %attr(755,root,root) %{_bindir}/tvtime-configure
82 %attr(755,root,root) %{_bindir}/tvtime-scanner
83 %dir %{_sysconfdir}/tvtime
84 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tvtime/*.xml
85 %{_desktopdir}/*.desktop
86 %{_iconsdir}/hicolor/*/apps/tvtime.png
87 %{_pixmapsdir}/*
88 %{_datadir}/tvtime
89 %{_mandir}/man?/*
90 %lang(de) %{_mandir}/de/man?/*
91 %lang(es) %{_mandir}/es/man?/*
This page took 0.082396 seconds and 2 git commands to generate.