packages: audacity/audacity.spec - up to 1.3.9, add and package manual pages

glen glen at pld-linux.org
Fri Sep 4 07:36:21 CEST 2009


Author: glen                         Date: Fri Sep  4 05:36:21 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.3.9, add and package manual pages

---- Files affected:
packages/audacity:
   audacity.spec (1.82 -> 1.83) 

---- Diffs:

================================================================
Index: packages/audacity/audacity.spec
diff -u packages/audacity/audacity.spec:1.82 packages/audacity/audacity.spec:1.83
--- packages/audacity/audacity.spec:1.82	Sat Jul 18 14:38:18 2009
+++ packages/audacity/audacity.spec	Fri Sep  4 07:36:16 2009
@@ -10,15 +10,17 @@
 Summary(pl.UTF-8):	Audacity - narzędzie do obróbki plików dźwiękowych
 Summary(ru.UTF-8):	Кроссплатформенный звуковой редактор
 Name:		audacity
-Version:	1.3.8
+Version:	1.3.9
 Release:	1
 License:	GPL
-Vendor:		Dominic Mazzoni <dominic at minorninth.com>
 Group:		X11/Applications/Sound
 Source0:	http://audacity.googlecode.com/files/%{name}-minsrc-%{version}.tar.bz2
-# Source0-md5:	88b3c68663a06f146fe822b91608e8f1
-Source1:	%{name}.desktop
-Source2:	%{name}-icon.png
+# Source0-md5:	0f2bc8971c6e2c4d39457c28aea16b5c
+# Link from http://manual.audacityteam.org/index.php?title=Main_Page
+Source1:	http://manual.audacityteam.org/help.zip
+# Source1-md5:	95cd5f0f73116512e577592faa4fcb02
+Source2:	%{name}.desktop
+Source3:	%{name}-icon.png
 Patch0:		%{name}-system-libs.patch
 Patch1:		%{name}-opt.patch
 URL:		http://audacity.sourceforge.net/
@@ -43,9 +45,9 @@
 BuildRequires:	which
 BuildRequires:	wxGTK2-unicode-devel >= 2.8.0
 BuildRequires:	zip
+Requires(post,postun):	shared-mime-info
 Requires:	lame-libs
 Requires:	libid3tag >= 0.15.0b-2
-Requires(post,postun):	shared-mime-info
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -86,7 +88,7 @@
 %{__aclocal} -I m4
 %{__autoconf}
 
-export WX_CONFIG="`which wx-gtk2-unicode-config`"
+export WX_CONFIG=$(which wx-gtk2-unicode-config)
 %configure \
 %if %{with libresample}
 	--with-libresample=system \
@@ -111,8 +113,9 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	INSTALL_PATH=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
+cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
+%{__unzip} -qq -a %{SOURCE1} -d $RPM_BUILD_ROOT%{_datadir}/%{name}/help
 
 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{zh,zh_CN}
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/
@@ -133,10 +136,14 @@
 %defattr(644,root,root,755)
 %doc README.txt
 %attr(755,root,root) %{_bindir}/audacity
-%{_datadir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/*.xpm
+%{_datadir}/%{name}/nyquist
+%{_datadir}/%{name}/plug-ins
+%doc %{_datadir}/%{name}/help
 %{_mandir}/man1/*.1*
 %{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
+%{_pixmapsdir}/*.png
 %{_datadir}/mime/packages/audacity.xml
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -145,6 +152,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83  2009/09/04 05:36:16  glen
+- up to 1.3.9, add and package manual pages
+
 Revision 1.82  2009/07/18 12:38:18  arekm
 - up to 1.3.8
 
@@ -326,10 +336,10 @@
 - cosmetics
 
 Revision 1.32  2003/09/20 20:28:22  adasi
- - one more BR
+- one more BR
 
 Revision 1.31  2003/09/20 20:23:40  adasi
- - added missing BR
+- added missing BR
 
 Revision 1.30  2003/08/06 16:30:49  kloczek
 - może wrescie ktoś wykasuje to konto ?
@@ -361,7 +371,7 @@
 - fix BR
 
 Revision 1.21  2003/03/14 17:03:54  wiget
-- place %%subv in Version
+- place %subv in Version
 - compile with wxGTK2 2.4.0
 
 Revision 1.20  2003/03/14 09:52:56  qboosh
@@ -382,12 +392,12 @@
 - BR: autoconf
 
 Revision 1.15  2002/07/24 23:01:43  kloczek
-- added using %%{__cxx} macro.
+- added using %{__cxx} macro.
 
 Revision 1.14  2002/07/24 19:33:56  qboosh
 - updated to final 1.0.0 (latest stable version)
 - updated dynamic_id3lib patch, removed outdated wxGTK-2.3.2 patch
-- added missing dir (%%{_datadir}/audacity), removed LICENSE.txt (it's just GPL)
+- added missing dir (%{_datadir}/audacity), removed LICENSE.txt (it's just GPL)
 
 Revision 1.13  2002/07/21 16:56:21  kloczek
 - release 4: rebuild agauinst final libvorbis 1.0 and use new %doc.
@@ -398,9 +408,9 @@
 - BR id3lib-devel
 
 Revision 1.11  2002/05/21 23:12:42  kloczek
-perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+- perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
              s/^automake -a -c -f/\%\{__automake\}/; \
-	     s/^autoconf/\%\{__autoconf\}/"
+     s/^autoconf/\%\{__autoconf\}/"
 
 Revision 1.10  2002/05/12 22:52:48  kloczek
 - release 2.
@@ -413,7 +423,7 @@
 - STBR,
 
 Revision 1.7  2002/04/25 15:49:37  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.6  2002/02/22 23:28:42  kloczek
 - removed all Group fields translations (our rpm now can handle translating
@@ -427,7 +437,7 @@
 - Version 0.98.
 - Added icon and desktop file.
 - Added patch to dynamically link with id3lib.
-- Changed help file location to %%{_datadir}/%{name}.
+- Changed help file location to %{_datadir}/%{name}.
 - Added patch to look for libmp3lame.so.0.0.0 so it doesn't need -devel
   package.
 - Completed BuildRequires.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/audacity/audacity.spec?r1=1.82&r2=1.83&f=u



More information about the pld-cvs-commit mailing list