Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
a4b339d36d dist-git conversion 2010-07-29 14:56:02 +00:00
Felix Kaechele
84f3aa4628 - update to final 0.5.0 release 2010-07-25 09:04:46 +00:00
Felix Kaechele
8bc16917ea - added missing BuildReq: gettext 2010-01-02 17:32:06 +00:00
Bill Nottingham
de7a314172 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:53 +00:00
Jesse Keating
57af76eab8 Initialize branch F-12 for vdr-streamdev 2009-09-29 07:15:10 +00:00
6 changed files with 36 additions and 37 deletions

View file

@ -1 +0,0 @@
vdr-streamdev-0.3.4.tgz

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
vdr-streamdev-0.5.0.tgz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: vdr-streamdev
# $Id$
NAME := vdr-streamdev
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1 +0,0 @@
vdr-streamdev-0_3_4-2_fc9:HEAD:vdr-streamdev-0.3.4-2.fc9.src.rpm:1221203534

View file

@ -1 +1 @@
dcbe6cb0974a5ff43a1b9bb22086ec64 vdr-streamdev-0.3.4.tgz
2dd785198e3ed25515c347fcd5261a21 vdr-streamdev-0.5.0.tgz

View file

@ -1,29 +1,31 @@
%define pname streamdev
#define prever 20090706
%define plugindir %(vdr-config --plugindir 2>/dev/null || echo ERROR)
%define apiver %(vdr-config --apiversion 2>/dev/null || echo ERROR)
%define configdir %(vdr-config --configdir 2>/dev/null || echo ERROR)
Name: vdr-%{pname}
Version: 0.3.4
Release: 4%{?dist}
Summary: Streaming plugin for VDR
Version: 0.5.0
Release: 1%{?dist}
Summary: Streaming plug-in for VDR
Group: Applications/Multimedia
License: GPL+ and GPLv2+
URL: http://streamdev.vdr-developer.org
Source0: http://streamdev.vdr-developer.org/releases/vdr-streamdev-%{version}.tgz
Source0: http://streamdev.vdr-developer.org/releases/vdr-streamdev-%{version}%{?prever:-pre-%{prever}}.tgz
# Configuration files for plugin parameters. These are Fedora specific and not in upstream.
Source1: %{name}-server.conf
Source2: %{name}-client.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: vdr-devel >= 1.3.47
BuildRequires: vdr-devel >= 1.5.9
BuildRequires: gettext
%description
The streamdev plugin adds streaming capabilities to your VDR.
The streamdev plug-in adds streaming capabilities to your VDR.
%package server
Summary: Streaming server plugin for VDR
Summary: Streaming server plug-in for VDR
Group: Applications/Multimedia
Requires: vdr(abi) = %{apiver}
@ -32,7 +34,7 @@ Lets your VDR act as a streaming server for other clients.
This will let you watch TV or Recordings across the network.
%package client
Summary: Streaming client plugin for VDR
Summary: Streaming client plug-in for VDR
Group: Applications/Multimedia
Requires: vdr(abi) = %{apiver}
@ -41,18 +43,27 @@ Lets your VDR in conjunction with a streamdev-server act as a streaming client.
VDR will then be able to work even without a DVB device.
%prep
%setup -q -n %{pname}-%{version}
%setup -q -n %{pname}-%{version}%{?prever:-pre-%{prever}}
sed -i 's@$(VDRDIR)/device.h@%{_includedir}/vdr/device.h@' Makefile
for f in CONTRIBUTORS HISTORY; do
iconv -f iso8859-1 -t utf-8 $f >$f.conv
touch -r $f $f.conv
mv $f.conv $f
done
%build
make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr all
make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr LOCALEDIR=$RPM_BUILD_ROOT%{_libdir}/vdr/locale all
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT%{plugindir}
install -dm 755 $RPM_BUILD_ROOT%{configdir}/plugins
install -pm 755 libvdr-%{pname}-server.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -pm 755 libvdr-%{pname}-client.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -Dpm 644 streamdevhosts.conf.example $RPM_BUILD_ROOT%{configdir}/plugins/streamdevhosts.conf
install -pm 755 server/libvdr-%{pname}-server.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -pm 755 client/libvdr-%{pname}-client.so.%{apiver} $RPM_BUILD_ROOT%{plugindir}
install -Dpm 644 streamdev-server/streamdevhosts.conf $RPM_BUILD_ROOT%{configdir}/plugins/streamdevhosts.conf
install -Dpm 755 streamdev-server/externremux.sh $RPM_BUILD_ROOT%{_libdir}/vdr/bin/externremux.sh
install -Dpm 644 %{SOURCE1} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-server.conf
install -Dpm 644 %{SOURCE2} \
@ -64,6 +75,7 @@ rm -rf $RPM_BUILD_ROOT
%files server
%defattr(-,root,root,-)
%{plugindir}/libvdr-%{pname}-server.so.%{apiver}
%{_libdir}/vdr/bin/externremux.sh
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-server.conf
%config(noreplace) %{configdir}/plugins/streamdevhosts.conf
%doc CONTRIBUTORS COPYING HISTORY PROTOCOL README
@ -75,6 +87,15 @@ rm -rf $RPM_BUILD_ROOT
%doc CONTRIBUTORS COPYING HISTORY PROTOCOL README
%changelog
* Sun Jul 25 2010 Felix Kaechele <heffer@fedoraproject.org> - 0.5.0-1
- update to final 0.5.0 release
* Sat Jan 02 2010 Felix Kaechele <heffer@fedoraproject.org> - 0.5.0-0.2.pre20090706
- added missing BuildReq: gettext
* Fri Dec 18 2009 Felix Kaechele <heffer@fedoraproject.org> - 0.5.0-0.1.pre20090706
- update to latest version
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild