# # rpmspec.txt # # Copyright (c) 1997-2004 DF7BE # Free Software under property of the # GNU General Public License # # "@(#)rpmspec Stand : 18.06.2004" # "@(#)$Id$" # # # Specification file for rpm ( Ref Hat package manager ) # building the CLLOG package for SuSe LINUX # # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the license, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA ( or visit # their web site at http://www.gnu.org/ ). # # # Modification documentation # # +------------+-------------------------+----------------------------------+ # + Date ! Name and Call ! Modification ! # +------------+-------------------------+----------------------------------+ # ! 18.06.2004 ! W.Brunken DF7BE ! first creation ! # +------------+-------------------------+----------------------------------+ # # Homepage for the rpm: # http.//www.rpm.org # german documentation about rpm # http://www.tu-chemnitz.de/linux/Dokumentation/RPM # # Vor dem Bauen einer neuen Version des Produktes die # Versionsangabe in der Zeile "Version: " anpassen # # ------------------------------------------------ # Angaben und Version des Produktes # # Description and Version of the product # Summary: CLLOG German logging program for radio amateurs # # Name ohne Leerzeichen, da in Dateiname eingebaut wird. # Konvention: # --..rpm # # ---- Mit jeder Version anpassen ----- # (Version darf kein - Zeichen enthalten, Release meist 0 oder build) # Name: CLLOG Version: 1.0.2 Release: 0 # -------------------------------------- Copyright: Copyright (c) 1997-2004 DF7BE, Free Software under property of the GNU General Public License # Group: Applications/System %description CLLOG Freies Open Source Logbuchprogramm fuer Funkamateure Freie Software zu den Bedingungen der GNU General Public License # Default-Attribute fuer alle Dateien aus der %files Liste # (Rechtemaske, Userid, Groupid) %defattr(-,root,root) # #%dir /opt/xyz %files # # An dieser Stelle wird durch mkrpm.sh die Dateiliste # eingesetzt. # # -------------------------------------------- # Vor und Nachverarbeitungsscripte # -------------------------------------------- # # Die auszufuehrenden sh-Kommandos (ohne magic "#!/bin/sh") # hinter dem jeweiligen Makro einfuegen # %pre is the macro to do pre-install scripts # %post is the macro to do post-install scripts # %preun is the macro to do pre-uninstall scripts # %postun is the macro to do post-uninstall scripts # #%pre # # #%post # Run-Level #insserv -d /etc/rc.d/xyz # # #%preun # Run-Level #insserv -r /etc/rc.d/xyz # #%postun # Reste loeschen # rm -rf /opt/xyz #