aboutsummaryrefslogtreecommitdiffstats
path: root/guix/guile-bzip2/guile-bzip2.spec
blob: 95bf45fd5bf5da63626fe121f9c5c208c1727c84 (plain) (blame)
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
%global debug_package %{nil}

Name:           guile-bzip2
Version:        0.1.0
Release:        1%{?dist}
Summary:        Guile bindings for libbzip2

License:        GPLv3+
URL:            https://ngyro.com/software/guile-bzip2.html
Source0:        https://files.ngyro.com/%{name}/%{name}-%{version}.tar.gz

%global guile_source_dir %{_datadir}/guile/site/3.0
%global guile_ccache_dir %{_libdir}/guile/3.0/site-ccache

BuildRequires:  gcc
BuildRequires:  make
BuildRequires:  pkgconfig(guile-3.0), pkgconfig(bzip2), guile-bytestructures
Requires:       guile30, guile-bytestructures, bzip2-devel

%description
Guile-bzip2 is a Guile wrapper for the libbzip2 (bzip2) library. It exposes an
interface similar to other Guile compression libraries, like Guile-zlib.


%prep
%autosetup -p1


%build
%configure
%make_build


%check
%{__make} %{?_smp_mflags} check


%install
%make_install


%files
%license COPYING COPYING.CC0
%doc AUTHORS ChangeLog NEWS README
%{guile_source_dir}/bzip2.scm
%{guile_ccache_dir}/bzip2.go
%dir %{guile_source_dir}/bzip2
%dir %{guile_ccache_dir}/bzip2
%{guile_source_dir}/bzip2/config.scm
%{guile_ccache_dir}/bzip2/config.go
%{guile_source_dir}/bzip2/stream.scm
%{guile_ccache_dir}/bzip2/stream.go


%changelog
* Sat Nov 02 2024 Ting-Wei Lan <lantw44@gmail.com> - 0.1.0-1
- Initial packaging