nfoview/nfoview.spec

84 lines
2.4 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: nfoview
Version: 1.99
Release: 1mamba
Summary: Viewer for NFO files
Group: Applications/Text
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://otsaloma.io/nfoview/
Source: https://github.com/otsaloma/nfoview.git/%{version}/nfoview-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
Requires: python3 >= %python3_version
BuildArch: noarch
%description
Viewer for NFO files.
%prep
%setup -q
%build
%make PREFIX=%{_prefix}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall PREFIX=%{_prefix}
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/nfoview
%{_datadir}/applications/io.otsaloma.nfoview.desktop
%{_datadir}/metainfo/io.otsaloma.nfoview.appdata.xml
%{_datadir}/icons/hicolor/scalable/apps/io.otsaloma.nfoview.svg
%{_datadir}/icons/hicolor/symbolic/apps/io.otsaloma.nfoview-symbolic.svg
%dir %{_datadir}/nfoview
%{_datadir}/nfoview/*
%dir %{python3_sitelib}/nfoview-%{version}-py*.egg-info
%{python3_sitelib}/nfoview-%{version}-py*.egg-info/*
%dir %{python3_sitelib}/nfoview
%{python3_sitelib}/nfoview/*
%{_mandir}/man1/nfoview.1*
%doc COPYING
%changelog
* Wed Aug 23 2023 Automatic Build System <autodist@mambasoft.it> 1.99-1mamba
- automatic version update by autodist
* Thu Dec 29 2022 Automatic Build System <autodist@mambasoft.it> 1.29-1mamba
- automatic version update by autodist
* Sun Oct 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.28.1-1mamba
- update to 1.28.1
* Sun Oct 25 2020 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24-1mamba
- update to 1.24
* Wed Oct 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.1-1mamba
- update to 1.13.1
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 1.9.5-1mamba
- automatic update by autodist
* Mon Apr 04 2011 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
- automatic update by autodist
* Tue Jan 25 2011 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
- update to 1.9.2
* Tue Apr 27 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.9-1mamba
- package created by autospec