/usr/share/doc/munipack/rpmbundle.html is in munipack-doc 0.5.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | <!DOCTYPE HTML>
<html lang="en">
<head>
<!-- meta -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="description" content="A general astronomical image processing software">
<meta name="author" content="Filip Hroch">
<link href="news_feed.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed" />
<link type="text/css" rel="stylesheet" href="munipack.css">
<link rel="shortcut icon" href="favicon.ico">
<title>DEB binary builder</title>
</head>
<body>
<header>
<a href="munipack.html"><img src="title_logo.png" alt="Munipack's logo" class="head"></a>
<div class="headhead">
<div class="headtitle">
<a class="headtitle" href="munipack.html">Munipack</a>
<a class="headsubtitle" href="munipack.html">A general astronomical image processing software</a>
</div>
<ul class="menu">
<li class="menu">◈ <a href="docs.html" class="menu">Documents</a></li>
<li class="menu">☺ <a href="guide.html" class="menu">User guide</a></li>
</ul>
</div>
</header>
<h1>RPM binary builder</h1>
<p class="abstract">RPM based bundle binary builder (Fedora, openSUSE, Mandriva)</p>
<h2>1 Introduction</h2>
<p>This page describes how to build a RPM binary package for Munipack. </p>
<p>All steps has been verified on Fedora 20. Building on another distributions
or releases may require some code adaptations. </p>
<p>It is supposed to run commands introduced by # as root </p>
<pre>
# id
uid=0(root) ..
</pre>
<p>and ones denoted by $ run as an ordinary user: </p>
<pre>
$ id
uid=12345(user) ...
</pre>
<h2>2 Prerequisites</h2>
<p>Following tools are required for the building: </p>
<ul>
<li>Fortran 95 and C++ compilers </li>
<li>GTK-devel (GUI) </li>
<li>Imagemagic (scaling images in docpages) </li>
<li>rpm-build </li>
<li>Mercurial, the version control system </li>
</ul>
<p>Required tools could be installed by the command (valid for Fedora 17, modify to satisfy your needs): </p>
<pre>
# yum install gcc-gfortran gcc-c++ libgfortran-static libstdc++-static rpm-build gtk+ ImageMagick autoconfig automake gtk2-devel mercurial
</pre>
<p>A lot of dependencies will be requested. Imagemagic is installed by default. The lib...-static are added because ones are not included in devel packages directly.
</p>
<h2>3 Getting sources</h2>
<p>Create a directory containing distribution packages in your home </p>
<pre>
$ mkdir ~/dist
</pre>
<p>and put latest sources (as .tar.gz or .tar.bz2) of following packages here: </p>
<ul>
<li><a href="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html">cfitsio</a> library </li>
<li><a href="http://www.netlib.org/minpack/">minpack</a> library </li>
<li><a href="http://www.wxwidgets.org/">wxWidgets</a> library (ver. >= <strong>3.0.0</strong>, <strong>Important!</strong>) </li>
<li><a href="http://www.libpng.org/pub/png/libpng.html">libpng</a> library </li>
<li><a href="http://integral.physics.muni.cz/rawtran">rawtran</a> </li>
<li><a href="http://integral.physics.muni.cz/fitspng">fitspng</a> </li>
<li><a href="download.html">munipack</a> </li>
</ul>
<p>Optional: </p>
<ul>
<li><a href="http://integral.physics.muni.cz/konve">konve</a> </li>
<li><a href="http://integral.physics.muni.cz/picko">picko</a> </li>
</ul>
<h2>4 Building</h2>
<p>Create a working directory in your home and switch to it: </p>
<pre>
$ mkdir ~/tmp
$ cd ~/tmp
</pre>
<p>Extract the script for building: </p>
<pre>~tmp/$ tar zxf ~/dist/munipack-0.5.5.tar.gz --strip-components=2 --wildcards '*/dist/rbuilder.sh'
</pre>
<p>and than run the build script: </p>
<pre>
~/tmp$ ./rbuilder.sh ~/dist >& log
</pre>
<p>Building takes some time (~30 min), have a cup of tea. </p>
<p>Both ~/dist and ~/tmp directories are no more used and ones can be safety removed after building (don't forget to save the build package). Both directories can by placed anywhere. </p>
<h2>5 Installing and removing</h2>
<p>If your are lucky person and previous steps has been successful, the final RPM package should be found as ~/tmp/rpmbuild/RPMS/x86_64/munipack-0.5.5-1.x86_64.rpm (the placement directory will different on i686 architecture, of course). </p>
<p>Now, Munipack should be installed simply as </p>
<pre>
# rpm -i munipack-0.5.5-1.x86_64.rpm
</pre>
<p>Note. The installer will require to satisfy dependency on <a href="http://www.cybercom.net/~dcoffin/dcraw/">dcraw</a>. </p>
<p>Uninstalling is easy: </p>
<pre>
# rpm -e munipack</pre>
<footer>
<div style="float:left; margin-left:2em;">
Copyright © 1997 – 2018
Filip Hroch (<a style="text-decoration: none" href="mailto:hroch@physics.muni.cz?Subject=Munipack" title="Author's Email">✉</a>), license <a href="http://www.gnu.org/licenses/gpl.html">GPLv3</a>.
</div>
<div style="float:right; margin-right:2em; margin-top:-0.2em;">
<a href="http://monteboo.blogspot.com/search/label/Munipack" title="Munipack on MonteBoo Blog"><img src="favicon-blogger.png" alt="Blogger"></a>
<a href="http://www.muni.cz/?lang=en" title="Masaryk University in Brno, Czech Republic"><img src="mu-logo.png" alt="Masaryk University"></a>
<a href="news_feed.xml" title="Munipack's Releases in Atom Syndication Format"><img src="Feed-icon.png" alt="Atom Feed"></a>
</div>
</footer>
</body>
</html>
|