File: jclassinfo.spec

package info (click to toggle)
jclassinfo 0.19.1-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,140 kB
  • sloc: sh: 8,551; ansic: 6,672; makefile: 203; xml: 93
file content (90 lines) | stat: -rw-r--r-- 2,232 bytes parent folder | download | duplicates (6)
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
%define name jclassinfo
%define version 0.19.1
%define release 1
%define lib_name jclass
%define libname_orig lib%{lib_name}
%define libname %{libname_orig}3
%define lib_version 0.5

Name: %{name}
Summary: Library to extact information from java class files
Version: %{version}
Release: %{release}
License: GPL
Group: 	Development/Java
Vendor: anarxia.dyndns.org
Url: http://jclassinfo.sourceforge.net
Source: %{name}-%{version}.tar.gz
Packager: Nicos Panayides <anarxia@gmx.net>
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-buildroot

%description
jclassinfo reads java class files(.class) and extracts
information about its methods, fields and attributes.
Also it detects all requirements on other packages, 
classes and interfaces. 

%package -n %{libname}
Summary: Library for reading java class files
Group: Development/C
Version: %{lib_version}

%description -n %{libname}
Library which provides a high level interface for reading java class
files. It is still in its early stages of development.

%package -n %{libname}-devel
Summary: Development files for libjclass
Group: Development/C
Version: %{lib_version}
Requires: %{libname} = %{lib_version}
Provides: %{libname_orig}-devel = %{lib_version}-%{release}
Provides: %{lib_name}-devel = %{lib_version}-%{release}

%description -n %{libname}-devel
This package provides headers and other files that programmers
need to develop applications which use libjclass.

%post -n %{libname} -p /sbin/ldconfig
%postrun -n %{libname} -p /sbin/ldconfig

%prep
rm -rf %{buildroot}
%setup -q

%build
%configure --disable-gtk-doc
make

%install
%makeinstall

%clean
rm -rf %{buildroot}

%files -n %{name}
%defattr(-,root,root,0755)
%{_bindir}/jclassinfo
%{_mandir}/man1/jclassinfo.*
%doc AUTHORS COPYING NEWS README TODO ChangeLog

%files -n %{libname}
%defattr(-,root,root,0755)
%{_libdir}/*.so.*
 
%files -n %{libname}-devel
%defattr(-,root,root,0755)
%{_includedir}/%{lib_name}/%{lib_name}/*.h
%{_libdir}/%{lib_name}/include/*.h
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc

%changelog
* Mon May 12 2003 Nicos Panayides <anarxia@gmx.net>
- Create packages for the library.

* Tue Feb 25 2003 Nicos Panayides <anarxia@gmx.net>
- Initial Release.