From 1d08217f097b3b3ba8f347dde813fea77d209eb8 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:37:41 +0100 Subject: [PATCH] automatic update by autodist [release 1.9.5-1mamba;Sun Jun 19 2011] --- README.md | 2 ++ nfoview.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 nfoview.spec diff --git a/README.md b/README.md index 7224388..0965d20 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # nfoview +Viewer for NFO files. + diff --git a/nfoview.spec b/nfoview.spec new file mode 100644 index 0000000..6cbde26 --- /dev/null +++ b/nfoview.spec @@ -0,0 +1,59 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: nfoview +Version: 1.9.5 +Release: 1mamba +Summary: Viewer for NFO files +Group: Applications/Text +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://home.gna.org/nfoview/ +Source: http://download.gna.org/nfoview/%{majver}/nfoview-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +BuildRequires: python +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch + +%description +Viewer for NFO files. + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc AUTHORS COPYING NEWS ChangeLog README TODO + +%changelog +* Sun Jun 19 2011 Automatic Build System 1.9.5-1mamba +- automatic update by autodist + +* Mon Apr 04 2011 Automatic Build System 1.9.3-1mamba +- automatic update by autodist + +* Tue Jan 25 2011 Automatic Build System 1.9.2-1mamba +- update to 1.9.2 + +* Tue Apr 27 2010 Stefano Cotta Ramusino 1.9-1mamba +- package created by autospec