LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File trac-dvbcronrecording-plugin.spec of Package trac-dvbcronrecording-plugin (Project home:guidod:tools:scm)

# norootforbuild
%define _version 0.4.13
%define _name DvbCronRecording
%define _pkg dvbcronrecording
%{?!revision: %define revision 0 }

Name:           trac-dvbcronrecording-plugin
Version:        %_version.0.%revision
Release:        1
License:        BSD
Group:          Development/Tools/Other
Url:            http://guidod.homelinux.org
Source:         %_pkg-%_version.tgz
Provides:       %name = %_version
Obsoletes:      trac-simplerecorder-plugin
Provides:       trac-simplerecorder-plugin = %version
%if 0%{?suse_version} > 1110
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  unzip
BuildRequires:  python-devel
BuildRequires:  python-setuptools >= 0.6c8
Requires:       python-setuptools
Requires:       trac >= 0.11
Summary:        Recording plugin for Trac

Creates a database to manage a list of recordings.
The actual recording is performed by a tuning the
LinuxDVB device started by a CronTab call.

There are a few extensions like detection of overlap,
the definition of secondary recording times to use,
and a few other tricks.

#setup -qn %_pkg-%_version

%setup -qDn .

%{__python} setup.py build

%{__python} setup.py install --root=%{buildroot} --prefix=%{_prefix} --record-rpm=INSTALLED_FILES

test "%{buildroot}" != "/" && %__rm -rf %{buildroot}