this took me hours to get right.
authorJack Moffitt <jack@xiph.org>
Wed, 8 Nov 2000 09:48:58 +0000 (09:48 +0000)
committerJack Moffitt <jack@xiph.org>
Wed, 8 Nov 2000 09:48:58 +0000 (09:48 +0000)
it's' still not right on redhat versiosn < 7.0 since they moved teh doc dir from /usr/doc to /usr/share/doc.  not quite sure what to do about that :)

jack.

svn path=/trunk/vorbis/; revision=1036

Makefile.am
doc/Makefile.am
doc/vorbisenc/Makefile.am
doc/vorbisfile/Makefile.am
libvorbis.spec

index c8773a1..a265953 100644 (file)
@@ -7,7 +7,7 @@ SUBDIRS = lib include doc examples
 m4datadir = $(datadir)/aclocal
 m4data_DATA = vorbis.m4
 
-EXTRA_DIST = README COPYING todo.txt libvorbis.spec vorbis.m4
+EXTRA_DIST = README AUTHORS COPYING libvorbis.spec vorbis.m4
 
 debug:
        $(MAKE) all CFLAGS="@DEBUG@"
index 23f5fde..251e997 100644 (file)
@@ -7,6 +7,7 @@ SUBDIRS = vorbisfile vorbisenc
 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
 
 doc_DATA = v-comment.html vorbisword2.png white-ogg.png programming.html\
-        vorbis.html wait.png white-xifish.png
+       vorbis.html wait.png white-xifish.png vorbis-clip.txt\
+       vorbis-errors.txt
 
 EXTRA_DIST = $(doc_DATA)
index 5ef1c74..3eca0bb 100644 (file)
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = foreign
 
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisenc
 
 doc_DATA = index.html overview.html reference.html style.css\
         vorbis_encode_ctl.html vorbis_encode_init.html vorbis_info.html
index 63d282d..702543a 100644 (file)
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = foreign
 
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
+docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/vorbisfile
 
 doc_DATA = OggVorbis_File.html chaining_example_c.html chainingexample.html\
        datastructures.html decoding.html example.html exampleindex.html\
index d3b428c..d696e5e 100644 (file)
@@ -12,7 +12,7 @@ URL:          http://www.xiph.org/
 Vendor:                Xiphophorus <team@xiph.org>
 Source:                ftp://ftp.xiph.org/pub/ogg/vorbis/%{name}-%{version}.tar.gz
 BuildRoot:     %{_tmppath}/%{name}-root
-Requires:      libogg >= 1.0.0
+Requires:      libogg >= 1.0beta3
 
 %description
 Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
@@ -22,7 +22,7 @@ and variable bitrates from 16 to 128 kbps/channel.
 %package devel
 Summary:       Vorbis Library Development
 Group:                 Development/Libraries
-Requires:      libogg-devel >= 1.0.0
+Requires:      libogg-devel >= 1.0beta3
 Requires:      libvorbis-devel = %{version}
 
 %description devel
@@ -47,6 +47,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
 %files
 %defattr(-,root,root)
 %doc COPYING
+%doc AUTHORS
 %doc README
 /usr/lib/libvorbis.so.*
 /usr/lib/libvorbisfile.so.*
@@ -54,10 +55,12 @@ make DESTDIR=$RPM_BUILD_ROOT install
 
 %files devel
 %doc doc/*.html
-%doc doc/*.txt
 %doc doc/*.png
-%doc doc/vorbisfile/*.html
-%doc doc/vorbisfile/*.css
+%doc doc/*.txt
+%{_docdir}/%{name}-%{version}/vorbisfile/*.html
+%{_docdir}/%{name}-%{version}/vorbisfile/*.css
+%{_docdir}/%{name}-%{version}/vorbisenc/*.html
+%{_docdir}/%{name}-%{version}/vorbisenc/*.css
 /usr/include/vorbis/codec.h
 /usr/include/vorbis/vorbisfile.h
 /usr/include/vorbis/vorbisenc.h