trac-dvbcronrecording-plugin / src / trac-dvbcronrecording-plugin.spec

Guido Draheim 406b74d 
Guido Draheim ceac62d 
Guido Draheim 406b74d 

Guido Draheim be448b0 






Guido Draheim 406b74d 

Guido Draheim 4cb8c79 
Guido Draheim 406b74d 










Guido Draheim be448b0 
Guido Draheim 406b74d 




Guido Draheim be448b0 



Guido Draheim 406b74d 

















Guido Draheim be448b0 

Guido Draheim 406b74d 








# norootforbuild
%define _version 0.4.17
%define _name DvbCronRecording
%define _pkg dvbcronrecording
%{!?revision: %define revision 0 }
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysc
onfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sy
sconfig import get_python_lib; print get_python_lib(1)")}
%{!?py_requires: %define py_requires Requires: python >= %(%{__python} -c "from 
distutils.sysconfig import get_python_version; print get_python_version()")}

Name:           trac-dvbcronrecording-plugin
Version:        %_version.%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
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  unzip
BuildRequires:  python-devel
BuildRequires:  python-setuptools >= 0.6
%py_requires
Requires:       python-setuptools
Requires:       trac >= 0.11
Summary:        Recording plugin for Trac

%if %{?suse_version: 0%{?suse_version} > 1110} %{!?suse_version: 1}
BuildArch:      noarch
%endif

%description
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.

%prep
#setup -qn %_pkg-%_version

%setup -qDn .

%build
%{__python} setup.py build

%install
%{__python} setup.py install --root=%{buildroot} --prefix=%{_prefix} \
 %{!?suse_version: --record=INSTALLED_FILES} %{?suse_version: --record-rpm=INSTALLED_FILES}

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

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.