"Fossies" - the Fresh Open Source Software Archive

Member "rpm2html-1.11.2/rpm2html.spec" (9 Nov 2010, 11108 Bytes) of package /linux/privat/rpm2html-1.11.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Summary: Translates an RPM database and dependency information into HTML
    2 Name: rpm2html 
    3 %define version 1.11.2
    4 Version: %{version}
    5 Release: 1%{?dist}
    6 Group: Applications/System
    7 Source0: http://savannah.nongnu.org/download/rpm2html/rpm2html-%{version}.tar.gz
    8 URL: http://www.nongnu.org/rpm2html/
    9 License: MIT
   10 BuildRoot: %{_tmppath}/%{name}-root
   11 BuildPreReq: rpm-devel
   12 BuildRequires: automake
   13 BuildRequires: bzip2-devel
   14 BuildRequires: libtemplate-devel
   15 BuildRequires: libxml2-devel
   16 BuildRequires: popt
   17 BuildRequires: zlib-devel
   18 Requires: gnupg
   19 
   20 %description
   21 The rpm2html utility automatically generates web pages that describe a
   22 set of RPM packages.  The goals of rpm2html are to identify the
   23 dependencies between various packages, and to find the package(s) that
   24 will provide the resources needed to install a given package.
   25 Rpm2html analyzes the provides and requires of the given set of RPMs,
   26 and then shows the dependency cross-references using hypertext links.
   27 Rpm2html can now dump the meta data associated with RPM files into
   28 standard RDF files.
   29 
   30 Install rpm2html if you want a utility for translating information
   31 from an RPM database into HTML.
   32 
   33 %prep
   34 %setup -q
   35 
   36 %build
   37 ./autogen.sh
   38 %configure --sysconfdir=/etc \
   39     --with-gpg \
   40     --with-template
   41 make %{?_smp_mflags}
   42 
   43 # enable 'html_template' option
   44 sed -i -e 's#^;html_template=rpm2html.tpl#html_template=%{_sysconfdir}/%{name}.tpl#g' rpm2html.config*
   45 
   46 %install
   47 rm -rf $RPM_BUILD_ROOT
   48 install -d ${RPM_BUILD_ROOT}%{_bindir}
   49 install -d ${RPM_BUILD_ROOT}%{_sysconfdir}
   50 install -d ${RPM_BUILD_ROOT}%{_datadir}/rpm2html
   51 install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
   52 
   53 install -m 0755 rpm2html ${RPM_BUILD_ROOT}%{_bindir}
   54 
   55 install -m 0644 msg.* ${RPM_BUILD_ROOT}%{_datadir}/rpm2html/
   56 
   57 install -m 0644 rpm2html.config rpm2html.tpl ${RPM_BUILD_ROOT}%{_sysconfdir}
   58 install -m 0644 rpm2html.1  ${RPM_BUILD_ROOT}%{_mandir}/man1/rpm2html.1
   59 
   60 %clean
   61 rm -rf $RPM_BUILD_ROOT
   62 
   63 %files
   64 %defattr(-,root,root)
   65 %doc CHANGES BUGS Copyright PRINCIPLES README TODO 
   66 %doc rpm2html-cdrom.config rpm2html-en.config rpm2html-rdf.config
   67 %{_datadir}/rpm2html
   68 %{_bindir}/rpm2html*
   69 %{_datadir}/rpm2html/msg.*
   70 %{_mandir}/man1/*
   71 %config(noreplace) %{_sysconfdir}/rpm2html.config
   72 %config(noreplace) %{_sysconfdir}/rpm2html.tpl
   73 
   74 %changelog
   75 * Tue Nov  9 2010 Peter Hanecak <hany@hany.sk> 1.11.2-1
   76 - configure.in rpm2html.h: release 1.11.1 (development release)
   77 - NEWS rpm2html.spec.in: updated
   78 - config.c, html.c, rpm2html.config.test, rpm2html-en.config, rpm2html.h,
   79   rpmopen.c: added global option 'dump_html_only_if_rpm_newer' (off by default) 
   80 
   81 * Thu Sep 30 2010 Peter Hanecak <hany@hany.sk> 1.11.1-1
   82 - configure.in rpm2html.h: release 1.11.0 (development release)
   83 - NEWS rpm2html.spec.in: updated
   84 - rpmopen.c: removed double open - should speed things up around 20%
   85 - INSTALL: added "./autogen.sh" tip
   86 - rpm2html.1: fixed typos - patch from Michal Čihař <nijel@debian.org>
   87 - rpm2html.spec.in: run ./autogen.sh before ./configure to properly
   88   deal with various version of autotools we may encounter on various
   89   build machines
   90 - rpmopen.c: reenabled support for package signature processing for
   91   RPM prior to 4.6
   92 
   93 * Tue Apr 28 2009 Peter Hanecak <hany@hany.sk> 1.11.0-1
   94 - config.h.in configure.in rpmdata.h rpmopen.c: preliminary support for
   95   compilation against RPM.org's rpm 4.6 using rpmlegacy.h
   96 
   97 * Tue Apr 28 2009 Peter Hanecak <hany@hany.sk> 1.10.0-1
   98 - configure.in rpm2html.h: release 1.10.0 (stable release)
   99 - NEWS rpm2html.spec.in: updated
  100 
  101 * Sat Nov 29 2008 Peter Hanecak <hany@hany.sk> 1.9.7-1
  102 - html.c: do not use whole local directory name in page title
  103 - rpmopen.c: protect even email addresses from PGP/GPG signatures
  104 - rpmdata.c: protect more email addresses in changelog, not just those enclosed in <>
  105 - Makefile.am: fixed usage of configure's --with-gpg parameter
  106 
  107 * Wed Aug 29 2007 Peter Hanecak <hany@hany.sk> 1.9.6-1
  108 - rdf.c: fixed error messages like "couldn't open <RDF base>/usr/share/man/man5/aliases.5.gz.rdf
  109   for writing !"
  110 - rpm2html.spec.in: added BuildRequires: automake
  111 - config.c: fixed error when compiling without libtemplate support
  112 
  113 * Tue May 15 2007 Peter Hanecak <hany@hany.sk> 1.9.5-1
  114 - ChangeLog: fixed typo
  115 - html.c: fixed handling of "rdf_count_limit" option introduced
  116   in 1.9.2 - option has been so far ignored by mistake
  117 - html.c: fixed setting of 'next_page' template variable for
  118   'dates_next_page' template item
  119 
  120 * Sat Apr 14 2007 Peter Hanecak <hany@hany.sk> 1.9.4-1
  121 - config.c, rpmopen.c: fixed some memory leaks
  122 - html.c, rdf.c: little more verbose messages
  123 - html.c, rpm2html.tpl: fixed segmentation fault occuring when
  124   generating pages describing local configuration with libtemplate
  125   enabled
  126 - html.c: fixed minor typos
  127 - rpm2html.spec.in: added missing BuildRequires
  128 
  129 * Sun Apr  1 2007 Peter Hanecak <hany@hany.sk> 1.9.3-1
  130 - build using Lazarus libtemplate
  131 - accept '(' and ')' in resource names thus fixing the Requires list for 64-bit packages
  132 - accept '(' and ')' in groups thus reduced the amount of "garbled group" warnings
  133 - added hyperlinking to any CVE-xxxx-yyyy and CAN-xxxx-yyyy numbers occuring
  134   in the changelog
  135 - little documentation clean-up and update
  136 - %%{dist} added to release
  137 - configs are now noreplace
  138 - removed crude autogen.sh hack
  139 - do not strip binary
  140 - properly install translations
  141 
  142 * Sun Sep 25 2005 Peter Hanecak <hanecak@megaloman.sk> 1.9.2-1
  143 - option 'rdf_count_limit' has been added so users can customize the limit  
  144   of RDF export (default value was and still is 20)
  145 - disabled length check for "garbled" warnings
  146 
  147 * Thu Aug 18 2005 Peter Hanecak <hanecak@megaloman.sk> 1.9.1-1
  148 - 'Mirrors' link can be configured in configuration file
  149   (see 'header=... Mirrors' line in example configuration files)
  150 - home page URLs has been updated
  151 - moderated "Invalid package <name> : garbled release" error message:
  152   release is considered garbled if it is longer than 65 characters
  153   (instead of 20)
  154 - fixed coredumps caused by large changelogs
  155 
  156 * Tue Apr  5 2005 Peter Hanecak <hanecak@megaloman.sk> 1.9.0-1
  157 - added new feature: e-mail protection (mangle e-mail adresses in HTML
  158   output) - see 'protectemails' entry in manuel.html or example
  159   configuration files
  160 - fixed changelog parsing
  161 - fixed handling of empty filelists
  162 - home page URL has been updated in manuel.html
  163 
  164 * Mon Mar 14 2005 Peter Hanecak <hanecak@megaloman.sk> 1.8.3-1
  165 - GIFs transformed to PNGs
  166 - fixed bugs in configure.in affecting usage of 'configure --with-gpg'
  167 - project maintenance taken over by me (Peter Hanecak)
  168 
  169 * Fri Sep 26 2003 Daniel Veillard <veillard@redhat.com> 1.8.2-1
  170 - made a new release based on the patches from Peter Hanecak
  171 
  172 * Fri Sep 26 2003 Peter Hanecak <hanecak@megaloman.sk> 1.8.1-2
  173 - synchronized with Daniel Veillard's <veillard@redhat.com> rpm2html-1.8.1-1
  174   package
  175 - rpm2html-1.8.1-rpm42.patch based on rpm42 patch for apt
  176   by Gary Peck <gbpeck@sbcglobal.net>
  177 
  178 * Mon Aug 11 2003 Peter Hanecak <hanecak@megaloman.sk> 1.7-8.1
  179 - synchronized with RedHat's rpm2html-1.7-8 package
  180 
  181 * Thu Nov  7 2002 Daniel Veillard <veillard@redhat.com>
  182 - release of 1.8
  183 - a bunch of cleanups w.r.t. spec, Makefiles, etc...
  184 - make sure RDF files are indented
  185 
  186 * Wed Aug 14 2002 Jeff Johnson <jbj@redhat.com> 1.7-8
  187 - initial port to rpm-4.1.
  188 
  189 * Tue Apr 30 2002 Peter Hanecak <hanecak@megaloman.sk>
  190 - rebuild against rpm-4.0.4
  191 - droped old unused patches
  192 
  193 * Wed Feb  6 2002 Peter Hanecak <hanecak@megaloman.sk>
  194 - update to 1.7
  195 - merged some stuff from RedHat's rpm2html-1.7-4 package
  196 - s/Copyright/License
  197 - dropped rpm2html-1.5-sig-5.patch and rpm2html-dup.patch patches
  198 
  199 * Wed Jan 02 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  200 - rebuild against new libs
  201 - update config.guess and config.sub for IA64
  202 
  203 * Tue Jul 24 2001 Daniel Veillard <veillard@redhat.com>
  204 - upgraded to 1.7
  205 - cleaned up a potential problem with libxml2
  206 - fixed BuildPrereqs
  207 
  208 * Wed Jul 18 2001 Daniel Veillard <veillard@redhat.com>
  209 - upgraded to version 1.6
  210 - removed the mysql support, this is too specific
  211 
  212 * Tue Jul 10 2001 Elliot Lee <sopwith@redhat.com>
  213 - Rebuild against rpm-4.0.3-0.65
  214 - Use %%{?_smp_mflags}
  215 
  216 * Fri Jun 29 2001 Jeff Johnson <jbj@redhat.com>
  217 - rebuild against rpm-4.0.3-0.54.
  218 
  219 * Wed May 23 2001 Jeff Johnson <jbj@redhat.com>
  220 - rebuild against rpm-4.0.3-0.26.
  221 
  222 * Tue Dec 26 2000 Jeff Johnson <jbj@redhat.com>
  223 - build against rpm-4.0.2-0.9.
  224 
  225 * Tue Dec 12 2000 Jeff Johnson <jbj@redhat.com>
  226 - rebuild to remove 0777 directories.
  227 
  228 * Mon Dec 11 2000 Peter Hanecak <hanecak@megaloman.sk>
  229 - rpm2html-dup.patch by Alexey Nogin <ayn2@cornell.edu>
  230 
  231 * Wed Nov  8 2000 Peter Hanecak <hanecak@megaloman.sk>
  232 - rpm2html-1.5-sig-5.patch: summary of previous patches plus typo fixes
  233 
  234 * Tue Nov  7 2000 Peter Hanecak <hanecak@megaloman.sk>
  235 - rpm2html-1.5-sig-speedup.patch to avoid unnecessary signature resolving
  236 
  237 * Sun Nov  5 2000 Peter Hanecak <hanecak@megaloman.sk>
  238 - rpm2html-1.5-sig-4.patch: summary of rpm2html-1.4-sig.patch and
  239   rpm2html-1.5-sig-memleak.patch plus configurable "resolving" feature
  240   using gnupg
  241 
  242 * Thu Nov  2 2000 Jeff Johnson <jbj@redhat.com>
  243 - update to 1.5.
  244 - enable mysql support by default.
  245 
  246 * Wed Oct 25 2000 Peter Hanecak <hanecak@megaloman.sk>
  247 - rpm2html-1.5-sig-memleak.patch by Daniel Veillard <Daniel.Veillard@w3.org>
  248 
  249 * Tue Oct  3 2000 Peter Hanecak <hanecak@megaloman.sk>
  250 - rpm2html-1.4-sig.patch - experimental enhancement to include package
  251   signature info in .html pages
  252 
  253 * Mon Sep 25 2000 Peter Hanecak <hanecak@megaloman.sk>
  254 - update to 1.5
  255 - .bz2 source archive
  256 - merged some stuff from Daniel Veillard's <veillard@w3.org> 1.5-1 spec
  257 
  258 * Fri Aug  4 2000 Jeff Johnson <jbj@redhat.com>
  259 - remove exec permissions on data files.
  260 
  261 * Fri Jul 28 2000 Peter Hanecak <hanecak@megaloman.sk>
  262 - update to 1.4
  263 - spec improvements
  264 
  265 * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  266 - automatic rebuild
  267 
  268 * Sun Jun 25 2000 Peter Hanecak <hanecak@megaloman.sk>
  269 - merged stuff from RedHat's rpm2html-1.2-8
  270 - patches ported forward
  271 - rpm-4.0 patch
  272 - build against rpm-4.0-0.45
  273 
  274 * Thu Jun 22 2000 Jeff Johnson <jbj@redhat.com>
  275 - update to 1.4.
  276 
  277 * Tue Jun 20 2000 Jeff Johnson <jbj@redhat.com>
  278 - coagulate rpm310/rpm40 patch into one.
  279 - better autoconf tests.
  280 
  281 * Mon Jun 19 2000 Jeff Johnson <jbj@redhat.com>
  282 - rebuild against rpm-4.0-0.40 (needs -ldb-3.1).
  283 
  284 * Thu Jun  1 2000 Matt Wilson <msw@redhat.com>
  285 - use _mandir macros
  286 - build against new librpm to get correct libbz2 deps
  287 
  288 * Sat May 13 2000 Jeff Johnson <jbj@redhat.com>
  289 - use rpm-3.1 API (hack).
  290 
  291 * Tue Feb 15 2000 Jeff Johnson <jbj@redhat.com>
  292 - fix filename lossage with rpm-3.0.4.
  293 
  294 * Mon Feb  7 2000 Jeff Johnson <jbj@redhat.com>
  295 - compress man pages.
  296 
  297 * Sat Oct 16 1999 Peter Hanecak <hanecak@megaloman.sk>
  298 - updated to 1.3
  299 - some spec stuff from Daniel Veillard's spec
  300 
  301 * Sat Sep 25 1999 Jeff Johnson <jbj@redhat.com>
  302 - recompile with rpm-3.0.3-1.
  303 
  304 * Thu Aug 12 1999 Jeff Johnson <jbj@redhat.com>
  305 - move to Red Hat 6.1 distribution.
  306 
  307 * Wed Jul 21 1999 Tim Powers <timp@redhat.com>
  308 - rebuilt for 6.1
  309 
  310 * Fri Apr  9 1999 Jeff Johnson <jbj@redhat.com>
  311 - update to 1.2.
  312 
  313 * Fri Apr  2 1999 Jeff Johnson <jbj@redhat.com>
  314 - repackage for Red Hat 6.0.