forked from gluster/libgfapi-java-io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libgfapi-java-io.spec.in
49 lines (38 loc) · 921 Bytes
/
libgfapi-java-io.spec.in
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
Summary: Java bindings for libgfapi
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1
License: LPGLv3+
Group: System Environment/Base
URL: https://github.com/avati/libgfapi-java-io
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: glusterfs-api
BuildRequires: glusterfs-api-devel
%description
This package provides Java bindings for libgfapi. The Java API
provided is intentionally made as similar to the java.io package
as possible.
%prep
%setup -q
%build
%configure --prefix=/usr
%{__make} all
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%{__rm} -rf %{buildroot}%{_libdir}/*.{a,la}
%clean
%{__rm} -rf %{buildroot}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_libdir}
%{_datadir}/%{name}
%changelog
* Sun Aug 25 2013 Anand Avati <avati@redhat.com> - 0.1
- Initial build.