aspell-da/aspell-da.spec

58 lines
1.6 KiB
RPMSpec
Raw Normal View History

%define aspell_majver 0.60
Name: aspell-da
Version: 1.7.42
Release: 1mamba
Summary: Danish dictionary for aspell
Group: System/Internationalization
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://aspell.net
Source: https://da.speling.org/filer/aspell-da-%{version}.tar.gz
License: GPL
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: aspell >= 0.60.0
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A Danish dictionary for use with aspell, a spelling checker.
%prep
%setup -q
sed -i "/chown /d" Makefile
sed -i "/chmod /d" Makefile
sed -i "s|s \$(datadir)/|s |" Makefile
sed -i "s|s \$(dictdir)/|s |" Makefile
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_libdir}/aspell-%{aspell_majver}
%makeinstall \
datadir=%{buildroot}%{_libdir}/aspell-%{aspell_majver}/ \
dictdir=%{buildroot}%{_libdir}/aspell-%{aspell_majver}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/aspell-%{aspell_majver}/*
%changelog
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.42-1mamba
- update to 1.7.42
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 0.50.1-3mamba
- automatic rebuild by autodist
* Wed Jun 18 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.50.1-2mamba
- update Vendor, Distribution and Packager
* Wed Dec 07 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.50.1-1qilnx
- first build of aspell-da