|
|
a4fe917 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
a4fe917 |
|
|
|
a4fe917 |
Name: archmage
|
|
|
37ed0e5 |
Version: 0.2.4
|
|
|
1e58958 |
Release: 3%{?dist}
|
|
|
a4fe917 |
Summary: Extensible reader/decompiler of files in CHM format
|
|
|
a4fe917 |
|
|
|
a4fe917 |
Group: Development/Tools
|
|
|
b9d7242 |
# No version is specified in code license attribution.
|
|
|
b9d7242 |
License: GPL+
|
|
|
a4fe917 |
URL: http://archmage.sourceforge.net/
|
|
|
4358d0b |
Source0: http://downloads.sourceforge.net/archmage/archmage-%{version}.tar.gz
|
|
|
a4fe917 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
a4fe917 |
|
|
|
a4fe917 |
BuildArch: noarch
|
|
|
a4fe917 |
Requires: python-chm
|
|
|
4358d0b |
# for conversion to text
|
|
|
4358d0b |
Requires: elinks
|
|
|
71e316f |
BuildRequires: python-devel
|
|
|
a4fe917 |
|
|
|
a4fe917 |
%description
|
|
|
a4fe917 |
arCHMage - extensible reader/decompiler of files in CHM format
|
|
|
a4fe917 |
(Microsoft HTML help, also known as Compiled HTML).
|
|
|
a4fe917 |
arCHMage is based on chmlib by Jed Wing and is written on python.
|
|
|
a4fe917 |
|
|
|
a4fe917 |
|
|
|
a4fe917 |
%prep
|
|
|
a4fe917 |
%setup -q
|
|
|
a4fe917 |
|
|
|
a4fe917 |
|
|
|
a4fe917 |
%build
|
|
|
4358d0b |
%{__python} setup.py build
|
|
|
a4fe917 |
|
|
|
a4fe917 |
|
|
|
a4fe917 |
%install
|
|
|
a4fe917 |
rm -rf $RPM_BUILD_ROOT
|
|
|
a4fe917 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
a4fe917 |
|
|
|
a4fe917 |
|
|
|
a4fe917 |
%clean
|
|
|
a4fe917 |
rm -rf $RPM_BUILD_ROOT
|
|
|
a4fe917 |
|
|
|
a4fe917 |
|
|
|
a4fe917 |
%files
|
|
|
a4fe917 |
%defattr(-,root,root,-)
|
|
|
4358d0b |
%doc AUTHORS COPYING NEWS README
|
|
|
a4fe917 |
%dir %{_sysconfdir}/archmage/
|
|
|
a4fe917 |
%config(noreplace) %{_sysconfdir}/archmage/arch.conf
|
|
|
a4fe917 |
%{_bindir}/archmage
|
|
|
9b0dcc1 |
%{python_sitelib}/archmod/
|
|
|
aac5ab4 |
%{python_sitelib}/archmage-*egg-info
|
|
|
a4fe917 |
%{_datadir}/archmage/
|
|
|
a4fe917 |
%{_mandir}/man*/archmage*
|
|
|
a4fe917 |
|
|
|
a4fe917 |
%changelog
|
|
|
1e58958 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-3
|
|
|
1e58958 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
1e58958 |
|
|
|
1b244db |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.4-2
|
|
|
1b244db |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
1b244db |
|
|
|
37ed0e5 |
* Thu Oct 22 2009 Rangeen Basu Roy Chowdhury <sherry151 AT fedoraproject DOT org> - 0.2.4-1
|
|
|
37ed0e5 |
- Update to 0.2.4
|
|
|
62ef6aa |
|
|
|
cbae824 |
* Thu Jun 11 2009 Rangeen Basu Roy Chowdhury <sherry151 AT fedoraproject DOT org> - 0.2.3-1
|
|
|
cbae824 |
- Update to 0.2.3
|
|
|
cbae824 |
|
|
|
2cb402d |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-5
|
|
|
2cb402d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
2cb402d |
|
|
|
7c0fe4b |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1.9-4
|
|
|
7c0fe4b |
- Rebuild for Python 2.6
|
|
|
7c0fe4b |
|
|
|
b9d7242 |
* Mon Jul 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.1.9-3
|
|
|
b9d7242 |
- fix license tag
|
|
|
b9d7242 |
|
|
|
aac5ab4 |
* Thu Jan 3 2008 Patrice Dumas <pertusus@free.fr> 0.1.9-2
|
|
|
aac5ab4 |
- ship egg
|
|
|
aac5ab4 |
|
|
|
4358d0b |
* Fri Aug 3 2007 Patrice Dumas <pertusus@free.fr> 0.1.9-1
|
|
|
4358d0b |
- update to 0.1.9
|
|
|
4358d0b |
|
|
|
9e0bce3 |
* Thu Jan 18 2007 Patrice Dumas <pertusus@free.fr> 0.0.8-1
|
|
|
9e0bce3 |
- update to 0.0.8
|
|
|
9e0bce3 |
|
|
|
71e316f |
* Tue Dec 12 2006 Patrice Dumas <pertusus@free.fr> 0.0.7-4
|
|
|
71e316f |
- add BuildRequires python-devel
|
|
|
71e316f |
|
|
|
39f38e2 |
* Sat Dec 9 2006 Patrice Dumas <pertusus@free.fr> 0.0.7-3
|
|
|
39f38e2 |
- rebuild for python 2.5
|
|
|
39f38e2 |
|
|
|
9b0dcc1 |
* Tue Sep 12 2006 Patrice Dumas <pertusus@free.fr> 0.0.7-2
|
|
|
9b0dcc1 |
- .pyo files added. Bug #205369
|
|
|
9b0dcc1 |
- BuildRequires: python and not python-devel since it is noarch
|
|
|
9b0dcc1 |
|
|
|
a4fe917 |
* Mon Mar 20 2006 Patrice Dumas <pertusus@free.fr> 0.0.7-1
|
|
|
a4fe917 |
- initial release
|