Codebase list jmagick / 8d82b22
Install the Maven artifacts in /usr/share/maven-repo Emmanuel Bourg 10 years ago
4 changed file(s) with 118 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
1616 - Generate Java 6 compatible bytecode
1717 - Include the debug information in the compiled classes
1818 - Enabled hardening for libJMagick.so
19 - Install the Maven artifacts in /usr/share/maven-repo
20 - Added the get-orig-pom target to download the pom from Maven central
1921 * Renamed debian/README.Debian-source to README.source
2022 * Moved the examples to the documentation package
2123 * Registered the documentation with doc-base
33 Section: graphics
44 Priority: optional
55 Standards-Version: 3.9.4
6 Build-Depends: debhelper (>= 9), cdbs, default-jdk, libmagickcore-dev, autotools-dev, chrpath, hardening-wrapper
6 Build-Depends: autotools-dev,
7 cdbs,
8 chrpath,
9 debhelper (>= 9),
10 default-jdk,
11 hardening-wrapper,
12 libmagickcore-dev,
13 maven-repo-helper
714 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/jmagick
815 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/jmagick
916 Homepage: http://sourceforge.net/projects/jmagick/
0 <?xml version="1.0"?>
1 <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/xsd/maven-4.0.0.xsd">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>jmagick</groupId>
4 <artifactId>jmagick</artifactId>
5 <packaging>jar</packaging>
6 <version>6.6.9</version>
7 <name>jMagick</name>
8 <description>Java JNI wrapper around ImageMagick.</description>
9 <inceptionYear>2008</inceptionYear>
10 <url>http://www.jmagick.org/index.html</url>
11 <licenses>
12 <license>
13 <name>GNU LESSER GENERAL PUBLIC LICENSE</name>
14 <url>https://www.gnu.org/copyleft/lesser.html</url>
15 <distribution>repo</distribution>
16 </license>
17 </licenses>
18 <scm>
19 <connection>https://jmagick.svn.sourceforge.net/svnroot/jmagick</connection>
20 <url>http://jmagick.svn.sourceforge.net/</url>
21 </scm>
22 <developers>
23 <developer>
24 <id>nordfalk</id>
25 </developer>
26 <developer>
27 <id>ajkerr</id>
28 </developer>
29 <developer>
30 <id>miyamo-rakuten</id>
31 </developer>
32 </developers>
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 </properties>
36 <dependencies>
37 </dependencies>
38 <build>
39 <sourceDirectory>${basedir}/src</sourceDirectory>
40 <plugins>
41 <plugin>
42 <groupId>org.apache.maven.plugins</groupId>
43 <artifactId>maven-compiler-plugin</artifactId>
44 <version>3.0</version>
45 <configuration>
46 <source>1.6</source>
47 <target>1.6</target>
48 </configuration>
49 </plugin>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-source-plugin</artifactId>
53 <version>2.2.1</version>
54 <configuration>
55 <includes>
56 <include>**/*.java</include>
57 </includes>
58 </configuration>
59 <executions>
60 <execution>
61 <id>attach-sources</id>
62 <goals>
63 <goal>jar</goal>
64 </goals>
65 </execution>
66 </executions>
67 </plugin>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-javadoc-plugin</artifactId>
71 <version>2.9</version>
72 <configuration>
73 <quiet>true</quiet>
74 </configuration>
75 <executions>
76 <execution>
77 <id>attach-javadocs</id>
78 <goals>
79 <goal>jar</goal>
80 </goals>
81 </execution>
82 </executions>
83 </plugin>
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-gpg-plugin</artifactId>
87 <version>1.4</version>
88 <executions>
89 <execution>
90 <id>sign-artifacts</id>
91 <phase>verify</phase>
92 <goals>
93 <goal>sign</goal>
94 </goals>
95 </execution>
96 </executions>
97 </plugin>
98 </plugins>
99 </build>
100 </project>
1717 DEB_DH_INSTALL_SOURCEDIR = debian/tmp
1818 DEB_COMPRESS_EXCLUDE = .java
1919 DEB_INSTALL_CHANGELOGS_ALL := Changelog.txt
20 VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^~-]+).*,\1,p')
2021
2122 export JFLAGS = -source 1.6 -target 1.6 -g
2223
2324 install/libjmagick6-java::
24 mkdir -p $(DEB_DESTDIR)/usr/share/java
25 install -m 644 -D ./lib/jmagick.jar $(DEB_DESTDIR)/usr/share/java/jmagick6-$(DEB_UPSTREAM_VERSION).jar
26 dh_install --sourcedir=debian/tmp usr/share/java/jmagick6-$(DEB_UPSTREAM_VERSION).jar
27 dh_link usr/share/java/jmagick6-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jmagick6.jar
25 mh_installpom -plibjmagick6-java -e$(VERSION) debian/pom.xml
26 mh_installjar -plibjmagick6-java -e$(VERSION) --java-lib debian/pom.xml lib/jmagick.jar
2827
2928 install/libjmagick6-jni::
3029 chrpath -d ./lib/libJMagick.so
3837 rm -rf Make.def libtool config.cache config.log config.status obj/magick/.libs
3938 rm -rf autom4te.cache
4039 rm -rf lib/*.jar
40 mh_clean
4141
4242 .PHONY: get-orig-source
4343 get-orig-source:
4444 uscan --upstream-version 0 --force-download --rename
45
46 get-orig-pom:
47 wget http://central.maven.org/maven2/jmagick/jmagick/$(VERSION)/jmagick-$(VERSION).pom -O debian/pom.xml