9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-config-java.spec
|
|
3 |
#
|
|
4 |
# Copyright (c) 2004 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
16434
|
8 |
%define owner jmr
|
9397
|
9 |
#
|
|
10 |
%include Solaris.inc
|
|
11 |
|
16426
|
12 |
%define OSR gnome.org:0
|
|
13 |
|
9397
|
14 |
%define maj_min_ver 2.12
|
16404
|
15 |
%define rev 6
|
9397
|
16 |
%define tarball_version %{maj_min_ver}.%{rev}
|
|
17 |
%define docbasedir %{_datadir}/lib/java/javadoc/java-gnome
|
|
18 |
%define jardir %{_datadir}/lib/java
|
|
19 |
%define srcjardir %{_datadir}/lib/java/src/java-gnome
|
|
20 |
|
|
21 |
Name: SUNWgnome-config-java
|
|
22 |
Summary: Part of Java-Gnome - Java to Gconf core bindings
|
|
23 |
Version: %{default_pkg_version}
|
|
24 |
Source: http://ftp.gnome.org/pub/gnome/sources/libgconf-java/%{maj_min_ver}/libgconf-java-%{tarball_version}.tar.bz2
|
|
25 |
SUNW_BaseDir: %{_basedir}
|
12122
|
26 |
SUNW_Copyright: %{name}.copyright
|
9397
|
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
28 |
URL: http://java-gnome.sourceforge.net
|
|
29 |
|
|
30 |
%include default-depend.inc
|
|
31 |
|
15650
|
32 |
Requires: SUNWglib2
|
9397
|
33 |
Requires: SUNWgnome-base-libs-java
|
|
34 |
Requires: SUNWbash
|
|
35 |
Requires: SUNWgnome-config
|
15650
|
36 |
BuildRequires: SUNWglib2-devel
|
9397
|
37 |
|
|
38 |
BuildRequires: SUNWgnome-base-libs-java-devel
|
|
39 |
BuildRequires: SUNWgnome-config-devel
|
|
40 |
|
|
41 |
%package devel
|
|
42 |
Summary: %{summary} - development files
|
|
43 |
SUNW_BaseDir: %{_basedir}
|
|
44 |
%include default-depend.inc
|
|
45 |
Requires: %name
|
|
46 |
|
|
47 |
%description
|
|
48 |
libgconf-java base package required by Java-Gnome, Java bindings to core Gconf lib.
|
|
49 |
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.
|
|
50 |
This release series, collectively called java-gnome, consists of glib-java, cairo-java, libgtk-java, libglade-java, libgnome-java, and libgconf-java.
|
|
51 |
|
|
52 |
%prep
|
|
53 |
%setup -q -n libgconf-java-%{tarball_version}
|
|
54 |
|
|
55 |
%build
|
|
56 |
export JAVA_HOME=/usr/java
|
|
57 |
export CFLAGS="-I/usr/java/include/solaris"
|
|
58 |
export ACLOCAL_FLAGS="-I /usr/share/lib/java/javadoc/java-gnome/glib-java/macros -I /usr/share/lib/java/javadoc/java-gnome/libgtk-java/macros"
|
|
59 |
aclocal $ACLOCAL_FLAGS -I .
|
|
60 |
automake -a -c -f
|
|
61 |
autoconf
|
|
62 |
|
|
63 |
./configure --prefix=%{_prefix} \
|
|
64 |
--libexecdir=%{_libexecdir} \
|
|
65 |
--sysconfdir=%{_sysconfdir} \
|
|
66 |
--with-docbasedir=%{docbasedir} \
|
|
67 |
--with-jardir=%{jardir} \
|
|
68 |
--with-srcjar \
|
|
69 |
--with-srcjardir=%{srcjardir} \
|
|
70 |
--without-gcj-compile
|
|
71 |
make
|
|
72 |
|
|
73 |
%install
|
|
74 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
75 |
rm $RPM_BUILD_ROOT%{_libdir}/libgconfjni.la
|
|
76 |
rm $RPM_BUILD_ROOT%{docbasedir}/libgconf-java-%{tarball_version}/examples/runExample.sh.in
|
|
77 |
|
|
78 |
%clean
|
|
79 |
rm -rf $RPM_BUILD_ROOT
|
|
80 |
|
|
81 |
%files
|
|
82 |
%defattr (-, root, bin)
|
|
83 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
84 |
%{_libdir}/libgconfjni.so
|
|
85 |
%{_libdir}/libgconfjni-%{maj_min_ver}.so
|
|
86 |
%dir %attr(0755, root, sys) %{_datadir}
|
|
87 |
%dir %attr(0755, root, sys) %{_datadir}/lib
|
|
88 |
%dir %attr (0755, root, sys) %{jardir}
|
|
89 |
%{jardir}/gconf%{maj_min_ver}-%{tarball_version}.jar
|
|
90 |
%{jardir}/gconf%{maj_min_ver}.jar
|
|
91 |
|
|
92 |
%files devel
|
|
93 |
%defattr (-, root, bin)
|
|
94 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
95 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
96 |
%{_libdir}/pkgconfig/gconf-java.pc
|
|
97 |
%defattr (-, root, bin)
|
|
98 |
%dir %attr(0755, root, sys) %{_datadir}
|
|
99 |
%dir %attr(0755, root, sys) %{_datadir}/lib
|
|
100 |
%dir %attr(0755, root, sys) %{_datadir}/lib/java
|
|
101 |
%dir %attr(0755, root, bin) %{_datadir}/lib/java/src
|
|
102 |
%dir %attr (0755, root, sys) %{srcjardir}
|
|
103 |
%{srcjardir}/gconf%{maj_min_ver}-src.jar
|
|
104 |
|
|
105 |
%dir %attr (0755, root, other) %{_datadir}/lib/java/javadoc
|
|
106 |
%dir %attr (0755, root, other) %{docbasedir}
|
|
107 |
%{docbasedir}/libgconf-java-%{tarball_version}/AUTHORS
|
|
108 |
%{docbasedir}/libgconf-java-%{tarball_version}/COPYING
|
|
109 |
%{docbasedir}/libgconf-java-%{tarball_version}/NEWS
|
|
110 |
%{docbasedir}/libgconf-java-%{tarball_version}/README
|
|
111 |
%{docbasedir}/libgconf-java-%{tarball_version}/examples/*
|
|
112 |
%{docbasedir}/libgconf-java-%{tarball_version}/api/*
|
|
113 |
|
|
114 |
%changelog
|
16404
|
115 |
* Thu Aug 27 2009 - [email protected]
|
|
116 |
- Bump to 2.12.6.
|
|
117 |
|
12122
|
118 |
* Thur Apr 15 2008 - [email protected]
|
|
119 |
- Added Copyright file.
|
|
120 |
|
9397
|
121 |
* Tue Oct 31 2006 - [email protected]
|
|
122 |
- Correct dir perms for javadoc dir, to match SUNWdtrc.
|
|
123 |
|
|
124 |
* Wed Oct 25 2006 - [email protected]
|
|
125 |
- Bumped libgconf-java tarball to 2.12.5 for the Java-Gnome 2.16 release
|
|
126 |
- All patches merged upstream, so removed following local patches
|
|
127 |
- Solaris/patches/gnome-config-java-01-config.diff
|
|
128 |
- Solaris/patches/gnome-config-java-02-jni.diff
|
|
129 |
- Solaris/patches/gnome-config-java-03-example.diff
|
|
130 |
- Solaris/patches/gnome-config-java-04-installpaths.diff
|
|
131 |
- Solaris/patches/gnome-config-java-05-doc.diff
|
|
132 |
- Solaris/patches/gnome-config-java-06-srcjar.diff
|
|
133 |
- Solaris/patches/gnome-config-java-07-docbasedir.diff
|
|
134 |
|
|
135 |
* Fri Oct 13 2006 - [email protected]
|
|
136 |
- Correct and sync dir perms with other Java Gnome packages. Change root:other
|
|
137 |
to root:sys.
|
|
138 |
|
|
139 |
* Thu Oct 12 2006 - [email protected]
|
|
140 |
- Modified srcjardir to conform to PSARC/2006/053
|
|
141 |
- Add patches to allow doc base dir to be specified in configure
|
|
142 |
- gnome-config-java-07-docbasedir.diff: change Makefile.am to use docbasedir,
|
|
143 |
instead of hardcoded $(datadir)/doc
|
|
144 |
- Enabled generation of src jar. Added configure option.
|
|
145 |
- gnome-config-java-06-srcjar.diff: added BUILD_SRCJAR target to Makefile.am
|
|
146 |
- Modify patch to so specifying javadir as configure option works
|
|
147 |
- gnome-config-java-04-installpaths.diff: replace hard coded java dir with
|
|
148 |
specifiable javadir.
|
|
149 |
|
|
150 |
* Fri Oct 6 2006 - [email protected]
|
|
151 |
- Set dir perms of %{_datadir}/lib/java/javadoc to match
|
|
152 |
SUNWgnome-base-libs-java.spec.
|
|
153 |
|
|
154 |
* Thur Oct 05 2006 - [email protected]
|
|
155 |
- Add tarball_version as this needs to be different from the default_pkg_version
|
|
156 |
|
|
157 |
* Wed Oct 04 2006 - [email protected]
|
|
158 |
- Correct dir perms.
|
|
159 |
|
|
160 |
* Tue Oct 03 2006 - [email protected]
|
|
161 |
- Added patch to allow api doc to be generated ("find -mindep 1" in
|
|
162 |
Makefile.am is not supported)
|
|
163 |
|
|
164 |
* Mon Oct 02 2006 - [email protected]
|
|
165 |
- Added patch for install dirs for jar location on Solaris, better to have as
|
|
166 |
a configure option for all OS
|
|
167 |
- Added aclocal macro flags
|
|
168 |
|
|
169 |
* Thu Sep 28 2006 - [email protected]
|
|
170 |
- Replaced mkdir with install -d
|
|
171 |
|
|
172 |
* Wed Sep 27 2006 - [email protected]
|
|
173 |
- Corrected SUNWgnome-libs-java version.
|
|
174 |
- Changed requires to use new Java-Gnome package names.
|
|
175 |
- Rename to SUNWgnome-config-java, rename patches and add devel package
|
|
176 |
- Moved location of docs under %{_datadir}/lib/java/javadoc/java-gnome
|
|
177 |
|
|
178 |
* Fri Aug 04 2006 - [email protected]
|
|
179 |
- Bump to 2.12.4.
|
|
180 |
|
|
181 |
* Wed Jun 28 2006 - [email protected]
|
|
182 |
- Update Build/Requires after check-deps.pl run.
|
|
183 |
|
|
184 |
* Fri Jun 23 2006 - [email protected]
|
|
185 |
- Updates from review
|
|
186 |
|
|
187 |
* Thu Jun 22 2006 - [email protected]
|
|
188 |
- Make %files attributes explicit except examples & remove libtool .la archive
|
|
189 |
file
|
|
190 |
- Patch0 fix config file so it's correctly generated
|
|
191 |
- Patch1 fix jni *.c files, incorrectly included header guards in c files
|
|
192 |
causing all fncs to be compiled out.
|
|
193 |
- Patch2 fix runExamples.sh.in to find java and javac correctly
|
|
194 |
|
|
195 |
* Mon Jun 19 2006 - [email protected]
|
|
196 |
- Initial spec
|
15650
|
197 |
|