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