rpms/jflex/devel jflex-1.4.3.pom,NONE,1.1 jflex.spec,1.8,1.9
Alexander Kurtakov
akurtakov at fedoraproject.org
Fri Jan 8 14:56:53 UTC 2010
Author: akurtakov
Update of /cvs/pkgs/rpms/jflex/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19578/devel
Modified Files:
jflex.spec
Added Files:
jflex-1.4.3.pom
Log Message:
Add maven pom and depmaps.
--- NEW FILE jflex-1.4.3.pom ---
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>de.jflex</groupId>
<artifactId>jflex</artifactId>
<packaging>jar</packaging>
<version>1.4.3</version>
<!-- this is a pseudo POM, to be uploaded manually -->
<dependencies />
<name>JFlex - The Fast Scanner Generator for Java</name>
<description>JFlex is a lexical analyzer generator (also known as scanner generator) for Java(tm), written in Java(tm).
JFlex is designed to work together with the LALR parser generator CUP by Scott Hudson, and the Java modification of Berkeley Yacc BYacc/J by Bob Jamison. It can also be used together with other parser generators like ANTLR or as a standalone tool. </description>
<url>http://jflex.de/</url>
<inceptionYear>1998</inceptionYear>
<licenses>
<license>
<name>GNU General Public License</name>
<url>http://jflex.de/copying.html#GPL</url>
<distribution>repo</distribution>
<comments>The code generated by JFlex inherits the copyright of the specification it was produced from. If it was your specification, you may use the generated code without restriction. </comments>
</license>
</licenses>
<scm>
<connection>scm:svn:http://jflex.svn.sourceforge.net/svnroot/jflex</connection>
<developerConnection>scm:svn:https://jflex.svn.sourceforge.net/svnroot/jflex</developerConnection>
<url>http://jflex.svn.sourceforge.net/viewvc/jflex/</url>
</scm>
<developers>
<developer>
<id>gerwin</id>
<name>Gerwin Klein</name>
<email>lsf at jflex.de</email>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
</developer>
</developers>
<issueManagement>
<system>SF tracker</system>
<url>http://sourceforge.net/tracker/?group_id=14929</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>jflex-announce</name>
<subscribe>http://lists.sourceforge.net/lists/listinfo/jflex-announce</subscribe>
<unsubscribe>http://lists.sourceforge.net/lists/listinfo/jflex-announce</unsubscribe>
<archive>http://sourceforge.net/mailarchive/forum.php?forum=jflex-announce</archive>
</mailingList>
<mailingList>
<name>jflex-users</name>
<subscribe>http://lists.sourceforge.net/lists/listinfo/jflex-users</subscribe>
<unsubscribe>http://lists.sourceforge.net/lists/listinfo/jflex-users</unsubscribe>
<archive>http://sourceforge.net/mailarchive/forum.php?forum=jflex-users</archive>
</mailingList>
</mailingLists>
</project>
Index: jflex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/jflex/devel/jflex.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- jflex.spec 8 Jan 2010 12:04:03 -0000 1.8
+++ jflex.spec 8 Jan 2010 14:56:53 -0000 1.9
@@ -33,12 +33,13 @@
Summary: Fast Scanner Generator
Name: jflex
Version: 1.4.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 0
License: GPLv2
URL: http://jflex.de/
Group: Development/Libraries
Source0: http://jflex.de/%{name}-%{version}.tar.gz
+Source1: http://repo2.maven.org/maven2/de/jflex/jflex/1.4.3/jflex-1.4.3.pom
Patch0: jflex-build_xml.patch
BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: ant
@@ -98,6 +99,13 @@ cp -p lib/JFlex.jar \
$RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; \
do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+
+%add_to_maven_depmap de.jflex jflex %{version} JPP jflex
+
+# poms
+install -d -m 755 %{buildroot}%{_datadir}/maven2/poms
+install -pm 644 %{SOURCE1} \
+ %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
# javadoc
mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
@@ -112,19 +120,29 @@ cp -p COPYRIGHT $RPM_BUILD_ROOT%{_docdir
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_maven_depmap
+
+%postun
+%update_maven_depmap
+
%files
%defattr(0644,root,root,0755)
%doc %{_docdir}/%{name}-%{version}
%{_javadir}/*.jar
+%{_datadir}/maven2/poms/*
+%{_mavendepmapfragdir}/*
%files javadoc
%defattr(0644,root,root,0755)
%doc %{_javadocdir}/%{name}-%{version}
%doc %{_javadocdir}/%{name}
-# -----------------------------------------------------------------------------
%changelog
+* Fri Jan 8 2010 Alexander Kurtakov <akurtako at redhat.com> 0:1.4.3-2
+- Add maven pom and depmaps.
+
* Fri Jan 8 2010 Alexander Kurtakov <akurtako at redhat.com> 0:1.4.3-1
- Update to 1.4.3.
More information about the fedora-extras-commits
mailing list