Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
repoview
> repoview.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File repoview.spec of Package repoview (Revision 3)
Currently displaying revision
3
,
show latest
# # spec file for package repoview (Version 0.5.2) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: repoview BuildRequires: python-devel Version: 0.5.2 Release: 37 Summary: Creates a set of static HTML pages in a yum repository for easy browsing Group: System/Packages License: GNU General Public License (GPL) URL: http://linux.duke.edu/projects/mini/repoview/ Source: %{name}-%{version}.tar.bz2 Source1: SimpleXMLWriter.py Patch: %{name}-0.5.1.patch Patch1: %{name}-0.5.1-line-breaks.patch Patch2: %{name}-0.5.2-index-summary.patch Patch3: %{name}-0.5.2-yum-2.9.patch Patch4: %{name}-0.5.2-size_package.patch Patch5: %{name}-SimpleXMLWriter.patch Patch6: %{name}-0.5.2-serialize.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: python-kid Requires: yum Requires: python Requires: python-xml %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?py_sitedir: %define py_sitedir %{python_sitelib}} %description Creates a set of static HTML pages in a yum repository for easy browsing Authors: -------- Konstantin Ryabitsev <icon@linux.duke.edu> %prep %setup -q %patch %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 %install mkdir -p -m 755 $RPM_BUILD_ROOT/%{_datadir}/%{name} mkdir -p -m 755 $RPM_BUILD_ROOT/%{_bindir} mkdir -p -m 755 $RPM_BUILD_ROOT/%{_mandir}/man8 mkdir -p -m 755 $RPM_BUILD_ROOT/%{py_sitedir} install -m 755 repoview.py $RPM_BUILD_ROOT/%{_bindir}/repoview install -m 644 repoview.8 $RPM_BUILD_ROOT/%{_mandir}/man8/ cp -rp templates $RPM_BUILD_ROOT/%{_datadir}/%{name}/ install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{py_sitedir}/SimpleXMLWriter.py %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README COPYING ChangeLog %{_mandir}/*/* %{_bindir}/* %{_datadir}/%{name} %{py_sitedir}/SimpleXMLWriter.py %changelog * Mon Jun 9 2008 - martin.mohring@5etech.eu - adaption for mutitarget specfile to use with OBS * Fri Feb 23 2007 - cthiel@suse.de - pass fragment argument to serialize() in order to avoid XML declaration in wrong places (fixes #217917) * Mon Jan 15 2007 - cthiel@suse.de - removed BuildArch: noarch * Mon Jan 08 2007 - cthiel@suse.de - include SimpleXMLWriter.py, to drop python-elementtree requirement * Mon Nov 20 2006 - cthiel@suse.de - simplify requires / buildrequires (fixes #222569) * Mon Oct 02 2006 - cthiel@suse.de - display the actual package size, instead of the payload size (fixes #207288) * Thu Aug 10 2006 - cthiel@suse.de - added repoview-0.5.2-yum-2.9.patch to make repoview work with yum >= 2.9.0 * Mon Jul 17 2006 - cthiel@suse.de - added repoview-0.5.2-index-summary.patch (fixes #188745) * Mon Jul 17 2006 - cthiel@suse.de - update to version 0.5.2 * Webify more strings * Use os.* functions for some shutil calls for older python * Don't ignore --quiet * Misc small fixes * Wed Jun 07 2006 - cthiel@suse.de - preserve line breaks in package summary of rss feeds as well * Tue Jun 06 2006 - cthiel@suse.de - preserve line breaks in package summary (#181615) * Wed May 31 2006 - cthiel@suse.de - added Requires: python-xml * Thu May 25 2006 - cthiel@suse.de - update to version 0.5.1 * Hack around the comps.xml API changes in yum-2.5.x - changes in version 0.5: * Switch to optparse. This may break older Pythons, not sure. * Dropped "-t toplevel" switch, since it complicated the code a lot and not used by anyone, to my knowledge. * Moved "-l title" to "-t title" with a deprecation note in place. * Added RSS generation routines. Template for the entries is in kid.rss. Feed published into repodata/latest-feed.xml. To enable rss feed generation, pass a "-u URL" flag (repoview has no other way of knowing where your data will be published). * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Wed Oct 26 2005 - cthiel@suse.de - update to version 0.4.1 * Thu Sep 29 2005 - dmueller@suse.de - add norootforbuild * Sat Sep 24 2005 - cthiel@suse.de - update to version 0.4 * Wed Sep 14 2005 - cthiel@suse.de - specfile cleanup - BuildArch: noarch * Tue Aug 16 2005 - cthiel@suse.de - initial package (version 0.3)