Improved SPEC file

Dag Wieers dag at wieers.com
Sat Apr 28 16:56:58 CEST 2001


Hey,

Here's an improved SPEC file, using macros wherever I can and adding a
Gnome desktop file and adding an RPM Icon.

Thanks,

--  dag wieers,  <dag at wieers.com>,  http://dag.wieers.com/   --
«Onder voorbehoud van hetgeen niet uitdrukkelijk wordt erkend.»


-- Attached file included as plaintext by Listar --
-- File: vlc.spec

Name: vlc
Version: 0.2.73
Release: 1_dag_2
Copyright: GPL
Url: http://www.videolan.org/
Group: X11/Applications/Multimedia
Source0: http://www.videolan.org/packages/%{version}/%{name}-%{version}.tar.gz
Source1: vlc.desktop
Packager: Dag Wieers <dag at wieers.com>
Distribution: N/A 
Icon: vlc.gif
Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
Prefix: %{_prefix}
Summary: VideoLAN Client.

%description
VLC is a free network-aware MPEG and DVD player
VideoLAN is a free MPEG1/2 software solution.

The VideoLAN Client allows to play MPEG2 Transport Streams from the
network or from a file, as well as direct DVD playback.

%prep
%setup 

%build
%configure --with-sdl --enable-esd --enable-gnome --enable-xvideo
make

%install
install -d %{buildroot}%{_libdir} \
	%{buildroot}%{_bindir} \
	%{buildroot}%{_datadir}/gnome/apps/Multimedia \
	%{buildroot}%{_datadir}/pixmaps \
	%{buildroot}%{_mandir}/man1
%makeinstall
install %{_sourcedir}/vlc.desktop %{buildroot}%{_datadir}/gnome/apps/Multimedia
install %{_builddir}/%{name}-%{version}/share/gnome-vlc.png %{buildroot}%{_datadir}/pixmaps
install %{_builddir}/%{name}-%{version}/doc/vlc.1 %{buildroot}%{_mandir}/man1

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL README TODO doc/*
%{_bindir}/*
%{_datadir}/videolan
%{_libdir}/videolan
%{_datadir}/gnome/apps/Multimedia/vlc.desktop
%{_datadir}/pixmaps/*
%{_mandir}/man1/*

%changelog
* Sun Apr 15 2001 Dag Wieers <dag at wieers.com>
Fixes to the spec-file and Gnome desktop-file
* Fri Apr 13 2001 Samuel Hocevar <sam at zoy.org>
New upstream release (0.2.71)
* Sun Apr 8 2001 Christophe Massiot <massiot at via.ecp.fr>
New upstream release (0.2.70)
* Fri Feb 16 2001 Samuel Hocevar <sam at via.ecp.fr>
New upstream release
* Tue Aug  8 2000 Samuel Hocevar <sam at via.ecp.fr>
Added framebuffer support
* Sun Jun 18 2000 Samuel Hocevar <sam at via.ecp.fr>
Took over the package
* Thu Jun 15 2000 Eric Doutreleau <Eric.Doutreleau at int-evry.fr>
Initial package




More information about the vlc-devel mailing list