/[packages]/cauldron/jboss-interceptors-1.1-api/current/SPECS/jboss-interceptors-1.1-api.spec
ViewVC logotype

Diff of /cauldron/jboss-interceptors-1.1-api/current/SPECS/jboss-interceptors-1.1-api.spec

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

revision 130981 by gil, Sun Jul 31 17:26:40 2011 UTC revision 131998 by dmorgan, Fri Aug 5 21:42:05 2011 UTC
# Line 2  Line 2 
2  %global namedversion %{version}%{?namedreltag}  %global namedversion %{version}%{?namedreltag}
3  Name:             jboss-interceptors-1.1-api  Name:             jboss-interceptors-1.1-api
4  Version:          1.0.0  Version:          1.0.0
5  Release:          %mkrel 0  Release:          %mkrel 1
6  Summary:          Interceptors 1.1 API  Summary:          Interceptors 1.1 API
7  Group:            Development/Java  Group:            Development/Java
8  License:          LGPLv2+  License:          LGPLv2+
# Line 29  The JavaEE Interceptors 1.1 API classes Line 29  The JavaEE Interceptors 1.1 API classes
29    
30  %package javadoc  %package javadoc
31  Summary:          Javadocs for %{name}  Summary:          Javadocs for %{name}
32  Group:            Documentation  Group:            Development/Java
33  Requires:         jpackage-utils  Requires:         jpackage-utils
34    
35  %description javadoc  %description javadoc
# Line 40  This package contains the API documentat Line 40  This package contains the API documentat
40    
41  %build  %build
42  mvn-rpmbuild install javadoc:aggregate  mvn-rpmbuild install javadoc:aggregate
43    
44  %install  %install
45  [ %{buildroot} != / ] && rm -rf %{buildroot}  [ %{buildroot} != / ] && rm -rf %{buildroot}
46  install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/jboss  install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/jboss
# Line 56  install -pm 644 pom.xml $RPM_BUILD_ROOT% Line 57  install -pm 644 pom.xml $RPM_BUILD_ROOT%
57  install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}  install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
58  cp -rp target/site/apidocs $RPM_BUILD_ROOT%{_javadocdir}/%{name}  cp -rp target/site/apidocs $RPM_BUILD_ROOT%{_javadocdir}/%{name}
59    
 %clean  
 [ %{buildroot} != / ] && rm -rf %{buildroot}  
   
60  %post  %post
61  %update_maven_depmap  %update_maven_depmap
62    
# Line 71  cp -rp target/site/apidocs $RPM_BUILD_RO Line 69  cp -rp target/site/apidocs $RPM_BUILD_RO
69  %{_mavendepmapfragdir}/*  %{_mavendepmapfragdir}/*
70    
71  %files javadoc  %files javadoc
 %{_javadocdir}/%{name}  
72    %{_javadocdir}/%{name}

Legend:
Removed from v.130981  
changed lines
  Added in v.131998

  ViewVC Help
Powered by ViewVC 1.1.28