rpms/aldrin/F-7 aldrin-docfix.patch, NONE, 1.1 aldrin.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Alexander Kahl (akahl) fedora-extras-commits at redhat.com
Thu Sep 27 19:20:48 UTC 2007


Author: akahl

Update of /cvs/pkgs/rpms/aldrin/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26074/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	aldrin-docfix.patch aldrin.spec 
Log Message:
initial import


aldrin-docfix.patch:

--- NEW FILE aldrin-docfix.patch ---
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):
 		"""


--- NEW FILE aldrin.spec ---
Name:		aldrin
Version:	0.11
Release:	5%{?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
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
* Thu Sep 27 2007 Alexander Kahl <akahl at iconmobile.com> - 0.11-5
- nailed to pyzzub version 0.2.3 for docpath compatibility

* Tue Sep 25 2007 Alexander Kahl <akahl at iconmobile.com> - 0.11-4
- updated patch to fix referenced libzzub doc locations

* Tue Sep 18 2007 Alexander Kahl <akahl at 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 at 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 at iconmobile.com> - 0.11-1
- initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/aldrin/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	27 Sep 2007 16:26:44 -0000	1.1
+++ .cvsignore	27 Sep 2007 19:20:15 -0000	1.2
@@ -0,0 +1 @@
+aldrin-0.11.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/aldrin/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	27 Sep 2007 16:26:44 -0000	1.1
+++ sources	27 Sep 2007 19:20:15 -0000	1.2
@@ -0,0 +1 @@
+1a40ea5852e34b69abc55e12d049aef8  aldrin-0.11.tar.bz2




More information about the fedora-extras-commits mailing list