base-specs/glade-java.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 17864 337913e88a9d
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
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 glade-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: 10647
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: 10647
diff changeset
    12
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%define maj_min_ver 2.12
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:                    glade-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 Glade 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/libglade-java/%{maj_min_ver}/libglade-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
10647
f6b2ba0e2fff Correct or add patch metadata.
dcarbery
parents: 9397
diff changeset
    41
# date:2006-11-03 owner:migi type:bug bugzilla:370042
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
Patch1:       glade-java-01-runExample.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
Requires: glib2 >= 2.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
BuildRequires: glib2 >= 2.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
Requires: glib2-java >= 0.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Requires: cairo-java >= 1.0.6
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Requires: gkt2-java >= 2.10.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
Requires: glade >= 2.12
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
BuildRequires: glib2-java-devel >= 0.4.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
BuildRequires: cairo-java-devel >= 1.0.6
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
BuildRequires: gkt2-java-devel >= 2.10.0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
%package devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
Summary:                 %{summary} - development files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
Requires:                %name
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
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
libglade-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
    61
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
    62
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
    63
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%setup -q -n libglade-java-%{version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
%patch1 -p1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
aclocal $ACLOCAL_FLAGS -I .
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
automake -a -c -f
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
autoconf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
./configure --prefix=%{_prefix}                 \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
            --libexecdir=%{_libexecdir}         \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
            --sysconfdir=%{_sysconfdir}         \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
   	    --with-docbasedir=%{docbasedir}	\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
   	    --with-jardir=%{jardir}		\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
	    --with-srcjar			\
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
	    --with-srcjardir=%{srcjardir}       \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
            --without-gcj-compile               
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
make
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
rm $RPM_BUILD_ROOT%{_libdir}/libgladejni.la
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    86
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    87
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    88
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    89
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    90
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    91
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    92
%{_libdir}/libgladejni-%{maj_min_ver}.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    93
%{_libdir}/libgladejni.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    94
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    95
%dir %attr (0755, root, other) %{jardir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    96
%{jardir}/glade%{maj_min_ver}-%{version}.jar
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    97
%{jardir}/glade%{maj_min_ver}.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
%files devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   100
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   101
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
%{_libdir}/pkgconfig/glade-java.pc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
%dir %attr (0755, root, other) %{srcjardir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%{srcjardir}/glade%{maj_min_ver}-src.jar
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
%dir %attr(0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
%dir %attr (0755, root, other) %{docbasedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
%{docbasedir}/libglade-java-%{version}/AUTHORS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
%{docbasedir}/libglade-java-%{version}/COPYING
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
%{docbasedir}/libglade-java-%{version}/NEWS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   113
%{docbasedir}/libglade-java-%{version}/README
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   114
%{docbasedir}/libglade-java-%{version}/examples/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   115
%{docbasedir}/libglade-java-%{version}/api/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
%changelog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
* Mon Jan 08 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
- Bump to 2.12.8.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   120
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   121
* Fri Nov  3 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   122
- Added local patch for runExample.sh.in also submitted upstream
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   123
  Bugzilla #370042 java-gnome: Problem with generated runExample.sh for
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   124
  libglade-java
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   125
- glade-java-01-runExample.diff: Fix for runExample.sh.in so jar paths and
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   126
  libdir are correctly set
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   127
     
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   128
* Wed Oct 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   129
- Bumped libglade-java tarball to 2.12.7 for the Java-Gnome 2.16 release
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   130
- All patches merged upstream, so removed following local patches
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   131
- Solaris/patches/glade-java-01-config.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   132
- Solaris/patches/glade-java-02-installpaths.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   133
- Solaris/patches/glade-java-03-doc.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   134
- patches/glade-java-04-srcjar.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
- patches/glade-java-05-docbasedir.diff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
* Thur Oct 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
- 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
   139
- Add patch to allow api doc to be created
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
- glade-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
   141
  api doc list
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
- Enabled creation of srcjar with configure switch
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
- glade-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
   144
- 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
   145
- glade-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
   146
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
* Mon Oct 2 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
- 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
   149
  a configure option for all OS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
* Thur Sep 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
- Initial spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152