From edc405361888555213983f6c7b9153af6d099ab8 Mon Sep 17 00:00:00 2001 From: cvsextras Date: Mon, 8 Nov 2004 04:46:31 +0000 Subject: [PATCH] auto-import changelog data from libshout-1.0.9-0.fdr.1.rh90.src.rpm Wed Jun 04 2003 Thomas Vander Stichele - 1.0.9-0.fdr.1: initial RPM release --- .cvsignore | 1 + libshout-makefile.patch | 28 +++++++++++++++++ libshout.spec | 69 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 99 insertions(+) create mode 100644 libshout-makefile.patch create mode 100644 libshout.spec diff --git a/.cvsignore b/.cvsignore index e69de29..7eba3c9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libshout-1.0.9.tar.gz diff --git a/libshout-makefile.patch b/libshout-makefile.patch new file mode 100644 index 0000000..ef024c5 --- /dev/null +++ b/libshout-makefile.patch @@ -0,0 +1,28 @@ +diff -ur libshout-1.0.9/doc/Makefile.in libshout-1.0.9.patched/doc/Makefile.in +--- libshout-1.0.9/doc/Makefile.in 2002-04-28 20:14:33.000000000 +0200 ++++ libshout-1.0.9.patched/doc/Makefile.in 2003-06-04 19:40:44.000000000 +0200 +@@ -80,7 +80,7 @@ + + AUTOMAKE_OPTIONS = foreign + +-docdir = $(prefix)/doc/$(PACKAGE)-$(VERSION) ++docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) + + doc_DATA = index.html overview.html initialization.html connection.html datastreaming.html metadata.html datastructures.html shout_conn_t.html shout_connect.html shout_disconnect.html shout_sleep.html shout_init_connection.html shout_send_data.html shout_update_metadata.html style.css example.html example_c.html reference.html errorhandling.html shout_strerror.html + +diff -ur libshout-1.0.9/Makefile.in libshout-1.0.9.patched/Makefile.in +--- libshout-1.0.9/Makefile.in 2002-04-28 20:14:33.000000000 +0200 ++++ libshout-1.0.9.patched/Makefile.in 2003-06-04 19:45:04.000000000 +0200 +@@ -511,9 +511,9 @@ + + install-data-local: + mkdir -p $(DESTDIR)$(includedir)/shout +- mkdir -p $(DESTDIR)$(prefix)/doc/$(PACKAGE)-$(VERSION)/example +- $(INSTALL) -m 0644 $(top_srcdir)/README $(top_srcdir)/AUTHORS $(top_srcdir)/COPYING $(top_srcdir)/CHANGES $(DESTDIR)$(prefix)/doc/$(PACKAGE)-$(VERSION) +- $(INSTALL) -m 0644 $(top_srcdir)/example/Makefile $(top_srcdir)/example/example.c $(DESTDIR)$(prefix)/doc/$(PACKAGE)-$(VERSION)/example ++ mkdir -p $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/example ++ $(INSTALL) -m 0644 $(top_srcdir)/README $(top_srcdir)/AUTHORS $(top_srcdir)/COPYING $(top_srcdir)/CHANGES $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION) ++ $(INSTALL) -m 0644 $(top_srcdir)/example/Makefile $(top_srcdir)/example/example.c $(DESTDIR)$(datadir)/doc/$(PACKAGE)-$(VERSION)/example + $(INSTALL) -m 0644 $(top_srcdir)/shout.h $(DESTDIR)$(includedir)/shout + + # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/libshout.spec b/libshout.spec new file mode 100644 index 0000000..993ecfc --- /dev/null +++ b/libshout.spec @@ -0,0 +1,69 @@ +Name: libshout +Version: 1.0.9 +Release: 0.fdr.1.rh90 +Summary: icecast source streaming library. + +Group: Libraries/Multimedia +License: LGPL +URL: http://www.icecast.org/ +Source: http://developer.icecast.org/libshout/releases/%{name}-%{version}.tar.gz +Patch: libshout-makefile.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires(post,postun): /sbin/ldconfig + +%description +Libshout is a library for communicating with and sending data to an +icecast server. It handles the socket connection, the timing of the +data, and prevents most bad data from getting to the icecast server. + +%package devel +Summary: static libraries and header files for %{name} development. +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The libshout-devel package contains the header files needed for developing +applications that send data to an icecast server. Install libshout-devel if +you want to develop applications using libshout. + +%prep +%setup -q +%patch -p1 + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +# docs install in $(prefix)/doc, we don't want that, so don't go into SUBDIRS +%makeinstall SUBDIRS= + +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS CHANGES COPYING README +%{_libdir}/libshout.so.* + +%files devel +%defattr(-,root,root,-) +%doc doc/*.html doc/style.css +%{_libdir}/libshout.a +%{_libdir}/libshout.so +%{_includedir}/shout/shout.h + +# ----------------------------------------------------------------------------- + +%changelog +* Wed Jun 04 2003 Thomas Vander Stichele +- 1.0.9-0.fdr.1: initial RPM release diff --git a/sources b/sources index e69de29..2a66f72 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bbe598e28bbf2989a90d78ff33953ea2 libshout-1.0.9.tar.gz