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

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

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

revision 811762 by daviddavid, Sat Jan 10 20:49:35 2015 UTC revision 811763 by daviddavid, Wed Jan 21 19:22:57 2015 UTC
# Line 1  Line 1 
1  Name:          txw2  Name:          txw2
2  Version:       20110809  Version:       20110809
3  Release:       %mkrel 9  Release:       %mkrel 10
4  Summary:       Typed XML writer for Java  Summary:       Typed XML writer for Java
5  Group:         Development/Java  Group:         Development/Java
6  License:       CDDL and GPLv2 with exceptions  License:       CDDL and GPLv2 with exceptions
# Line 70  This package contains the API documentat Line 70  This package contains the API documentat
70    
71  %install  %install
72    
73  %mvn_install  # Jar files:
74    install -d -m 755 %{buildroot}%{_javadir}
75    cp -p runtime/target/txw2-%{version}.jar %{buildroot}%{_javadir}/txw2.jar
76    cp -p compiler/target/txwc2-%{version}.jar %{buildroot}%{_javadir}/txwc2.jar
77    
78    # POM files:
79    install -d -m 755 %{buildroot}%{_mavenpomdir}
80    cp -p pom.xml %{buildroot}%{_mavenpomdir}/JPP-txw2-project.pom
81    cp -p runtime/pom.xml %{buildroot}%{_mavenpomdir}/JPP-txw2.pom
82    cp -p compiler/pom.xml %{buildroot}%{_mavenpomdir}/JPP-txwc2.pom
83    
84    # Dependencies map:
85    %add_maven_depmap JPP-txw2-project.pom
86    %add_maven_depmap JPP-txw2.pom txw2.jar
87    %add_maven_depmap JPP-txwc2.pom txwc2.jar
88    
89    # Javadoc files:
90    install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
91    cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
92    
93    
94  %files -f .mfiles  %files -f .mfiles
95  %doc license.txt  %doc license.txt
96    
97    
98  %files javadoc -f .mfiles-javadoc  %files javadoc
99    %{_javadocdir}/%{name}/
100  %doc license.txt  %doc license.txt

Legend:
Removed from v.811762  
changed lines
  Added in v.811763

  ViewVC Help
Powered by ViewVC 1.1.30