Compare commits

..

70 commits

Author SHA1 Message Date
Martin Gansser
f4c91acf01 Rebuilt for new VDR API version 2.7.7 2025-07-27 18:45:54 +02:00
Fedora Release Engineering
c470ee837b Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:01:52 +00:00
Martin Gansser
a8c8177591 Rebuilt for new VDR API version 2.7.6 2025-06-22 12:28:01 +02:00
Martin Gansser
12d20bb95f Rebuilt for new VDR API version 2.7.5 2025-05-27 17:12:25 +02:00
Martin Gansser
4c0fbd2b5c Rebuilt for new VDR API version 2.7.4
Rebuilt for new VDR API version 2.7.4
Rebuilt for new VDR API version 2.7.4
2025-02-28 13:17:31 +01:00
Fedora Release Engineering
570f2f30ac Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:13:49 +00:00
Martin Gansser
fbd760e496 Update to 0.6.4
Update to 0.6.4
Update to 0.6.4
2025-01-02 19:09:50 +01:00
Martin Gansser
fd8ebd74b1 Rebuilt for new VDR API version 2.7.2 2024-10-09 15:09:31 +02:00
Miroslav Suchý
7071ef83c9 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-08-07 10:19:24 +02:00
Fedora Release Engineering
82259d6d9d Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:40:38 +00:00
Martin Gansser
1f270e63d2 Rebuilt for new VDR API version 2.6.9 2024-07-15 16:26:17 +02:00
Martin Gansser
b125cb7a0c Rebuilt for new VDR API version 2.6.8 2024-07-11 16:21:12 +02:00
Martin Gansser
aa5a24c381 Rebuilt for new VDR API version 2024-04-12 16:18:37 +02:00
Martin Gansser
ec38a13bc0 Rebuilt for new VDR API version 2024-01-26 11:43:05 +01:00
Martin Gansser
4c4e6e134c Rebuilt for new VDR API version
Add BR gettext for rawhide
2024-01-05 20:09:32 +01:00
Fedora Release Engineering
9bee036b02 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:31:32 +00:00
Fedora Release Engineering
d701f61353 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:12:11 +00:00
Martin Gansser
00dbc40dc5 Rebuilt for new VDR API version 2022-12-14 16:45:12 +01:00
Martin Gansser
f6029071d3 Rebuilt for new VDR API version 2022-12-01 16:51:14 +01:00
Fedora Release Engineering
8641f44585 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 11:47:03 +00:00
Martin Gansser
0b897c97fa Update to 0.6.3 2022-06-19 20:06:07 +02:00
Martin Gansser
cb14ae5b7e Rebuilt for new VDR API version 2022-02-05 11:27:41 +01:00
Fedora Release Engineering
38f6719141 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 03:53:04 +00:00
Martin Gansser
2448799e9f Rebuilt for new VDR API version
Add streamdev-server-2.5.4-patch
2021-12-30 19:57:26 +01:00
Fedora Release Engineering
c9122835fb - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:22:53 +00:00
Martin Gansser
565e1be619 Rebuilt for new VDR API version 2021-04-28 12:40:47 +02:00
Fedora Release Engineering
9d01222611 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 22:59:02 +00:00
Tom Stellard
d4b08f28af Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 00:39:47 +00:00
Martin Gansser
4335688947 Rebuilt for new VDR API version 2021-01-03 18:31:25 +01:00
Martin Gansser
f3fc120c59 Rebuilt for new VDR API version 2020-08-28 14:39:29 +02:00
Jeff Law
8ae15c5ed3 Force C++14 as this code is not C++17 ready 2020-08-18 14:41:19 -06:00
Fedora Release Engineering
fc573d64ad - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 13:37:32 +00:00
Fedora Release Engineering
ace613aba4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 03:02:26 +00:00
Fedora Release Engineering
fa5c96f4d4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 02:52:57 +00:00
Martin Gansser
3e25e94864 Rebuilt for new VDR API version 2019-06-20 18:44:35 +02:00
Fedora Release Engineering
0fb336420a - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:11:13 +00:00
Igor Gnatenko
29fb653692 add BuildRequires: gcc-c++
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-19 20:56:42 +02:00
Fedora Release Engineering
d91414ed35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:28:23 +00:00
Thomas Sailer
87097209be updated package from Martin 2018-04-26 13:23:22 +02:00
Fedora Release Engineering
eaf6a62e58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:24:28 +00:00
Fedora Release Engineering
6939954e7f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:01:22 +00:00
Fedora Release Engineering
794e9d808d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:14:28 +00:00
Fedora Release Engineering
df046faa3f - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 16:59:55 +00:00
Fedora Release Engineering
17286f0eb8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:37:07 +00:00
Dennis Gilmore
8712573f4e - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:54:08 +00:00
Felix Kaechele
8b1aeb60a1 fix compile for VDR 2.2 and F22+
- use make install
2015-04-11 10:38:44 +02:00
Peter Robinson
7392053aba - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 07:42:16 +00:00
Dennis Gilmore
2d365fedd5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 22:26:44 -05:00
Ville Skyttä
ee55261403 Rebuild 2014-04-24 14:44:02 +03:00
Ville Skyttä
64c099a81f Rebuild 2014-03-23 16:40:52 +02:00
Dennis Gilmore
56e2b9d420 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:01:59 -05:00
Ville Skyttä
cb8077fb11 Rebuild. 2013-03-31 19:10:30 +03:00
Ville Skyttä
bbac46b986 Rebuild. 2013-03-16 21:19:31 +02:00
Ville Skyttä
908c6b1e5e Rebuild. 2013-03-14 21:48:35 +02:00
Ville Skyttä
8bdaa2a7df Rebuild. 2013-03-03 22:03:06 +02:00
Felix Kaechele
c40f36563f update to latest git snapshot for VDR 1.7.38 support
- modified spec to easily support git snapshots
- cleanup spec: remove old macros and constructs
2013-02-22 17:10:48 +01:00
Dennis Gilmore
2696a9031d - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 20:41:45 -06:00
Ville Skyttä
8b8d196b4e Rebuild. 2012-10-02 21:55:22 +03:00
Ville Skyttä
4717e69e9d Rebuild. 2012-09-13 21:22:41 +03:00
Ville Skyttä
917ccbd2f2 Make vdr(abi) deps arch qualified. 2012-07-19 08:59:20 +03:00
Felix Kaechele
ce7c16777c update to 0.6.0
- drop all patches as upstream includes them already
2012-07-04 21:10:07 +02:00
Ville Skyttä
7f65ec0497 Rebuild. 2012-03-27 23:54:34 +03:00
Ville Skyttä
1b876a0872 Apply upstream VDR 1.7.26+ patches. 2012-03-11 19:07:45 +02:00
Ville Skyttä
50a9915146 Apply upstream VDR 1.7.25+ patches. 2012-03-06 23:16:24 +02:00
Ville Skyttä
d43900dbbc Rebuild. 2012-02-21 07:09:04 +02:00
Ville Skyttä
e5f27e061d Rebuild. 2012-01-15 21:33:10 +02:00
Dennis Gilmore
e423e61c85 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 01:48:09 -06:00
Ville Skyttä
76974f73f2 Rebuild. 2011-12-05 14:32:06 +02:00
Ville Skyttä
3c87874cec Fix build with Liemikuutio patch 1.32. 2011-11-06 20:11:15 +02:00
Ville Skyttä
e2b04fa43c Install locale files (#750084). 2011-11-06 19:43:52 +02:00
7 changed files with 373 additions and 224 deletions

6
.gitignore vendored
View file

@ -1,2 +1,8 @@
vdr-streamdev-0.5.0.tgz
/vdr-streamdev-0.5.1.tgz
/vdr-streamdev-0.6.0.tgz
/vdr-streamdev-10db11ac.tar.xz
/vdr-streamdev-84c6f6b6.tar.xz
/vdr-streamdev-b84b7d85.tar.xz
/vdr-streamdev-0.6.3.tar.gz
/vdr-streamdev-0.6.4.tar.gz

View file

@ -0,0 +1,36 @@
From ce74c3ab559d579c37ad8ac29ddfc188d2f3ba26 Mon Sep 17 00:00:00 2001
From: Jasmin Jessich <jasmin@anw.at>
Date: Sun, 11 Jun 2017 21:01:01 +0200
Subject: [PATCH] Fixed compilation for vdr 2.3.7
---
server/connectionVTP.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/server/connectionVTP.c b/server/connectionVTP.c
index 1b8dd96..346ca45 100644
--- a/server/connectionVTP.c
+++ b/server/connectionVTP.c
@@ -41,7 +41,9 @@ private:
enum eStates { Channel, Event, Title, Subtitle, Description, Vps, Content, Rating,
EndEvent, EndChannel, EndEPG };
cConnectionVTP *m_Client;
+#if APIVERSNUM < 20300
cSchedulesLock *m_SchedulesLock;
+#endif
const cSchedules *m_Schedules;
const cSchedule *m_Schedule;
const cEvent *m_Event;
@@ -210,7 +212,9 @@ cLSTEHandler::cLSTEHandler(cConnectionVTP *Client, const char *Option):
cLSTEHandler::~cLSTEHandler()
{
+#if APIVERSNUM < 20300
delete m_SchedulesLock;
+#endif
}
bool cLSTEHandler::Next(bool &Last)
--
2.7.4

View file

@ -1 +1 @@
6abebb62f5825324092ae1c7df3692c8 vdr-streamdev-0.5.1.tgz
SHA512 (vdr-streamdev-0.6.4.tar.gz) = 8687e3f64fdd60257049dfc6955042f3983f30f2f66b2c96525109e1dbe36584054b15aaf3086b93f0026f641541d8322a9b0ada1308f7e1bdffe47db5c2892b

View file

@ -0,0 +1,37 @@
diff -r -Bc a/server/connectionVTP.c b/server/connectionVTP.c
*** a/server/connectionVTP.c 2021-05-22 10:33:01.633332698 +0200
--- b/server/connectionVTP.c 2021-05-22 10:27:50.000000000 +0200
***************
*** 1882,1888 ****
#endif
}
else {
! cDevice::SetCurrentChannel(CurrentChannel);
}
}
isyslog("channel %d moved to %d", FromNumber, ToNumber);
--- 1882,1888 ----
#endif
}
else {
! cDevice::SetCurrentChannel(CurrentChannel->Number());
}
}
isyslog("channel %d moved to %d", FromNumber, ToNumber);
***************
*** 1983,1989 ****
Channels.SwitchTo(CurrentChannel->Number());
#endif
else
! cDevice::SetCurrentChannel(CurrentChannel);
}
Reply(250, "Channel \"%s\" deleted", Option);
}
--- 1983,1989 ----
Channels.SwitchTo(CurrentChannel->Number());
#endif
else
! cDevice::SetCurrentChannel(CurrentChannel->Number());
}
Reply(250, "Channel \"%s\" deleted", Option);
}

View file

@ -1,183 +0,0 @@
diff -ruN streamdev-0.5.1.orig/COPYING streamdev-0.5.1/COPYING
--- streamdev-0.5.1.orig/COPYING 2008-04-01 16:29:55.000000000 +0200
+++ streamdev-0.5.1/COPYING 2010-03-24 00:34:05.000000000 +0100
@@ -1,12 +1,12 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -15,7 +15,7 @@
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
+the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
@@ -55,8 +55,8 @@
The precise terms and conditions for copying, distribution and
modification follow.
-
- GNU GENERAL PUBLIC LICENSE
+
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@@ -110,7 +110,7 @@
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
-
+
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
-
+
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
-
+
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@@ -255,7 +255,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -277,9 +277,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -303,10 +303,9 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
@@ -336,5 +335,5 @@
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
+library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
diff -ruN streamdev-0.5.1.orig/libdvbmpeg/ctools.c streamdev-0.5.1/libdvbmpeg/ctools.c
--- streamdev-0.5.1.orig/libdvbmpeg/ctools.c 2008-04-01 16:29:56.000000000 +0200
+++ streamdev-0.5.1/libdvbmpeg/ctools.c 2011-10-23 21:32:27.158208794 +0200
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* Or, point your browser to http://www.gnu.org/copyleft/gpl.html
*
diff -ruN streamdev-0.5.1.orig/libdvbmpeg/ctools.h streamdev-0.5.1/libdvbmpeg/ctools.h
--- streamdev-0.5.1.orig/libdvbmpeg/ctools.h 2008-04-01 16:29:56.000000000 +0200
+++ streamdev-0.5.1/libdvbmpeg/ctools.h 2011-10-23 21:32:27.160208800 +0200
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* Or, point your browser to http://www.gnu.org/copyleft/gpl.html
*
diff -ruN streamdev-0.5.1.orig/libdvbmpeg/remux.c streamdev-0.5.1/libdvbmpeg/remux.c
--- streamdev-0.5.1.orig/libdvbmpeg/remux.c 2008-04-01 16:29:56.000000000 +0200
+++ streamdev-0.5.1/libdvbmpeg/remux.c 2011-10-23 21:32:27.165208817 +0200
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* Or, point your browser to http://www.gnu.org/copyleft/gpl.html
*
diff -ruN streamdev-0.5.1.orig/libdvbmpeg/remux.h streamdev-0.5.1/libdvbmpeg/remux.h
--- streamdev-0.5.1.orig/libdvbmpeg/remux.h 2008-04-01 16:29:56.000000000 +0200
+++ streamdev-0.5.1/libdvbmpeg/remux.h 2011-10-23 21:32:27.166208821 +0200
@@ -20,7 +20,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* Or, point your browser to http://www.gnu.org/copyleft/gpl.html
*
diff -ruN streamdev-0.5.1.orig/libdvbmpeg/transform.c streamdev-0.5.1/libdvbmpeg/transform.c
--- streamdev-0.5.1.orig/libdvbmpeg/transform.c 2008-04-01 16:29:56.000000000 +0200
+++ streamdev-0.5.1/libdvbmpeg/transform.c 2011-10-23 21:32:27.178208860 +0200
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* Or, point your browser to http://www.gnu.org/copyleft/gpl.html
*
diff -ruN streamdev-0.5.1.orig/libdvbmpeg/transform.h streamdev-0.5.1/libdvbmpeg/transform.h
--- streamdev-0.5.1.orig/libdvbmpeg/transform.h 2009-06-12 15:16:14.000000000 +0200
+++ streamdev-0.5.1/libdvbmpeg/transform.h 2011-10-23 21:32:27.179208863 +0200
@@ -19,7 +19,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* Or, point your browser to http://www.gnu.org/copyleft/gpl.html
*

17
vdr-streamdev-snapshot.sh Normal file
View file

@ -0,0 +1,17 @@
NAME=vdr-streamdev
REPO=git://projects.vdr-developer.org/vdr-plugin-streamdev.git
TMPDIR=`mktemp -d`
pushd $TMPDIR
git clone $REPO $NAME
pushd $NAME
if [ -z $1 ]; then
GITVER=`git rev-parse HEAD`
else
GITVER=$1
fi
git archive --format=tar --prefix=${NAME}-${GITVER:0:8}/ ${GITVER} | xz > ${NAME}-${GITVER:0:8}.tar.xz
popd
popd
mv $TMPDIR/$NAME/${NAME}-${GITVER:0:8}.tar.xz .
rm -rf $TMPDIR

View file

@ -1,34 +1,62 @@
%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)
%global pname streamdev
# If this variable is set the spec file assumes it's building a git snapshot
# Also see info below on generating snapshots
%global gitver b84b7d858cf4f6f3473ba72d456326c048946cb0
%global gitshort %(echo %gitver | awk '{print substr($0,1,8)}')
%global __provides_exclude_from ^%{vdr_plugindir}/.*\\.so.*$
# Set vdr_version based on Fedora version
%if 0%{?fedora} >= 43
%global vdr_version 2.7.7
%elif 0%{?fedora} == 42
%global vdr_version 2.7.4
%else
%global vdr_version 2.6.9
%endif
%if 0%{?gitver:0}
# Use vdr-streamdev-snapshot.sh contained in the source of the package to
# generate new snapshots
# You can also create snapshots for specific commit hashes
# Example: sh vdr-streamdev-snapshot.sh b84b7d858cf4f6f3473ba72d456326c048946cb0
%global srcfile %{name}-%{gitshort}.tar.xz
%global setuppath %{name}-%{gitshort}
%else
# URL for original source file when not using git snapshots
%global srcfile https://github.com/vdr-projects/vdr-plugin-streamdev/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
%global setuppath %{pname}-%{version}
%endif
Name: vdr-%{pname}
Version: 0.5.1
Release: 3%{?dist}
Version: 0.6.4
%if 0%{?gitver:0}
Release: 0.48%{?gitver:.git%{gitshort}}%{?dist}
%else
Release: 7%{?dist}
%endif
Summary: Streaming plug-in for VDR
License: GPL-1.0-or-later AND GPL-2.0-or-later
URL: https://github.com/vdr-projects/vdr-plugin-streamdev
Group: Applications/Multimedia
License: GPL+ and GPLv2+
URL: http://projects.vdr-developer.org/projects/plg-streamdev
Source0: http://projects.vdr-developer.org/attachments/download/497/vdr-streamdev-%{version}.tgz
Source0: %{srcfile}
# Configuration files for plugin parameters. These are Fedora specific and not in upstream.
Source1: %{name}-server.conf
Source2: %{name}-client.conf
Patch0: %{name}-gpl-fsf-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Script to generate git snapshots
# listed here so that it's pulled into the SRPM
Source3: %{name}-snapshot.sh
BuildRequires: vdr-devel >= 1.5.9
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: vdr-devel >= %{vdr_version}
%description
The streamdev plug-in adds streaming capabilities to your VDR.
%package server
Summary: Streaming server plug-in for VDR
Group: Applications/Multimedia
Requires: vdr(abi) = %{apiver}
Requires: vdr(abi)%{?_isa} = %{vdr_apiversion}
%description server
Lets your VDR act as a streaming server for other clients.
@ -36,16 +64,18 @@ This will let you watch TV or Recordings across the network.
%package client
Summary: Streaming client plug-in for VDR
Group: Applications/Multimedia
Requires: vdr(abi) = %{apiver}
Requires: vdr(abi)%{?_isa} = %{vdr_apiversion}
%description client
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}%{?prever:-pre-%{prever}}
%patch0 -p1
%if 0%{?gitver:0}
%autosetup -p1 -n %{setuppath}
%else
%autosetup -p1 -n vdr-plugin-streamdev-%{version}
%endif
sed -i 's@$(VDRDIR)/device.h@%{_includedir}/vdr/device.h@' Makefile
@ -56,40 +86,246 @@ for f in CONTRIBUTORS HISTORY; do
done
%build
make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr LOCALEDIR=$RPM_BUILD_ROOT%{_libdir}/vdr/locale all
%make_build CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC"
%install
rm -rf $RPM_BUILD_ROOT
install -dm 755 $RPM_BUILD_ROOT%{plugindir}
install -dm 755 $RPM_BUILD_ROOT%{configdir}/plugins/streamdev-server
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/streamdev-server/streamdevhosts.conf
%make_install
install -dm 755 $RPM_BUILD_ROOT%{vdr_configdir}/plugins/streamdev-server
install -Dpm 644 streamdev-server/streamdevhosts.conf $RPM_BUILD_ROOT%{vdr_configdir}/plugins/streamdev-server/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} \
$RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-client.conf
%find_lang %{name}-server
%find_lang %{name}-client
%clean
rm -rf $RPM_BUILD_ROOT
%files server
%defattr(-,root,root,-)
%{plugindir}/libvdr-%{pname}-server.so.%{apiver}
%files server -f %{name}-server.lang
%doc CONTRIBUTORS COPYING HISTORY PROTOCOL README
%{vdr_plugindir}/libvdr-%{pname}-server.so.%{vdr_apiversion}
%{_libdir}/vdr/bin/externremux.sh
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-server.conf
%dir %{configdir}/plugins/streamdev-server
%config(noreplace) %{configdir}/plugins/streamdev-server/streamdevhosts.conf
%doc CONTRIBUTORS COPYING HISTORY PROTOCOL README
%dir %{vdr_configdir}/plugins/streamdev-server
%config(noreplace) %{vdr_configdir}/plugins/streamdev-server/streamdevhosts.conf
%files client
%defattr(-,root,root,-)
%{plugindir}/libvdr-%{pname}-client.so.%{apiver}
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-client.conf
%files client -f %{name}-client.lang
%doc CONTRIBUTORS COPYING HISTORY PROTOCOL README
%{vdr_plugindir}/libvdr-%{pname}-client.so.%{vdr_apiversion}
%config(noreplace) %{_sysconfdir}/sysconfig/vdr-plugins.d/%{pname}-client.conf
%changelog
* Fri Jul 25 2025 Martin Gansser <martinkg@fedoraproject.org> - 0.6.4-7
- Rebuilt for new VDR API version 2.7.7
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sat Jun 21 2025 Martin Gansser <martinkg@fedoraproject.org> - 0.6.4-5
- Rebuilt for new VDR API version 2.7.6
* Tue May 27 2025 Martin Gansser <martinkg@fedoraproject.org> - 0.6.4-4
- Rebuilt for new VDR API version 2.7.5
* Fri Feb 28 2025 Martin Gansser <martinkg@fedoraproject.org> - 0.6.4-3
- Rebuilt for new VDR API version 2.7.4
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jan 02 2025 Martin Gansser <martinkg@fedoraproject.org> - 0.6.4-1
- Update to 0.6.4
* Wed Oct 09 2024 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-14
- Rebuilt for new VDR API version 2.7.2
* Wed Aug 07 2024 Miroslav Suchý <msuchy@redhat.com> - 0.6.3-13
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jul 15 2024 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-11
- Rebuilt for new VDR API version 2.6.9
* Thu Jul 11 2024 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-10
- Rebuilt for new VDR API version 2.6.8
* Fri Apr 12 2024 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-9
- Rebuilt for new VDR API version
* Fri Jan 26 2024 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-8
- Rebuilt for new VDR API version
* Fri Jan 05 2024 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-7
- Rebuilt for new VDR API version
- Add BR gettext for rawhide
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Dec 14 2022 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-4
- Rebuilt for new VDR API version
* Thu Dec 01 2022 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-3
- Rebuilt for new VDR API version
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sun Jun 19 2022 Martin Gansser <martinkg@fedoraproject.org> - 0.6.3-1
- Update to 0.6.3
* Sat Feb 05 2022 Martin Gansser <martinkg@fedoraproject.org> - 0.6.1-0.33.gitb84b7d85
- Rebuilt for new VDR API version
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.32.gitb84b7d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Dec 30 2021 Martin Gansser <martinkg@fedoraproject.org> - 0.6.1-0.31.gitb84b7d85
- Rebuilt for new VDR API version
- Add streamdev-server-2.5.4-patch
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.30.gitb84b7d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Apr 28 2021 Martin Gansser <martinkg@fedoraproject.org> - 0.6.1-0.29.gitb84b7d85
- Rebuilt for new VDR API version
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.28.gitb84b7d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sun Jan 03 2021 Martin Gansser <martinkg@fedoraproject.org> - 0.6.1-0.27.gitb84b7d85
- Rebuilt for new VDR API version
* Fri Aug 28 2020 Martin Gansser <martinkg@fedoraproject.org> - 0.6.1-0.26.gitb84b7d85
- Rebuilt for new VDR API version
* Fri Aug 14 2020 Jeff Law <law@redhat.com> - 0.6.1-0.25.gitb84b7d85
- Force C++14 as this code is not C++17 ready
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.24.gitb84b7d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.23.gitb84b7d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.22.gitb84b7d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Jun 18 2019 Martin Gansser <martinkg@fedoraproject.org> - 0.6.1-0.21.gitb84b7d85
- Rebuilt for new VDR API version
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.20.gitb84b7d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.19.gitb84b7d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Apr 18 2018 Martin Gansser <martinkg@fedoraproject.org> - 0.6.1-0.18.gitb84b7d85
- Rebuild for vdr-2.4.0
- Update to 0.6.1-0.18.gitb84b7d8
- Add 0001-Fixed-compilation-for-vdr-2.3.7.diff
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.17.git84c6f6b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.16.git84c6f6b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.15.git84c6f6b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.14.git84c6f6b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-0.13.git84c6f6b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-0.12.git84c6f6b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Apr 07 2015 Felix Kaechele <heffer@fedoraproject.org> - 0.6.1-0.11.git84c6f6b6
- fix compile for VDR 2.2 and F22+
- use make install
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-0.10.git10db11ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-0.9.git10db11ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Apr 24 2014 Ville Skyttä <ville.skytta@iki.fi> - 0.6.1-0.8.git10db11ac
- Rebuild
* Sun Mar 23 2014 Ville Skyttä <ville.skytta@iki.fi> - 0.6.1-0.7.git10db11ac
- Rebuild
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-0.6.git10db11ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sun Mar 31 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.6.1-0.5.git10db11ac
- Rebuild.
* Sat Mar 16 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.6.1-0.4.git10db11ac
- Rebuild.
* Wed Mar 13 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.6.1-0.3.git10db11ac
- Rebuild.
* Sun Mar 03 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.6.1-0.2.git10db11ac
- Rebuild.
* Thu Feb 21 2013 Felix Kaechele <heffer@fedoraproject.org> - 0.6.1-0.1.git10db11ac
- update to latest git snapshot for VDR 1.7.38 support
- modified spec to easily support git snapshots
- cleanup spec: remove old macros and constructs
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Oct 02 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.6.0-4
- Rebuild.
* Thu Sep 13 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.6.0-3
- Rebuild.
* Thu Jul 19 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.6.0-2
- Make vdr(abi) deps arch qualified.
* Wed Jul 04 2012 Felix Kaechele <heffer@fedoraproject.org> - 0.6.0-1
- update to 0.6.0
- drop all patches as upstream includes them already
* Tue Mar 27 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-12
- Rebuild.
* Sun Mar 11 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-11
- Apply upstream VDR 1.7.26+ patches.
* Tue Mar 6 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-10
- Apply upstream VDR 1.7.25+ patches.
* Mon Feb 20 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-9
- Rebuild.
* Sun Jan 15 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-8
- Rebuild.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Dec 5 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-6
- Rebuild.
* Sun Nov 6 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-5
- Fix build with Liemikuutio patch 1.32.
* Sun Nov 6 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.5.1-4
- Install locale files (#750084).
* Sun Oct 23 2011 Felix Kaechele <heffer@fedoraproject.org> - 0.5.1-3
- own the configuration dir
- add patch to fix the GPL in COPYING and the FSF address in some source files