* autogenerate from configure

* fix download location
* remove Prefix
* own include dir
* move ldconfig runs to -p scripts
* change Release tag to include xiph


svn path=/trunk/ogg/; revision=6991
parent 39ea1f46
...@@ -10,7 +10,9 @@ m4data_DATA = ogg.m4 ...@@ -10,7 +10,9 @@ m4data_DATA = ogg.m4
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ogg.pc pkgconfig_DATA = ogg.pc
EXTRA_DIST = README AUTHORS CHANGES COPYING libogg.spec ogg.m4 ogg.pc.in \ EXTRA_DIST = README AUTHORS CHANGES COPYING \
libogg.spec libogg.spec.in \
ogg.m4 ogg.pc.in \
macos macosx macos macosx
dist-hook: dist-hook:
......
...@@ -295,6 +295,7 @@ doc/Makefile doc/ogg/Makefile ...@@ -295,6 +295,7 @@ doc/Makefile doc/ogg/Makefile
include/Makefile include/ogg/Makefile include/ogg/config_types.h include/Makefile include/ogg/Makefile include/ogg/config_types.h
win32/Makefile win32/Makefile
debian/Makefile debian/Makefile
libogg.spec
ogg.pc ogg.pc
ogg-uninstalled.pc ogg-uninstalled.pc
]) ])
Name: libogg Name: libogg
Version: 1.1 Version: @VERSION@
Release: 1 Release: 0.xiph.1
Summary: Ogg Bitstream Library Summary: Ogg Bitstream Library.
Group: System Environment/Libraries Group: System Environment/Libraries
License: BSD License: BSD
URL: http://www.xiph.org/ URL: http://www.xiph.org/
Vendor: Xiph.org Foundation <team@xiph.org> Vendor: Xiph.org Foundation <team@xiph.org>
Source: http://www.xiph.org/pub/ogg/vorbis/download/%{name}-%{version}.tar.gz Source: http://www.vorbis.com/files/1.0.1/unix/%{name}-%{version}.tar.gz
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
# We're forced to use an epoch since both Red Hat and Ximian use it in their # We're forced to use an epoch since both Red Hat and Ximian use it in their
# rc packages # rc packages
Epoch: 2 Epoch: 2
...@@ -31,7 +31,6 @@ Requires: libogg = %{version} ...@@ -31,7 +31,6 @@ Requires: libogg = %{version}
Provides: %{name}-devel = %{epoch}:1.0rc3-%{release} Provides: %{name}-devel = %{epoch}:1.0rc3-%{release}
Provides: %{name}-devel = %{epoch}:1.0beta4-%{release} Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
%description devel %description devel
The libogg-devel package contains the header files, static libraries The libogg-devel package contains the header files, static libraries
and documentation needed to develop applications with libogg. and documentation needed to develop applications with libogg.
...@@ -44,18 +43,16 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static ...@@ -44,18 +43,16 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static
make make
%install %install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
%clean %clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post -p /sbin/ldconfig
/sbin/ldconfig
%postun %postun -p /sbin/ldconfig
/sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
...@@ -72,6 +69,7 @@ make DESTDIR=$RPM_BUILD_ROOT install ...@@ -72,6 +69,7 @@ make DESTDIR=$RPM_BUILD_ROOT install
%doc doc/stream.png %doc doc/stream.png
%doc doc/ogg/*.html %doc doc/ogg/*.html
%doc doc/ogg/style.css %doc doc/ogg/style.css
%dir %{_includedir}/ogg
%{_includedir}/ogg/ogg.h %{_includedir}/ogg/ogg.h
%{_includedir}/ogg/os_types.h %{_includedir}/ogg/os_types.h
%{_includedir}/ogg/config_types.h %{_includedir}/ogg/config_types.h
...@@ -82,6 +80,14 @@ make DESTDIR=$RPM_BUILD_ROOT install ...@@ -82,6 +80,14 @@ make DESTDIR=$RPM_BUILD_ROOT install
%{_datadir}/aclocal/ogg.m4 %{_datadir}/aclocal/ogg.m4
%changelog %changelog
* Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
- autogenerate from configure
- fix download location
- remove Prefix
- own include dir
- move ldconfig runs to -p scripts
- change Release tag to include xiph
* Tue Oct 07 2003 Warren Dukes <shank@xiph.org> * Tue Oct 07 2003 Warren Dukes <shank@xiph.org>
- update for 1.1 release - update for 1.1 release
......
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