base-specs/cairo-java.spec
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:11:50 +0100
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 17864 337913e88a9d
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package cairo-java.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# Copyright (c) 2004 Sun Microsystems, Inc.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16426
diff changeset
     8
%define owner jmr
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16426
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 9397
diff changeset
    10
17852
edfc096bfd70 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    11
%define OSR LFI#105446 (gnome Exec. summary):n/a
16426
6e0af232ec80 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 9397
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%define maj_min_ver 1.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%define rev 8
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
%ifos solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
%define docbasedir %{_datadir}/lib/java/javadoc/java-gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
%define macrobasedir %{_datadir}/lib/java/javadoc/java-gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
%define jardir %{_datadir}/lib/java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
%define srcjardir %{_datadir}/lib/java/src/java-gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
%define docbasedir %{_datadir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
%define macrobasedir %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
%define jardir %{_datadir}/java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
%define srcjardir %{_datadir}/java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Name:                    cairo-java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
License:		 LGPL	
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
Group:			 System/Library
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Version:                 %{maj_min_ver}.%{rev}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Release:		 1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Distribution:		 Java Desktop System
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    34
Vendor:			 Gnome Community
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
Summary:                 Part of Java-Gnome - Java to Cairo core bindings
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
Source:                  http://ftp.gnome.org/pub/gnome/sources/cairo-java/%{maj_min_ver}/cairo-java-%{version}.tar.bz2
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
URL:                     http://java-gnome.sourceforge.net
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
BuildRoot:		 %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
Docdir:			 %{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
Autoreqprov:		 on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
Requires: glib2-java >= 0.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: cairo >= 1.2.4
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
BuildRequires: glib2-java-devel >= 0.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Requires:                %name
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
cairo-java base package required by Java-Gnome, Java bindings to core Gnome libs.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
Java-Gnome is a set of Java bindings for the GNOME and GTK+ libraries that allow GNOME and GTK+ applications to be written in Java. 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
This release series, collectively called java-gnome, consists of glib-java, cairo-java, libgtk-java, libglade-java, libgnome-java, and libgconf-java.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%setup -q -n cairo-java-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
aclocal $ACLOCAL_FLAGS -I .
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
./configure --prefix=%{_prefix}                 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
            --libexecdir=%{_libexecdir}         \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
            --sysconfdir=%{_sysconfdir}         \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
   	    --with-docbasedir=%{docbasedir}	\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
   	    --with-jardir=%{jardir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
	    --with-srcjar			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
	    --with-srcjardir=%{srcjardir}       \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
            --without-gcj-compile               
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
make
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
rm $RPM_BUILD_ROOT%{_libexecdir}/libcairojni.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
%{_libdir}/libcairojni-%{maj_min_ver}.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
%{_libdir}/libcairojni.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
%dir %attr (0755, root, other) %{jardir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
%{jardir}/cairo%{maj_min_ver}-%{version}.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%{jardir}/cairo%{maj_min_ver}.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%{_libdir}/pkgconfig/cairo-java.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%dir %attr (0755, root, other) %{srcjardir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%{srcjardir}/cairo%{maj_min_ver}-src.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    99
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%dir %attr (0755, root, other) %{docbasedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%{docbasedir}/cairo-java-%{version}/AUTHORS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%{docbasedir}/cairo-java-%{version}/COPYING
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%{docbasedir}/cairo-java-%{version}/NEWS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%{docbasedir}/cairo-java-%{version}/README
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%{docbasedir}/cairo-java-%{version}/INSTALL
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%{docbasedir}/cairo-java-%{version}/api/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
%changelog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
* Mon Jan 08 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
- Bump to 1.0.8.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
* Wed Oct 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
- Bumped cairo-java tarball to 1.0.6 for the Java-Gnome 2.16 release
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
- All patches merged upstream, so removed following local patches
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
- patches/cairo-java-01-uninstalled.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
- Solaris/patches/cairo-java-02-installpaths.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
- Solaris/patches/cairo-java-03-doc.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
- patches/cairo-java-04-srcjar.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
- patches/cairo-java-05-docbasedir.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
* Thur Oct 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
- Modify installpaths patch to allow jardir to be specified in configure
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
- Add patch to allow api doc to be created
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
- cairo-java-03-doc.diff: work around unsupported "find -mindep" in generating
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
  api doc list
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- Enabled creation of srcjar with configure switch
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
- cairo-java-04-srcjar.diff: added BUILD_SRCJAR target to Makefile.am
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
- Modified srcjardir to conform to PSARC/2006/053
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
- Add patches to allow doc base dir to be specified in configure
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- cairo-java-05-docbasedir.diff: patch to use docbasedir in Makefile.am
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
* Mon Oct 2 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- Added patch for install dirs for jar location on Solaris, better to have as 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
  a configure option for all OS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
* Thur Sep 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
- Initial spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137