Blame mustache-d.spec

b20be7b
# This library only produces a static library, so there's no generated debuginfo
b20be7b
%global debug_package %{nil}
b20be7b
b20be7b
Name:           mustache-d
b20be7b
Version:        0.1.3
b2435c8
Release:        9%{?dist}
b20be7b
Summary:        Mustache template engine for D
b20be7b
b20be7b
License:        Boost
b20be7b
URL:            https://github.com/repeatedly/%{name}
b20be7b
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
b20be7b
b20be7b
# Add license file referenced in the source code
b20be7b
# See https://github.com/repeatedly/mustache-d/issues/30
b20be7b
Source1:        http://www.boost.org/LICENSE_1_0.txt#/%{name}-LICENSE.txt
b20be7b
5f91d72
BuildRequires:  gcc
b20be7b
BuildRequires:  ldc
b20be7b
BuildRequires:  meson
b20be7b
b20be7b
ExclusiveArch:  %{ldc_arches}
b20be7b
b20be7b
%description
b20be7b
Mustache is a push-strategy (a.k.a logic-less) template engine.
b20be7b
b20be7b
This package provides the implementation for D.
b20be7b
b20be7b
%package devel
b20be7b
Summary:        Development files for using %{name}
b20be7b
Provides:       %{name}-static = %{version}-%{release}
b20be7b
Provides:       %{name}-static%{?_isa} = %{version}-%{release}
b20be7b
b20be7b
%description devel
b20be7b
Mustache is a push-strategy (a.k.a logic-less) template engine.
b20be7b
b20be7b
This package provides the development headers and static library
b20be7b
for integrating support for the Mustache template engine into
b20be7b
applications written in D.
b20be7b
b20be7b
%prep
b20be7b
%autosetup
b20be7b
b20be7b
# Fix version in meson.build
b20be7b
sed -i "s/project_version      = '.*'/project_version      = '%{version}'/" meson.build
b20be7b
b20be7b
# Rename license file
b20be7b
cp -a %{S:1} LICENSE
b20be7b
b20be7b
%build
b20be7b
export DFLAGS="%{_d_optflags}"
b20be7b
%meson
b20be7b
%meson_build
b20be7b
b20be7b
%install
b20be7b
%meson_install
b20be7b
b20be7b
%files devel
b20be7b
%doc README.markdown example/
b20be7b
%license LICENSE
b20be7b
%{_libdir}/*.a
b20be7b
%{_libdir}/pkgconfig/*.pc
b20be7b
%{_d_includedir}/%{name}/
b20be7b
b20be7b
b20be7b
%changelog
b2435c8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-9
b2435c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b2435c8
b3b15b4
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-8
b3b15b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b3b15b4
5f91d72
* Sun Jul 22 2018 Neal Gompa <ngompa13@gmail.com> - 0.1.3-7
5f91d72
- Add gcc BR to fix build in F29+ (rhbz#1604904)
5f91d72
fe40451
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-6
fe40451
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fe40451
55c02db
* Sun Mar 04 2018 Neal Gompa <ngompa13@gmail.com> - 0.1.3-5
55c02db
- Rebuild against ldc 1.8.0
55c02db
c36aa1f
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-4
c36aa1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c36aa1f
74a5cd8
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-3
74a5cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
74a5cd8
2dbbd0f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-2
2dbbd0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2dbbd0f
b20be7b
* Tue May 30 2017 Neal Gompa <ngompa13@gmail.com> - 0.1.3-1
b20be7b
- Initial packaging (#1433658)