rpms/aseqmm/F-12 aseqmm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Kevin Kofler kkofler at fedoraproject.org
Wed Jan 27 08:42:58 UTC 2010


Author: kkofler

Update of /cvs/pkgs/rpms/aseqmm/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8791/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	aseqmm.spec 
Log Message:
Sync from devel:
New package aseqmm - C++/Qt4 wrapper around the ALSA library sequencer interface


--- NEW FILE aseqmm.spec ---
Summary: C++/Qt4 wrapper around the ALSA library sequencer interface
Name:    aseqmm
Version: 0.2.0
Release: 2%{?dist}

Group:   System Environment/Libraries
License: GPLv2+
URL:     http://kmetronome.sourceforge.net/aseqmm/
Source0: http://downloads.sourceforge.net/project/kmetronome/aseqmm/%{version}/aseqmm-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: cmake qt4-devel alsa-lib-devel desktop-file-utils

%description
The aseqmm 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}
%description devel
%{summary}.

%package examples
Summary: Example programs for %{name}
Group:   System Environment/Libraries
Requires: %{name} = %{version}-%{release}
%description examples
This package contains the test/example programs for %{name}.


%prep
%setup -q
# 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}/libaseqmm.so.*

%files devel
%defattr(-,root,root,-)
%{_libdir}/libaseqmm.so
%{_libdir}/pkgconfig/aseqmm.pc
%{_includedir}/aseqmm/
%{_includedir}/aseqmm.h

%files examples
%defattr(-,root,root,-)
%{_bindir}/aseqmm-*
%{_datadir}/applications/aseqmm-*.desktop
%{_datadir}/icons/hicolor/*/apps/*


%changelog
* Fri Jan 22 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.2.0-2
- require the main package with exact version-release in -examples

* Fri Jan 22 2010 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.2.0-1
- First Fedora package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/aseqmm/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	27 Jan 2010 05:26:38 -0000	1.1
+++ .cvsignore	27 Jan 2010 08:42:58 -0000	1.2
@@ -0,0 +1 @@
+aseqmm-0.2.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/aseqmm/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	27 Jan 2010 05:26:38 -0000	1.1
+++ sources	27 Jan 2010 08:42:58 -0000	1.2
@@ -0,0 +1 @@
+5f07c62dafe7347cfad5ce826d1d15b6  aseqmm-0.2.0.tar.bz2



More information about the scm-commits mailing list