rpms/umlgraph/devel umlgraph.spec, NONE, 1.1 doclet-5.1.pom, NONE, 1.1 sources, 1.1, 1.2

Alexander Kurtakov akurtakov at fedoraproject.org
Thu Oct 8 14:51:54 UTC 2009


Author: akurtakov

Update of /cvs/pkgs/rpms/umlgraph/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9442/devel

Modified Files:
	sources 
Added Files:
	umlgraph.spec doclet-5.1.pom 
Log Message:
Initial import.


--- NEW FILE umlgraph.spec ---
Name:           umlgraph
Version:        5.2
Release:        2%{?dist}
Summary:        Automated Drawing of UML Diagrams

Group:          Development/Libraries
License:        BSD
URL:            http://umlgraph.org/
Source0:        http://umlgraph.org/UMLGraph-5.2.tar.gz
Source1:        http://repo2.maven.org/maven2/org/umlgraph/doclet/5.1/doclet-5.1.pom
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires(post):   jpackage-utils >= 0:1.7.4
Requires(postun): jpackage-utils >= 0:1.7.4

BuildRequires: ant
BuildRequires: graphviz
Requires: graphviz

BuildArch: noarch

%description
UMLGraph allows the declarative specification and drawing of UML class
and sequence diagrams. The specification is done in text diagrams, 
that are then transformed into the appropriate graphical representations. 

%package javadoc
Group:          Documentation
Summary:        Javadoc for %{name}

%description javadoc
API documentation for %{name}.

%prep
%setup -q -n UMLGraph-%{version}
sed -i -e 's|<attribute name=\"Class-Path\" value=\"tools.jar\"/>||g' build.xml
for f in $(find . -name "*.jar"); do
    mv $f $f.no
done

%build
%ant compile test javadocs

%install
rm -rf $RPM_BUILD_ROOT
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 lib/UmlGraph.jar \
    $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)

%add_to_maven_depmap org.umlgraph doclet %{version} JPP %{name}
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-%{name}.pom

# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
rm -fr javadoc/gr/spinellis/umlgraph/doclet/*.dot
rm -fr javadoc/org/umlgraph/doclet/*.dot
cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(-,root,root)
%doc README.txt
%{_javadir}/*
%{_datadir}/maven2
%{_mavendepmapfragdir}

%files javadoc
%defattr(-,root,root)
%doc %{_javadocdir}/%{name}-%{version}
%doc %{_javadocdir}/%{name}

%changelog
* Wed Oct 7 2009 Alexander Kurtakov <akurtako at redhat.com> 5.2-2
- Add missing BR/R on graphviz.

* Thu Oct 1 2009 Alexander Kurtakov <akurtako at redhat.com> 5.2-1
- Initial package.


--- NEW FILE doclet-5.1.pom ---
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.umlgraph</groupId>
  <artifactId>doclet</artifactId>
  <packaging>jar</packaging>
  <version>5.1</version>
  <name>doclet</name>
  <url>http://www.umlgraph.org/</url>
  <distributionManagement>
    <downloadUrl>http://www.umlgraph.org/jars/UmlGraph-5.1.jar</downloadUrl>
  </distributionManagement>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>manual</distribution>
    </license>
  </licenses>
</project>


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/umlgraph/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	8 Oct 2009 05:52:19 -0000	1.1
+++ sources	8 Oct 2009 14:51:53 -0000	1.2
@@ -0,0 +1 @@
+afdfe57b1c5dc57b698eceae63527358  UMLGraph-5.2.tar.gz




More information about the scm-commits mailing list