summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2002-09-14 20:18:25 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitbafc1271c7931a6ed5888f883f7ebafee8517729 (patch)
treeea74966fdf5e5549ce91aab306ebcbf5822c3127
parentbcbe612a17bc8b4103d96cabaef875930d2fb462 (diff)
downloadlibsndfile-bafc1271c7931a6ed5888f883f7ebafee8517729.zip
libsndfile-bafc1271c7931a6ed5888f883f7ebafee8517729.tar.gz
- amfix patch (fix for automake 1.6)libsndfile-1_0_1-1
- added missing pkgconfig file - moved devel docs to -devel Changed files: libsndfile-amfix.patch -> 1.1 libsndfile.spec -> 1.25
-rw-r--r--libsndfile-amfix.patch13
-rw-r--r--libsndfile.spec11
2 files changed, 19 insertions, 5 deletions
diff --git a/libsndfile-amfix.patch b/libsndfile-amfix.patch
new file mode 100644
index 0000000..fe95d29
--- /dev/null
+++ b/libsndfile-amfix.patch
@@ -0,0 +1,13 @@
+--- libsndfile-1.0.1/src/G72x/Makefile.am.orig Mon Aug 5 21:38:39 2002
++++ libsndfile-1.0.1/src/G72x/Makefile.am Sat Sep 14 15:31:19 2002
+@@ -12,8 +12,8 @@
+
+ libg72x_la_SOURCES = $(CFILES) $(noinst_HEADERS)
+
+-g72x_test_SOURCES = g72x_test.c $(CFILES)
+-g72x_test_LDADD = -lm
++g72x_test_SOURCES = g72x_test.c
++g72x_test_LDADD = -lm libg72x.la
+
+ check: g72x_test
+ ./g72x_test all
diff --git a/libsndfile.spec b/libsndfile.spec
index 504a7ed..238a31b 100644
--- a/libsndfile.spec
+++ b/libsndfile.spec
@@ -7,11 +7,11 @@ License: GPL
Vendor: Erik de Castro Lopo <erikd@zip.com.au>
Group: Development/Libraries
Source0: http://www.zip.com.au/~erikd/libsndfile/%{name}-%{version}.tar.gz
-Patch0: %{name}-autoconf.patch
+Patch0: %{name}-amfix.patch
+URL: http://www.zip.com.au/~erikd/libsndfile/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
-URL: http://www.zip.com.au/~erikd/libsndfile/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -66,6 +66,7 @@ dĽwiękowych.
%prep
%setup -q
+%patch -p1
%build
%{__libtoolize}
@@ -81,8 +82,6 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf NEWS TODO
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -91,16 +90,18 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz doc/*.html doc/*.jpg
+%doc NEWS TODO
%attr(755,root,root) %{_libdir}/lib*.so.*.*
%attr(744,root,root) %{_bindir}/*
%{_mandir}/man1/*
%files devel
%defattr(644,root,root,755)
+%doc doc/*.html doc/*.jpg
%attr(755,root,root) %{_libdir}/lib*.so
%attr(755,root,root) %{_libdir}/lib*.la
%{_includedir}/*
+%{_pkgconfigdir}/*.pc
%files static
%defattr(644,root,root,755)