Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8dd0c98a86 | ||
|
|
3de659a5ce | ||
|
|
485a8e26fc | ||
|
|
de9a2aca5a | ||
|
|
d285127727 |
6 changed files with 158 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
aldrin-0.11.tar.bz2
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: aldrin
|
|
||||||
# $Id$
|
|
||||||
NAME := aldrin
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
46
aldrin-docfix.patch
Normal file
46
aldrin-docfix.patch
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
diff -up aldrin-0.11/SConstruct.docfix aldrin-0.11/SConstruct
|
||||||
|
--- aldrin-0.11/SConstruct.docfix 2007-09-25 20:55:58.000000000 +0200
|
||||||
|
+++ aldrin-0.11/SConstruct 2007-09-25 20:55:58.000000000 +0200
|
||||||
|
@@ -127,12 +127,14 @@ if win32:
|
||||||
|
install('${DESTDIR}${PREFIX}', 'aldrin.bat')
|
||||||
|
|
||||||
|
# docs
|
||||||
|
-install('${DOC_INSTALL_PATH}/aldrin/html',
|
||||||
|
+install('${DOC_INSTALL_PATH}/aldrin-%s/html' % VERSION,
|
||||||
|
glob.glob('share/doc/aldrin/html/*.html')
|
||||||
|
+ glob.glob('share/doc/aldrin/html/*.css'))
|
||||||
|
-install('${DOC_INSTALL_PATH}/aldrin/images',
|
||||||
|
+install('${DOC_INSTALL_PATH}/aldrin-%s/images' % VERSION,
|
||||||
|
glob.glob('share/doc/aldrin/images/*.gif')
|
||||||
|
+ glob.glob('share/doc/aldrin/images/*.png'))
|
||||||
|
+install('${DOC_INSTALL_PATH}/aldrin-%s' % VERSION,
|
||||||
|
+ ['ChangeLog', 'CREDITS', 'LICENCE'])
|
||||||
|
|
||||||
|
# icon theme
|
||||||
|
install(iconpath + '/16x16/apps', 'share/icons/hicolor/16x16/apps/aldrin.png')
|
||||||
|
diff -up aldrin-0.11/share/aldrin/router.py.docfix aldrin-0.11/share/aldrin/router.py
|
||||||
|
--- aldrin-0.11/share/aldrin/router.py.docfix 2007-09-25 21:16:54.000000000 +0200
|
||||||
|
+++ aldrin-0.11/share/aldrin/router.py 2007-09-25 21:17:19.000000000 +0200
|
||||||
|
@@ -698,8 +698,8 @@ class ParameterDialog(gtk.Dialog):
|
||||||
|
uri = filenameify(self.pluginloader.get_uri())
|
||||||
|
name = filenameify(self.pluginloader.get_name())
|
||||||
|
helpfilepaths = [
|
||||||
|
- filepath('../doc/zzub/plugins/' + uri + '/index.html'),
|
||||||
|
- filepath('../doc/zzub/plugins/' + name + '/index.html'),
|
||||||
|
+ filepath('../doc/libzzub-0.2.3/plugins/' + uri + '/index.html'),
|
||||||
|
+ filepath('../doc/libzzub-0.2.3/plugins/' + name + '/index.html'),
|
||||||
|
]
|
||||||
|
for path in helpfilepaths:
|
||||||
|
print "searching for '%s'..." % path
|
||||||
|
diff -up aldrin-0.11/share/aldrin/main.py.docfix aldrin-0.11/share/aldrin/main.py
|
||||||
|
--- aldrin-0.11/share/aldrin/main.py.docfix 2007-09-25 21:14:29.000000000 +0200
|
||||||
|
+++ aldrin-0.11/share/aldrin/main.py 2007-09-25 21:16:17.000000000 +0200
|
||||||
|
@@ -856,7 +856,7 @@ class AldrinFrame(gtk.Window):
|
||||||
|
@type event: wx.MenuEvent
|
||||||
|
"""
|
||||||
|
import webbrowser
|
||||||
|
- webbrowser.open_new(filepath('../doc/aldrin/html/index.html'))
|
||||||
|
+ webbrowser.open_new(filepath('../doc/aldrin-0.11/html/index.html'))
|
||||||
|
|
||||||
|
def on_about(self, event):
|
||||||
|
"""
|
||||||
110
aldrin.spec
Normal file
110
aldrin.spec
Normal file
|
|
@ -0,0 +1,110 @@
|
||||||
|
Name: aldrin
|
||||||
|
Version: 0.11
|
||||||
|
Release: 6%{?dist}
|
||||||
|
Summary: Modular music sequencer/tracker
|
||||||
|
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://trac.zeitherrschaft.org/aldrin/
|
||||||
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: aldrin-docfix.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
ExcludeArch: ppc64
|
||||||
|
BuildRequires: scons >= 0.96.92
|
||||||
|
BuildRequires: dos2unix
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
Requires: pyzzub = 0.2.3
|
||||||
|
Requires: pygtk2
|
||||||
|
|
||||||
|
%description
|
||||||
|
Aldrin is a powerful music composition software featuring a flexible audio
|
||||||
|
routing system commonly found in expensive audio software, enabling you to mix,
|
||||||
|
split, mutilate and modify audio signals emitted by software synthesizers and
|
||||||
|
samples.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
mac2unix SConstruct
|
||||||
|
%patch0 -p1 -b docfix
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
find share/aldrin share/doc \
|
||||||
|
-regextype posix-egrep \
|
||||||
|
-regex '.+\.(py|html|xml|prs|col|css)' \
|
||||||
|
-exec mac2unix '{}' \; \
|
||||||
|
-exec chmod 644 '{}' \;
|
||||||
|
|
||||||
|
iconv --from-code=ISO-8859-1 --to-code=UTF-8 CREDITS > CREDITS~
|
||||||
|
%{__mv} CREDITS~ CREDITS
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
scons install PREFIX=$RPM_BUILD_ROOT%{_prefix}
|
||||||
|
|
||||||
|
desktop-file-install \
|
||||||
|
--vendor="fedora" \
|
||||||
|
--remove-category="Application" \
|
||||||
|
--delete-original \
|
||||||
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
|
%clean
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%post
|
||||||
|
update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||||
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
%postun
|
||||||
|
update-desktop-database &> /dev/null || :
|
||||||
|
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||||
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/aldrin
|
||||||
|
%{_defaultdocdir}/%{name}-%{version}
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
%{_datadir}/applications/*
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Oct 5 2007 Alexander Kahl <akahl@iconmobile.com> - 0.11-6
|
||||||
|
- added ExludeArch for ppc64 to reflect libzzub unavailability on that arch
|
||||||
|
|
||||||
|
* Thu Sep 27 2007 Alexander Kahl <akahl@iconmobile.com> - 0.11-5
|
||||||
|
- nailed to pyzzub version 0.2.3 for docpath compatibility
|
||||||
|
|
||||||
|
* Tue Sep 25 2007 Alexander Kahl <akahl@iconmobile.com> - 0.11-4
|
||||||
|
- updated patch to fix referenced libzzub doc locations
|
||||||
|
|
||||||
|
* Tue Sep 18 2007 Alexander Kahl <akahl@iconmobile.com> - 0.11-3
|
||||||
|
- generic sf.net source url
|
||||||
|
- adapted macros wherever feasible (both paths and commands)
|
||||||
|
- unified buildroot style
|
||||||
|
- removed redundant ldconfig update call
|
||||||
|
- new patch to rectify aldrin's installation doc directory and file list
|
||||||
|
- added missing python module requirement
|
||||||
|
- added update calls for GTK icon cache and desktop database
|
||||||
|
|
||||||
|
* Tue Sep 18 2007 Alexander Kahl <akahl@iconmobile.com> - 0.11-2
|
||||||
|
- updated requires to new libzzub w/ integrated pyzzub
|
||||||
|
- removed redundant requires
|
||||||
|
- fixed rpm path macros
|
||||||
|
- fixed CREDITS encoding
|
||||||
|
|
||||||
|
* Mon Sep 3 2007 Alexander Kahl <akahl@iconmobile.com> - 0.11-1
|
||||||
|
- initial release
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
1a40ea5852e34b69abc55e12d049aef8 aldrin-0.11.tar.bz2
|
||||||
Reference in a new issue