/[packages]/cauldron/antico/current/SPECS/antico.spec
ViewVC logotype

Diff of /cauldron/antico/current/SPECS/antico.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 191610 by matteo, Sun Jan 1 14:48:50 2012 UTC revision 191611 by matteo, Thu Jan 5 15:10:45 2012 UTC
# Line 1  Line 1 
1  %define git 33b232a  #define git 33b232a
2    %define git 74aa84c
3    
4  Name:           antico  Name:           antico
5  Version:        0.2  Version:        0.2
6  Release:        %mkrel -c git 1  Release:        %mkrel -c git 2
7  Summary:        Antico Desktop/Window Manager  Summary:        Antico Desktop/Window Manager
8  License:        GPLv2  License:        GPLv2
9  Url:            http://www.giuseppecigala.it/Antico.html  Url:            http://www.giuseppecigala.it/Antico.html
10  #Source0:       https://github.com/antico/antico/tarball/master  #Source0:       https://github.com/antico/antico/tarball/master
11  Source:         %{name}-%{name}-%{git}.tar.gz  Source:         pasmatt-%{name}-%{git}.zip
12    #Source:                %{name}-%{name}-%{git}.tar.gz
13    Patch0:         %{name}-mageia_icon.patch
14  Group:          Graphical desktop/Other  Group:          Graphical desktop/Other
15    
16  BuildRequires:  qt4-devel  BuildRequires:  qt4-devel
# Line 23  The whole project is be based only on Qt Line 26  The whole project is be based only on Qt
26  without any other external dependencies.  without any other external dependencies.
27    
28  %prep  %prep
29  %setup -q -n %{name}-%{name}-%{git}  %setup -q -n pasmatt-%{name}-%{git}
30    %apply_patches
31    
32  # patch to make antico more modular  # patch to make antico more modular
33  find . -name "*.cpp" -type f -exec sed -i -e 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/antico.cfg"|QDir::homePath() + "/.antico.cfg"|g' {} \;  # fixed upstream (pasmatt fork on github)
34  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:]]"/antico.cfg"|QDir::homePath() + "/.antico.cfg"|g' {} \;
35  find . -name "*.cpp" -type f -exec sed -i -e 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/language|QDir::rootPath() + "usr/share/antico/language|g' {} \;  #find . -name "*.cpp" -type f -exec sed -i -e 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/theme|QDir::rootPath() + "usr/share/antico/theme|g' {} \;
36    #find . -name "*.cpp" -type f -exec sed -i -e 's|QCoreApplication::applicationDirPath()[[:space:]]+[[:space:]]"/language|QDir::rootPath() + "usr/share/antico/language|g' {} \;
37    
38  %build  %build
39  %{qmake_qt4}  %{qmake_qt4}
40  # workaround to allow compilation on mga2 (why?)  # FIXED - workaround to allow compilation on mga2 (why?)
41  %make SUBLIBS="-lXext -lX11"  #%make SUBLIBS="-lXext -lX11"
42    %make
43    
44  %install  %install
45  %__rm -fr %{buildroot}  %__rm -fr %{buildroot}

Legend:
Removed from v.191610  
changed lines
  Added in v.191611

  ViewVC Help
Powered by ViewVC 1.1.30