diff --git a/nfoview.spec b/nfoview.spec index 4efeaad..e29e121 100644 --- a/nfoview.spec +++ b/nfoview.spec @@ -1,6 +1,6 @@ %define majver %(echo %version | cut -d. -f1-2) Name: nfoview -Version: 1.28.1 +Version: 1.29 Release: 1mamba Summary: Viewer for NFO files Group: Applications/Text @@ -23,27 +23,38 @@ Viewer for NFO files. %setup -q %build -%{__python3} setup.py build +%make PREFIX=%{_prefix} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python3} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python3_inc} \ - --install-lib=%{python3_sitearch} \ - --record=%{name}.filelist -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%makeinstall PREFIX=%{_prefix} + +%find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}.filelist +%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 +* Thu Dec 29 2022 Automatic Build System 1.29-1mamba +- automatic version update by autodist + * Sun Oct 17 2021 Silvan Calarco 1.28.1-1mamba - update to 1.28.1