Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
dvblast
Commits
1a1caa29
Commit
1a1caa29
authored
Jun 01, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvblast.spec: rpm specfile
parent
c0d9a919
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
0 deletions
+71
-0
dvblast.spec
dvblast.spec
+71
-0
No files found.
dvblast.spec
0 → 100644
View file @
1a1caa29
%define name dvblast
%define version 1.2.0
%define release 1
%define redhat 0
%if %redhat
# some mdk macros that do not exist in rh
%define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
%define make %__make
%define makeinstall_std %__make DESTDIR="$RPM_BUILD_ROOT" install
# adjust define for Redhat.
%endif
Summary: %{name} is a lightweight and fast DVB-S/C/T remuxer and restreamer.
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
URL: http://developers.videolan.org/projects/dvblast/
Group: System/Daemons
Source: http://www.videolan.org/pub/videolan/dvblast/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %_tmppath/%name-%version-%release-root
Provides: %name
Prefix: /usr
Requires: libdvbpsi
BuildRequires: libdvbpsi-devel
%description
DVBlast is a lightweight and fast DVB-S/C/T remuxer and restreamer. It is used in broadcast production environments as DVB to IP gateway
%prep
%setup -q -n %{name}-%{version}
# Generate general options file
cat > %buildroot/etc/sysconfig/dvblast << EOF
# DVBlast options
DVBLASTARGS="-q"
EOF
%build
%configure2_5x --enable-release
%make PREFIX=%{prefix}
%install
rm -rf %buildroot
%makeinstall_std
%clean
rm -rf %buildroot
%post -p /sbin/ldconfig
chkconfig --add dvblast
%postun -p /sbin/ldconfig
chkconfig --del dvblast
%files
%defattr(-,root,root,-)
%doc AUTHORS README COPYING ChangeLog INSTALL NEWS
%{_bindir}/dvblast
%{_bindir}/dvblastctl
%{_bindir}/dvblast_mmi.sh
%{_mandir}/man1/dvblast.1
%dir /etc/dvblast.d
/etc/init.d/dvblast
/etc/sysconfig/dvblast
%changelog
* Tue Jun 01 2010 Jean-Paul Saman <jpsaman@videolan.org>
- DVBlast rpm specfile
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment