* vls.spec: added rpm .spec file.

  * Makefile: renamed snapshot target to dist, added vls.spec in the
    distribution.
parent 506bb1bc
......@@ -2,7 +2,7 @@
# vls (VideoLAN Server) main Makefile
#-------------------------------------------------------------------------------
# (c)1999-2001 VideoLAN
# $Id: Makefile,v 1.91 2002/04/04 00:46:44 bozo Exp $
# $Id: Makefile,v 1.92 2002/04/09 00:39:11 bozo Exp $
################################################################################
......@@ -222,12 +222,12 @@ FORCE:
#
# Package generation rules
#
snapshot:
dist:
# Check that tmp isn't in the way
@if test -e tmp; then \
echo "Error: please remove ./tmp, it is in the way"; false; \
else \
echo "Starting snapshot's build."; mkdir tmp; \
echo "Starting dist's build."; mkdir tmp; \
fi
# Copy directory structure in tmp
find -type d | grep -v '\(snapshot\|CVS\)' | while read i ; \
......@@ -257,6 +257,8 @@ snapshot:
do cp $$file tmp/vls/debian ; done
for file in control changelog rules vls.1 ; do \
cp debian/$$file tmp/vls/debian/ ; done
# Copy rpm spec file
cp vls.spec tmp/vls
# Build archives
F=vls-${VLS_QUICKVERSION}; \
mv tmp/vls tmp/$$F; (cd tmp ; tar cf $$F.tar $$F); \
......
%define name vls
%define version 0.3.2
%define release 1
Summary: VideoLAN is a free MPEG, MPEG2 and DVD software solution.
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
URL: http://www.videolan.org/
Group: Application/Multimedia
Source: http://www.videolan.org/pub/videolan/vls/%{version}/%{name}-%{version}.tar.gz
BuildRoot: %_tmppath/%name-%version-%release-root
Requires: libdvbpsi0
Buildrequires: libdvbpsi0-devel
%description
VideoLAN is a free network-aware MPEG and DVD player.
The VideoLAN Server allows to stream MPEG content from several sources
over an IP network.
You may install vls-dvd to allow DVD streaming and/or vls-dvb to use a
satellite receiver.
%package -n %{name}-dvd
Summary: DVD input for VideoLAN Server
Group: Application/Multimedia
Requires: libdvdread
Buildrequires: libdvdread-devel
%description -n %{name}-dvd
The %{name}-dvd package includes the DVD input plugin for the VideoLAN
Server.
It allows DVD streaming using libdvdread.
%package -n %{name}-dvb
Summary: DVB input for VideoLAN Server
Group: Application/Multimedia
#Buildrequires: dvb-devel
%description -n %{name}-dvb
The %{name}-dvd package includes the DVB input plugin for the VideoLAN
Server.
It allows satellite reception from a DVB device using the DVB drivers.
%prep
%setup -q
%build
./configure --prefix=%_prefix --disable-debug --enable-dvb
make
%install
%makeinstall
%clean
rm -rf %buildroot
%files -n %{name}
%defattr(-,root,root,-)
%doc AUTHORS README COPYING ChangeLog doc/vls-guide.sgml
%config %{_sysconfdir}/videolan/vls/vls.cfg
%config %{_sysconfdir}/videolan/vls/input.cfg
%{_bindir}/vls
%files -n %{name}-dvd
%defattr(-,root,root)
%{_libdir}/videolan/vls/dvdreader.so
%files -n %{name}-dvb
%defattr(-,root,root)
%{_libdir}/videolan/vls/dvbinput.so
%changelog
* Tue Apr 9 2002 Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
- split into two separate packages.
* Thu Apr 4 2002 Jean-Paul Saman <saman@natlab.research.philips.com>
- first version of package for redhat systems.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment