Author: kkofler
Update of /cvs/pkgs/rpms/drumstick/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11700/F-12
Modified Files:
.cvsignore sources
Added Files:
drumstick.spec
Log Message:
Sync from devel:
New package drumstick - C++/Qt4 wrapper around the ALSA library sequencer interface
Renamed from aseqmm.
* Sun Jan 31 2010 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 0.2.99-0.2.svn20100107
- put the alphatag before the disttag
--- NEW FILE drumstick.spec ---
Summary: C++/Qt4 wrapper around the ALSA library sequencer interface
Name: drumstick
Version: 0.2.99
Release: 0.2.20100107svn%{?dist}
%define svn svn
Group: System Environment/Libraries
License: GPLv2+
URL:
http://drumstick.sourceforge.net/
Source0:
http://downloads.sourceforge.net/project/drumstick/%{version}%{?svn}/drum...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake qt4-devel alsa-lib-devel desktop-file-utils
Obsoletes: aseqmm < %{version}-%{release}
Provides: aseqmm = %{version}-%{release}
%description
The drumstick library is a C++ wrapper around the ALSA library sequencer
interface, using Qt4 objects, idioms and style. The ALSA sequencer interface
provides software support for MIDI technology on GNU/Linux.
%package devel
Summary: Developer files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: aseqmm-devel < %{version}-%{release}
Provides: aseqmm-devel = %{version}-%{release}
%description devel
%{summary}.
%package examples
Summary: Example programs for %{name}
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: aseqmm-examples < %{version}-%{release}
Provides: aseqmm-examples = %{version}-%{release}
%description examples
This package contains the test/example programs for %{name}.
%prep
%setup -q -n %{name}-%{version}%{?svn}
# don't create .la file
sed -i -e 's/CREATE_LIBTOOL_FILE/#CREATE_LIBTOOL_FILE/g' library/CMakeLists.txt
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%cmake ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
rm -rf $RPM_BUILD_ROOT
make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
for i in $RPM_BUILD_ROOT%{_datadir}/applications/* ; do
desktop-file-validate $i
done
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post examples
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
update-desktop-database &> /dev/null || :
%postun examples
update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans examples
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING
%{_libdir}/libdrumstick.so.*
%files devel
%defattr(-,root,root,-)
%{_libdir}/libdrumstick.so
%{_libdir}/pkgconfig/drumstick.pc
%{_includedir}/drumstick/
%{_includedir}/drumstick.h
%files examples
%defattr(-,root,root,-)
%{_bindir}/drumstick-*
%{_datadir}/applications/drumstick-*.desktop
%{_datadir}/icons/hicolor/*/apps/*
%changelog
* Sun Jan 31 2010 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 0.2.99-0.2.svn20100107
- put the alphatag before the disttag
* Fri Jan 29 2010 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 0.2.99-0.1.svn20100107
- update to 0.2.99svn tarball
- renamed from aseqmm to drumstick by upstream
* Fri Jan 22 2010 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 0.2.0-2
- require the main package with exact version-release in -examples
* Fri Jan 22 2010 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 0.2.0-1
- First Fedora package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/drumstick/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 31 Jan 2010 19:12:21 -0000 1.1
+++ .cvsignore 31 Jan 2010 23:30:05 -0000 1.2
@@ -0,0 +1 @@
+drumstick-0.2.99svn.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/drumstick/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 31 Jan 2010 19:12:21 -0000 1.1
+++ sources 31 Jan 2010 23:30:05 -0000 1.2
@@ -0,0 +1 @@
+b8852fa0eafd6a771f8a036224bcba4f drumstick-0.2.99svn.tar.bz2