Compare commits

..

No commits in common. "rawhide" and "f16" have entirely different histories.

5 changed files with 117 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
UMLGraph-5.2.tar.gz
UMLGraph-5.4.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

20
doclet-5.1.pom Normal file
View file

@ -0,0 +1,20 @@
<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>

1
sources Normal file
View file

@ -0,0 +1 @@
abd3891462e994d91d94af5ceac23391 UMLGraph-5.4.tar.gz

94
umlgraph.spec Normal file
View file

@ -0,0 +1,94 @@
Name: umlgraph
Version: 5.4
Release: 2%{?dist}
Summary: Automated Drawing of UML Diagrams
Group: Development/Libraries
License: BSD
URL: http://umlgraph.org/
Source0: http://umlgraph.org/UMLGraph-%{version}.tar.gz
Source1: http://repo2.maven.org/maven2/org/umlgraph/doclet/5.1/doclet-5.1.pom
Requires(post): jpackage-utils >= 0:1.7.4
Requires(postun): jpackage-utils >= 0:1.7.4
BuildRequires: ant
BuildRequires: graphviz
BuildRequires: java-devel >= 1:1.6.0
Requires: graphviz
Requires: java
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}
Requires: jpackage-utils
%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}.jar
%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}
rm -fr javadoc/gr/spinellis/umlgraph/doclet/*.dot
rm -fr javadoc/org/umlgraph/doclet/*.dot
cp -pr javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%post
%update_maven_depmap
%postun
%update_maven_depmap
%files
%defattr(-,root,root)
%doc README.txt
%{_javadir}/*
%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%files javadoc
%defattr(-,root,root)
%doc %{_javadocdir}/%{name}
%changelog
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Jan 11 2011 Alexander Kurtakov <akurtako@redhat.com> 5.4-1
- Update to upstream 5.4.
* Thu Oct 8 2009 Alexander Kurtakov <akurtako@redhat.com> 5.2-3
- BR openjdk.
* Wed Oct 7 2009 Alexander Kurtakov <akurtako@redhat.com> 5.2-2
- Add missing BR/R on graphviz.
* Thu Oct 1 2009 Alexander Kurtakov <akurtako@redhat.com> 5.2-1
- Initial package.