Commit d17608e3 authored by Jack Moffitt's avatar Jack Moffitt

specfile and COPYING added

also made man pages install correctly

svn path=/trunk/vorbis-tools/; revision=780
parent 2b2b11c7
This diff is collapsed.
......@@ -3,12 +3,16 @@
AUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = ogg123
man_MANS = ogg123.1
INCLUDES = @AO_CFLAGS@
ogg123_LDFLAGS = -lvorbisfile @AO_LIBS@
ogg123_SOURCES = ogg123.c
EXTRA_DIST = $(man_MANS)
debug:
$(MAKE) all CFLAGS="@DEBUG@"
......
......@@ -2,6 +2,8 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = man
bin_PROGRAMS = oggenc
oggenc_SOURCES = oggenc.c audio.c encode.c oe_unix.c getopt.c getopt1.c\
......
%define name vorbis-tools
%define version 1.0.0
%define release 1
Summary: Several Ogg Vorbis Tools
Name: %{name}
Version: %{version}
Release: %{release}
Group: Libraries/Multimedia
Copyright: GPL
URL: http://www.xiph.org/
Vendor: Xiphophorus <team@xiph.org>
Source: ftp://ftp.xiph.org/pub/vorbis-tools/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
%description
vorbis-tools contains oggenc (and encoder), ogg123 (a playback tool), and
vorbiscomment (a comment editor)
%prep
%setup -q -n %{name}-%{version}
%build
if [ ! -f configure ]; then
CFLAGS="$RPM_FLAGS" ./autogen.sh --prefix=/usr
else
CFLAGS="$RPM_FLAGS" ./configure --prefix=/usr
fi
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(-,root,root)
%doc COPYING
%doc README
/usr/bin/oggenc
/usr/bin/ogg123
/usr/bin/vorbiscomment
/usr/man/man1/oggenc.1
/usr/man/man1/ogg123.1
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%post
%postun
%changelog
* Sun Oct 29 2000 Jack Moffitt <jack@icecast.org>
- initial spec file created
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