FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-libgnome/java-libgnome.spec at master · pld-linux/java-libgnome · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
pld-linux
/
java-libgnome
Public
Notifications
You must be signed in to change notification settings
Fork
15
Star
4
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java-libgnome
/
java-libgnome.spec
Copy path
More file actions
More file actions
Latest commit
History
History
History
109 lines (88 loc) · 2.8 KB
Breadcrumbs
java-libgnome
/
java-libgnome.spec
Copy path
File metadata and controls
109 lines (88 loc) · 2.8 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
%define
pname libgnome-java
Summary:
Java interface for libgnome
Summary(pl.UTF-8):
Wrapper Javy dla libgnome
Name:
java-libgnome
Version:
2.12.7
Release:
3
License:
LGPL
Group:
Libraries/Java
Source0:
http://ftp.gnome.org/pub/GNOME/sources/libgnome-java/2.12/%{
pname
}-%{
version
}.tar.bz2
#
Source0-md5: d0ed6451b093c732bbc23484c71bce1a
URL:
http://java-gnome.sourceforge.net/
BuildRequires:
autoconf
BuildRequires:
automake
BuildRequires:
docbook-utils
BuildRequires:
gcc-java
>=
5:3.3.2
BuildRequires:
java-gtk-devel
>=
2.10.2
BuildRequires:
libgcj-devel
>=
5:3.3.2
BuildRequires:
libgnomeui-devel
>=
2.16.1
BuildRequires:
libtool
BuildRequires:
pkgconfig
Obsoletes:
java-gnome
Obsoletes:
libgnome-java
BuildRoot:
%{
tmpdir
}/%{
name
}-%{
version
}-root-%(id -u -n)
%define
macros %{
_datadir
}/glib-java/macros
%description
Java interface for libgnome.
%description
-l pl.UTF-8
Wrapper Javy dla libgnome.
%package
devel
Summary:
Header files for java-libgnome library
Summary(pl.UTF-8):
Pliki nagłówkowe biblioteki java-libgnome
Group:
Development/Libraries
Requires:
%{
name
}
=
%{
version
}-%{
release
}
Requires:
java-gtk-devel
>=
2.10.2
Obsoletes:
libgnome-java-devel
%description
devel
Header files for java-libgnome library.
%description
devel -l pl.UTF-8
Pliki nagłówkowe biblioteki java-libgnome.
%package
doc
Summary:
Tutorial and examples for java-libgnome
Summary(pl.UTF-8):
Tutorial i przykłady dla java-libgnome
Group:
Documentation
%description
doc
Tutorial and examples for java-libgnome.
%description
doc -l pl.UTF-8
Tutorial i przykłady dla java-libgnome.
%prep
%setup
-q -n %{
pname
}-%{
version
}
%build
%{__libtoolize}
%{__aclocal}
-I
`
pkg-config --variable macro_dir gtk2-java
`
-I %{
macros
}
%{__automake}
%{__autoconf}
%configure
\
GCJFLAGS=
"
%{rpmcflags}
"
\
--without-javadocs
%{__make}
%install
rm -rf
$RPM_BUILD_ROOT
install -d
$RPM_BUILD_ROOT
{%{
_javadir
},%{
_libdir
},%{
_pkgconfigdir
}} \
$RPM_BUILD_ROOT
%{
_examplesdir
}/%{
name
}-%{
version
}
%{__make}
install \
DESTDIR
=
$RPM_BUILD_ROOT
mv -f $RPM_BUILD_ROOT%{
_docdir
}/%{
pname
}-%{
version
}/examples \
$RPM_BUILD_ROOT%{
_examplesdir
}/%{
name
}-%{
version
}
rm -f $RPM_BUILD_ROOT%{
_examplesdir
}/%{
name
}-%{
version
}/examples/*.in
rm -f $RPM_BUILD_ROOT%{
_docdir
}/%{
pname
}-%{
version
}/{AUTHORS,COPYING,NEWS,README}
%clean
rm -rf
$RPM_BUILD_ROOT
%post
-p /sbin/ldconfig
%
postun
-p /sbin/ldconfig
%files
%defattr(644,root,root,755)
%doc
AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root)
%{
_libdir
}/lib
*
-2.12.so
%files
devel
%defattr(644,root,root,755)
%attr(755,root,root)
%{
_libdir
}/libgnomejava.so
%attr(755,root,root)
%{
_libdir
}/libgnomejni.so
%attr(755,root,root)
%{
_libdir
}/lib
*
.la
%{
_javadir
}/
*
%{
_pkgconfigdir
}/
*
.pc
%files
doc
%defattr(644,root,root,755)
%
dir
%{
_docdir
}/%{
pname
}-%{
version
}
%doc
%{
_docdir
}/%{
pname
}-%{
version
}/tutorial
%{
_examplesdir
}/%{
name
}-%{
version
}
Back
|
FazBrowse Home
|
New Git URL