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

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

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

revision 135033 by gil, Thu Aug 4 01:32:25 2011 UTC revision 135034 by gil, Wed Aug 24 06:24:29 2011 UTC
# Line 1  Line 1 
1    %define with_gmaven 1
2  Name:          logback  Name:          logback
3  Version:       0.9.29  Version:       0.9.29
4  Release:       %mkrel 0  Release:       %mkrel 1
5  Summary:       A Java logging library  Summary:       A Java logging library
6  Group:         Development/Java  Group:         Development/Java
7  License:       EPL, GPL, LGPL  License:       EPL, GPL, LGPL
8  Url:           http://logback.qos.ch/  Url:           http://logback.qos.ch/
9  Source0:       http://logback.qos.ch/dist/logback-0.9.29.tar.gz  Source0:       http://logback.qos.ch/dist/logback-0.9.29.tar.gz
10    # logback-0.9.29.tar.gz logback-classic-0.9.29-sources.jar
11  Source1:       logback-0.9.29-classic-autogeneratedfiles.tar.gz  Source1:       logback-0.9.29-classic-autogeneratedfiles.tar.gz
12  Patch0:        logback-0.9.29-clean_poms.patch  Patch0:        logback-0.9.29-clean_poms.patch
13  # TODO gmaven-plugin  # revert patch0 ... add only the NEW gmaven-plugin
14    Patch1:        logback-0.9.29-classic-gmaven-plugin.patch
15    # TODO
16  # fest-assert 1.2  # fest-assert 1.2
17  # logback-access deps jetty jetty-server 7.0.1.v20091125 servlet-api-2.5  # logback-access deps jetty jetty-server 7.0.1.v20091125 servlet-api-2.5
18  BuildRequires: ant  BuildRequires: ant
# Line 45  BuildRequires: maven-scala-plugin Line 48  BuildRequires: maven-scala-plugin
48  BuildRequires: maven-site-plugin  BuildRequires: maven-site-plugin
49  BuildRequires: maven-source-plugin  BuildRequires: maven-source-plugin
50  BuildRequires: maven-surefire-plugin  BuildRequires: maven-surefire-plugin
51    %if %with_gmaven
52    BuildRequires: gmaven
53    %endif
54    
55  Requires:      dom4j  Requires:      dom4j
56  Requires:      easymock2  Requires:      easymock2
# Line 86  This package contains javadoc for %{name Line 92  This package contains javadoc for %{name
92    
93  %prep  %prep
94  %setup -q -n logback-%{version}  %setup -q -n logback-%{version}
95    
96  %patch0 -p1  %patch0 -p1
97  find . -name "*.jar" -delete  find . -name "*.jar" -delete
98  # FIXME need gmaven-plugin  
99    %if %with_gmaven
100    %patch1 -p0
101    %else
102  tar xf %{SOURCE1}  tar xf %{SOURCE1}
103    %endif
104    
105  sed -i 's/\r//' LICENSE.txt README.txt docs/*.* docs/*/*.* docs/*/*/*.*  sed -i 's/\r//' LICENSE.txt README.txt docs/*.* docs/*/*.* docs/*/*/*.*
106  rm -rf docs/apidocs docs/project-reports docs/testapidocs docs/project-reports.html  rm -rf docs/apidocs docs/project-reports docs/testapidocs docs/project-reports.html

Legend:
Removed from v.135033  
changed lines
  Added in v.135034

  ViewVC Help
Powered by ViewVC 1.1.30