[Mageia-dev] [packages-commits] [191611] - new sources

Jani Välimaa jani.valimaa at gmail.com
Thu Jan 5 16:38:25 CET 2012


2012/1/5  <root at mageia.org>:
> Revision 191611 Author matteo Date 2012-01-05 16:10:45 +0100 (Thu, 05 Jan
> 2012)
>
> Log Message
>
> - new sources
> - switched antico launcher icon with mageia icon
>
> Modified Paths
>
> cauldron/antico/current/SPECS/antico.spec
>
> Modified: cauldron/antico/current/SPECS/antico.spec
> ===================================================================
> --- cauldron/antico/current/SPECS/antico.spec	2012-01-05 15:10:00 UTC (rev
> 191610)
> +++ cauldron/antico/current/SPECS/antico.spec	2012-01-05 15:10:45 UTC (rev
> 191611)
> @@ -1,13 +1,16 @@
> -%define git 33b232a
> +#define git 33b232a
> +%define git 74aa84c
>
>  Name:		antico
>  Version:	0.2
> -Release:	%mkrel -c git 1
> +Release:	%mkrel -c git 2
>  Summary:	Antico Desktop/Window Manager
>  License:	GPLv2
>  Url:		http://www.giuseppecigala.it/Antico.html
>  #Source0:	https://github.com/antico/antico/tarball/master
> -Source:		%{name}-%{name}-%{git}.tar.gz
> +Source:		pasmatt-%{name}-%{git}.zip
> +#Source:		%{name}-%{name}-%{git}.tar.gz
> +Patch0:		%{name}-mageia_icon.patch
>  Group:		Graphical desktop/Other
>
>  BuildRequires:	qt4-devel
> @@ -23,17 +26,20 @@
>  without any other external dependencies.
>
>  %prep
> -%setup -q -n %{name}-%{name}-%{git}
> +%setup -q -n pasmatt-%{name}-%{git}
> +%apply_patches
>
>  # patch to make antico more modular
> -find . -name "*.cpp" -type f -exec sed -i -e
> 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/antico.cfg"|QDir::homePath()
> + "/.antico.cfg"|g' {} \;
> -find . -name "*.cpp" -type f -exec sed -i -e
> 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/theme|QDir::rootPath()
> + "usr/share/antico/theme|g' {} \;
> -find . -name "*.cpp" -type f -exec sed -i -e
> 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/language|QDir::rootPath()
> + "usr/share/antico/language|g' {} \;
> +# fixed upstream (pasmatt fork on github)
> +#find . -name "*.cpp" -type f -exec sed -i -e
> 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/antico.cfg"|QDir::homePath()
> + "/.antico.cfg"|g' {} \;
> +#find . -name "*.cpp" -type f -exec sed -i -e
> 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/theme|QDir::rootPath()
> + "usr/share/antico/theme|g' {} \;
> +#find . -name "*.cpp" -type f -exec sed -i -e
> 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/language|QDir::rootPath()
> + "usr/share/antico/language|g' {} \;
>
>  %build
>  %{qmake_qt4}
> -# workaround to allow compilation on mga2 (why?)
> -%make SUBLIBS="-lXext -lX11"
> +# FIXED - workaround to allow compilation on mga2 (why?)
> +#%make SUBLIBS="-lXext -lX11"
> +%make
>
>  %install
>  %__rm -fr %{buildroot}
>

Please remove old, obsoleted and not needed parts of .spec instead of
commenting them out. IMHO there's no need to keep eg. 3 different
source tags in .spec. Changes can be restored and reverted from svn
afterwards if needed.


More information about the Mageia-dev mailing list