aboutsummaryrefslogblamecommitdiffstats
path: root/guix/guile-semver/guile-semver.spec
blob: 3e81e22ac9584937e796b65569c619ae49e4510b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                            
                         





                                                                         

                                                         
 
                    

                                    









































                                                                            


                                                            


                                                            


                                                            


                                                            


                                                            


                                                            


                                                                            


                                                            

                                                            
%global debug_package %{nil}

Name:           guile-semver
Version:        0.1.1
Release:        9%{?dist}
Summary:        Guile library for Semantic Versioning

License:        GPLv3+
URL:            https://ngyro.com/software/guile-semver.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:  make
BuildRequires:  pkgconfig(guile-3.0)
Requires:       guile30

%description
guile-semver is a Guile library that handles Semantic Versions and NPM-style
ranges. It supports:

- reading and writing Semantic Versions;
- comparing Semantic Versions;
- reading Semantic Version ranges; and
- testing membership of Semantic Versions in ranges.


%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 THANKS
%{guile_source_dir}/semver.scm
%{guile_ccache_dir}/semver.go
%dir %{guile_source_dir}/semver
%dir %{guile_ccache_dir}/semver
%{guile_source_dir}/semver/partial.scm
%{guile_ccache_dir}/semver/partial.go
%{guile_source_dir}/semver/ranges.scm
%{guile_ccache_dir}/semver/ranges.go


%changelog
* Sun Nov 03 2024 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-9
- Rebuilt for Fedora 39, 40, 41, 42

* Sat Oct 05 2024 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-8
- Drop the brp-strip workaround

* Wed Apr 19 2023 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-7
- Rebuilt for Fedora 38 and 39

* Sun Feb 12 2023 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-6
- Switch to Guile 3.0

* Sat Oct 29 2022 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-5
- Rebuilt for Fedora 37 and 38

* Thu Apr 28 2022 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-4
- Rebuilt for Fedora 36 and 37

* Sat Sep 25 2021 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-3
- Disable brp-strip on Fedora 35 and later because it fails on Guile objects

* Sat Mar 13 2021 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-2
- Rebuilt for Fedora 34 and 35

* Mon Feb 15 2021 Ting-Wei Lan <lantw44@gmail.com> - 0.1.1-1
- Initial packaging