rpms/openalpp/FC-5 openalpp.spec,1.10,1.11
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Mon Jan 15 16:10:28 UTC 2007
Author: xulchris
Update of /cvs/extras/rpms/openalpp/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25881/FC-5
Modified Files:
openalpp.spec
Log Message:
fix devel requires
Index: openalpp.spec
===================================================================
RCS file: /cvs/extras/rpms/openalpp/FC-5/openalpp.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- openalpp.spec 4 Sep 2006 05:42:53 -0000 1.10
+++ openalpp.spec 15 Jan 2007 16:09:58 -0000 1.11
@@ -1,14 +1,17 @@
Name: openalpp
Version: 20060714
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Object Oriented version of OpenAL
+
Group: System Environment/Libraries
License: LGPL
URL: http://alpp.sourceforge.net
Source0: http://download.gna.org/underware/sources/%{name}-cvs-%{version}.tar.gz
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openal-devel freealut-devel libvorbis-devel OpenThreads-devel
-BuildRequires: autoconf automake libtool
+BuildRequires: libtool
+
%description
Written in C++, makes OpenAL so much more accessible. Compare OpenAL++ to a
@@ -18,32 +21,42 @@
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: openal-devel
+Requires: openal-devel freealut-devel libvorbis-devel OpenThreads-devel
%description devel
This package contains headers and libraries required to build applications that
use OpenAL++.
+
%prep
%setup -q -n %{name}-cvs-%{version}
+
%build
%configure --disable-static
make %{?_smp_mflags}
+
%install
-rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+# exclude libtool archives
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
%check
-make %{?_smp_mflags} check
+make check
+
%clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
@@ -53,9 +66,12 @@
%{_includedir}/openalpp
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/*.so
-%exclude %{_libdir}/*.la
+
%changelog
+* Mon Jan 15 2007 Christopher Stone <chris.stone at gmail.com> 20060714-2
+- Fix Requires for devel subpackage
+
* Sun Sep 03 2006 Christopher Stone <chris.stone at gmail.com> 20060714-1
- Upstream sync
- Remove patches no longer required
More information about the scm-commits
mailing list