initial import
This commit is contained in:
parent
bdd98fe571
commit
5280a38443
@ -0,0 +1 @@
|
||||
libcanberra-0.3.tar.gz
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
libcanberra-0_3-1_fc10:HEAD:libcanberra-0.3-1.fc10.src.rpm:1213637385
|
87
libcanberra.spec
Normal file
87
libcanberra.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: libcanberra
|
||||
Version: 0.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Portable Sound Event Library
|
||||
Group: System Environment/Libraries
|
||||
Source0: http://0pointer.de/public/libcanberra-%{version}.tar.gz
|
||||
License: LGPLv2
|
||||
Url: http://git.0pointer.de/?p=libcanberra.git;a=summary
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: libtool-ltdl-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: pulseaudio-libs-devel >= 0.9.11
|
||||
|
||||
%description
|
||||
A small and lightweight implementation of the XDG Sound Theme Specification
|
||||
(http://0pointer.de/public/sound-theme-spec.html).
|
||||
|
||||
%package gtk2
|
||||
Summary: Gtk+ Bindings for libcanberra
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description gtk2
|
||||
Gtk+ bindings for libcanberra
|
||||
|
||||
%package devel
|
||||
Summary: Development Files for libcanberra client development
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: gtk-doc
|
||||
|
||||
%description devel
|
||||
Development Files for libcanberra client development
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post gtk2 -p /sbin/ldconfig
|
||||
%postun gtk2 -p /sbin/ldconfig
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-rpath --enable-pulse --enable-alsa --enable-null --with-builtin=dso
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README LGPL
|
||||
%{_libdir}/libcanberra.so.*
|
||||
%dir %{_libdir}/libcanberra
|
||||
%{_libdir}/libcanberra/libcanberra-alsa.so
|
||||
%{_libdir}/libcanberra/libcanberra-pulse.so
|
||||
%{_libdir}/libcanberra/libcanberra-null.so
|
||||
|
||||
%files gtk2
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcanberra-gtk.so.*
|
||||
%{_libdir}/gtk-2.0/modules/libcanberra-gtk-module.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc %{_datadir}/gtk-doc/html/libcanberra
|
||||
%{_includedir}/canberra-gtk.h
|
||||
%{_includedir}/canberra.h
|
||||
%{_libdir}/libcanberra-gtk.so
|
||||
%{_libdir}/libcanberra.so
|
||||
%{_libdir}/pkgconfig/libcanberra-gtk.pc
|
||||
%{_libdir}/pkgconfig/libcanberra.pc
|
||||
|
||||
%changelog
|
||||
* Fri Jun 13 2008 Lennart Poettering <lpoetter@redhat.com> 0.3-1
|
||||
- Initial package, based on Colin Guthrie's Mandriva package
|
||||
|
Loading…
Reference in New Issue
Block a user