Commit 740e40d2c09e8a8b49a2a68f12581a909d0bf3c1
- Diff rendering mode:
- inline
- side by side
AUTHORS
(3 / 0)
|   | |||
| 1 | Enrico Ros <enrico.ros@gmail.com> | ||
| 2 | - porting to Qt4 and code cleanup | ||
| 3 | |||
| 1 | 4 | Claudiu Costin <claudiuc@kde.org> | |
| 2 | 5 | - original author | |
| 3 | 6 |
BUGS
(0 / 9)
|   | |||
| 1 | |||
| 2 | Quax BUGS | ||
| 3 | ============= | ||
| 4 | |||
| 5 | 1) There's a bad interaction between Quax and popup generated | ||
| 6 | by klipper. When you click KDE clipboard tray icon, a | ||
| 7 | popup is shown. Then if you click on Quax it will not get | ||
| 8 | EnterEvent immediately, but only after few clicks on its | ||
| 9 | surface. |
CREDITS
(1 / 2)
|   | |||
| 6 | 6 | - discovered that PREFIX have no default value | |
| 7 | 7 | when compiling from sources | |
| 8 | 8 | - pointed that I messed up links on "Download" section | |
| 9 | |||
| 9 | |||
| 10 | 10 | Jim Richardson <warlock@eskimo.com> | |
| 11 | 11 | - pointed that I messed up links on "Download" section | |
| 12 |
ChangeLog
(3 / 0)
|   | |||
| 1 | 2009-08-25 eros 1.2 release | ||
| 2 | * porting: ported the app to Qt 4 (tested with 4.5+) | ||
| 3 | |||
| 1 | 4 | 2003-11-20 claudiuc 1.0-1 release | |
| 2 | 5 | ||
| 3 | 6 | 2003-11-19 claudiuc |
Doxyfile.in
(0 / 174)
|   | |||
| 1 | # Doxygen configuration generated by Doxywizard version 0.1 | ||
| 2 | #--------------------------------------------------------------------------- | ||
| 3 | # General configuration options | ||
| 4 | #--------------------------------------------------------------------------- | ||
| 5 | PROJECT_NAME = quax | ||
| 6 | PROJECT_NUMBER = @VERSION@-@RELEASE@ | ||
| 7 | OUTPUT_DIRECTORY = | ||
| 8 | OUTPUT_LANGUAGE = English | ||
| 9 | EXTRACT_ALL = NO | ||
| 10 | EXTRACT_PRIVATE = YES | ||
| 11 | EXTRACT_STATIC = YES | ||
| 12 | HIDE_UNDOC_MEMBERS = NO | ||
| 13 | HIDE_UNDOC_CLASSES = NO | ||
| 14 | BRIEF_MEMBER_DESC = YES | ||
| 15 | REPEAT_BRIEF = YES | ||
| 16 | ALWAYS_DETAILED_SEC = NO | ||
| 17 | FULL_PATH_NAMES = NO | ||
| 18 | STRIP_FROM_PATH = | ||
| 19 | INTERNAL_DOCS = NO | ||
| 20 | CLASS_DIAGRAMS = YES | ||
| 21 | SOURCE_BROWSER = YES | ||
| 22 | INLINE_SOURCES = NO | ||
| 23 | STRIP_CODE_COMMENTS = YES | ||
| 24 | CASE_SENSE_NAMES = YES | ||
| 25 | SHORT_NAMES = YES | ||
| 26 | HIDE_SCOPE_NAMES = NO | ||
| 27 | VERBATIM_HEADERS = YES | ||
| 28 | SHOW_INCLUDE_FILES = YES | ||
| 29 | JAVADOC_AUTOBRIEF = YES | ||
| 30 | INHERIT_DOCS = YES | ||
| 31 | INLINE_INFO = YES | ||
| 32 | SORT_MEMBER_DOCS = YES | ||
| 33 | DISTRIBUTE_GROUP_DOC = NO | ||
| 34 | TAB_SIZE = 8 | ||
| 35 | ENABLED_SECTIONS = | ||
| 36 | GENERATE_TODOLIST = YES | ||
| 37 | GENERATE_TESTLIST = YES | ||
| 38 | GENERATE_BUGLIST = YES | ||
| 39 | ALIASES = | ||
| 40 | MAX_INITIALIZER_LINES = 30 | ||
| 41 | OPTIMIZE_OUTPUT_FOR_C = NO | ||
| 42 | SHOW_USED_FILES = YES | ||
| 43 | #--------------------------------------------------------------------------- | ||
| 44 | # configuration options related to warning and progress messages | ||
| 45 | #--------------------------------------------------------------------------- | ||
| 46 | QUIET = | ||
| 47 | WARNINGS = | ||
| 48 | WARN_IF_UNDOCUMENTED = | ||
| 49 | WARN_FORMAT = "$file:$line: $text" | ||
| 50 | WARN_LOGFILE = | ||
| 51 | #--------------------------------------------------------------------------- | ||
| 52 | # configuration options related to the input files | ||
| 53 | #--------------------------------------------------------------------------- | ||
| 54 | INPUT = src/ | ||
| 55 | FILE_PATTERNS = *.cpp \ | ||
| 56 | *.cxx \ | ||
| 57 | *.cc \ | ||
| 58 | *.C \ | ||
| 59 | *.c++ \ | ||
| 60 | *.c \ | ||
| 61 | *.inl \ | ||
| 62 | *.tlh \ | ||
| 63 | *.diff \ | ||
| 64 | *.patch \ | ||
| 65 | *.moc \ | ||
| 66 | *.xpm \ | ||
| 67 | *.h \ | ||
| 68 | *.hpp \ | ||
| 69 | *.hh \ | ||
| 70 | *.hxx \ | ||
| 71 | *.h++ \ | ||
| 72 | *.H \ | ||
| 73 | *.java | ||
| 74 | RECURSIVE = yes | ||
| 75 | EXCLUDE = | ||
| 76 | EXCLUDE_PATTERNS = moc_* *.xpm | ||
| 77 | EXAMPLE_PATH = | ||
| 78 | EXAMPLE_PATTERNS = | ||
| 79 | IMAGE_PATH = | ||
| 80 | INPUT_FILTER = | ||
| 81 | FILTER_SOURCE_FILES = | ||
| 82 | #--------------------------------------------------------------------------- | ||
| 83 | # configuration options related to the alphabetical class index | ||
| 84 | #--------------------------------------------------------------------------- | ||
| 85 | ALPHABETICAL_INDEX = | ||
| 86 | COLS_IN_ALPHA_INDEX = | ||
| 87 | IGNORE_PREFIX = | ||
| 88 | #--------------------------------------------------------------------------- | ||
| 89 | # configuration options related to the HTML output | ||
| 90 | #--------------------------------------------------------------------------- | ||
| 91 | GENERATE_HTML = YES | ||
| 92 | HTML_OUTPUT = doxygen/html | ||
| 93 | HTML_HEADER = | ||
| 94 | HTML_FOOTER = | ||
| 95 | HTML_STYLESHEET = | ||
| 96 | HTML_ALIGN_MEMBERS = | ||
| 97 | GENERATE_HTMLHELP = | ||
| 98 | GENERATE_CHI = | ||
| 99 | BINARY_TOC = | ||
| 100 | TOC_EXPAND = | ||
| 101 | DISABLE_INDEX = | ||
| 102 | ENUM_VALUES_PER_LINE = | ||
| 103 | GENERATE_TREEVIEW = NO | ||
| 104 | TREEVIEW_WIDTH = | ||
| 105 | #--------------------------------------------------------------------------- | ||
| 106 | # configuration options related to the LaTeX output | ||
| 107 | #--------------------------------------------------------------------------- | ||
| 108 | GENERATE_LATEX = | ||
| 109 | LATEX_OUTPUT = doxygen/latex | ||
| 110 | COMPACT_LATEX = | ||
| 111 | PAPER_TYPE = a4wide | ||
| 112 | EXTRA_PACKAGES = | ||
| 113 | LATEX_HEADER = | ||
| 114 | PDF_HYPERLINKS = 1 | ||
| 115 | USE_PDFLATEX = 1 | ||
| 116 | LATEX_BATCHMODE = | ||
| 117 | #--------------------------------------------------------------------------- | ||
| 118 | # configuration options related to the RTF output | ||
| 119 | #--------------------------------------------------------------------------- | ||
| 120 | GENERATE_RTF = | ||
| 121 | RTF_OUTPUT = rtf | ||
| 122 | COMPACT_RTF = | ||
| 123 | RTF_HYPERLINKS = | ||
| 124 | RTF_STYLESHEET_FILE = | ||
| 125 | RTF_EXTENSIONS_FILE = | ||
| 126 | #--------------------------------------------------------------------------- | ||
| 127 | # configuration options related to the man page output | ||
| 128 | #--------------------------------------------------------------------------- | ||
| 129 | GENERATE_MAN = | ||
| 130 | MAN_OUTPUT = man | ||
| 131 | MAN_EXTENSION = .3 | ||
| 132 | MAN_LINKS = | ||
| 133 | #--------------------------------------------------------------------------- | ||
| 134 | # Configuration options related to the preprocessor | ||
| 135 | #--------------------------------------------------------------------------- | ||
| 136 | ENABLE_PREPROCESSING = | ||
| 137 | MACRO_EXPANSION = | ||
| 138 | EXPAND_ONLY_PREDEF = | ||
| 139 | SEARCH_INCLUDES = | ||
| 140 | INCLUDE_PATH = | ||
| 141 | INCLUDE_FILE_PATTERNS = | ||
| 142 | PREDEFINED = | ||
| 143 | EXPAND_AS_DEFINED = | ||
| 144 | #--------------------------------------------------------------------------- | ||
| 145 | # Configuration::addtions related to external references | ||
| 146 | #--------------------------------------------------------------------------- | ||
| 147 | TAGFILES = | ||
| 148 | GENERATE_TAGFILE = | ||
| 149 | ALLEXTERNALS = | ||
| 150 | PERL_PATH = /usr/bin/perl | ||
| 151 | #--------------------------------------------------------------------------- | ||
| 152 | # Configuration options related to the dot tool | ||
| 153 | #--------------------------------------------------------------------------- | ||
| 154 | HAVE_DOT = | ||
| 155 | CLASS_GRAPH = | ||
| 156 | COLLABORATION_GRAPH = | ||
| 157 | INCLUDE_GRAPH = | ||
| 158 | INCLUDED_BY_GRAPH = | ||
| 159 | GRAPHICAL_HIERARCHY = | ||
| 160 | DOT_PATH = | ||
| 161 | MAX_DOT_GRAPH_WIDTH = | ||
| 162 | MAX_DOT_GRAPH_HEIGHT = | ||
| 163 | GENERATE_LEGEND = | ||
| 164 | DOT_CLEANUP = | ||
| 165 | #--------------------------------------------------------------------------- | ||
| 166 | # Configuration::addtions related to the search engine | ||
| 167 | #--------------------------------------------------------------------------- | ||
| 168 | SEARCHENGINE = | ||
| 169 | CGI_NAME = search.cgi | ||
| 170 | CGI_URL = | ||
| 171 | DOC_URL = | ||
| 172 | DOC_ABSPATH = | ||
| 173 | BIN_ABSPATH = /usr/local/bin/ | ||
| 174 | EXT_DOC_PATHS = |
INSTALL
(0 / 59)
|   | |||
| 1 | |||
| 2 | Quax Installation | ||
| 3 | ===================== | ||
| 4 | |||
| 5 | Please keep in mind that you must: | ||
| 6 | 1) have Qt libraries installed | ||
| 7 | 2) have Qt development binaries and headers installed | ||
| 8 | 3) QTDIR environment variable point to your QT installation. | ||
| 9 | |||
| 10 | Execute: | ||
| 11 | |||
| 12 | ./configure | ||
| 13 | make | ||
| 14 | make install (as root) | ||
| 15 | |||
| 16 | By default Quax will install under /usr/local. If you preffer other location, like /usr | ||
| 17 | then install it running: | ||
| 18 | |||
| 19 | PREFIX=/usr make install | ||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | NOTE: Please check that your QTDIR variable is setup correctly. | ||
| 25 | Verify like this: | ||
| 26 | |||
| 27 | echo $QTDIR | ||
| 28 | |||
| 29 | Also check that "include" and "library" directories are valid. Some Linux | ||
| 30 | distributions don't follow Trolltech directory structure. | ||
| 31 | Verify like this: | ||
| 32 | |||
| 33 | ls $QTDIR/bin | ||
| 34 | ls $QTDIR/include | ||
| 35 | ls $QTDIR/lib | ||
| 36 | |||
| 37 | |||
| 38 | Linux Mandrake 9.0 | ||
| 39 | ====================== | ||
| 40 | |||
| 41 | The Mandrake seems to forgot to add symlinks for X related libraries. | ||
| 42 | As a consequence, you cannot build Quax out of the box. You need to make | ||
| 43 | symlinks by yourself. Please run as "root' user the following: | ||
| 44 | |||
| 45 | cd /usr/X11R6/lib | ||
| 46 | ln -s libX11.so.6.2 libX11.so | ||
| 47 | ln -s libXext.so.6.4 libXext.so | ||
| 48 | cd - | ||
| 49 | |||
| 50 | Then ensure that QTDIR variable is properly set: | ||
| 51 | |||
| 52 | export QTDIR=/usr/lib/qt3 | ||
| 53 | |||
| 54 | Also you need the QT3 development files installed. The following packages | ||
| 55 | must be present on your system: | ||
| 56 | |||
| 57 | libqt3-3.0.5-7mdk | ||
| 58 | libqt3-devel-3.0.5-7mdk | ||
| 59 |
Makefile
(0 / 27)
|   | |||
| 1 | |||
| 2 | ifeq ($(PREFIX),) | ||
| 3 | PREFIX = /usr/local | ||
| 4 | endif | ||
| 5 | |||
| 6 | MAKEFILE = Makefile | ||
| 7 | QMAKE = qmake | ||
| 8 | DEL_FILE = rm -f | ||
| 9 | SUBTARGETS = \ | ||
| 10 | sub-src | ||
| 11 | |||
| 12 | all: $(SUBTARGETS) | ||
| 13 | |||
| 14 | src/$(MAKEFILE): | ||
| 15 | cd src && $(QMAKE) -o $(MAKEFILE) | ||
| 16 | sub-src: src/$(MAKEFILE) FORCE | ||
| 17 | cd src && $(MAKE) -f $(MAKEFILE) | ||
| 18 | |||
| 19 | all: $(SUBTARGETS) | ||
| 20 | qmake_all: src/$(MAKEFILE) | ||
| 21 | ( [ -d src ] && cd src ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true | ||
| 22 | clean uninstall install uiclean mocclean lexclean yaccclean: qmake_all FORCE | ||
| 23 | ( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) $@; ) || true | ||
| 24 | distclean: qmake_all FORCE | ||
| 25 | ( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true | ||
| 26 | |||
| 27 | FORCE: |
README
(11 / 3)
|   | |||
| 24 | 24 | ||
| 25 | 25 | 2) How I'll install Quax? | |
| 26 | 26 | ||
| 27 | Read the INSTALL file. | ||
| 27 | Please keep in mind that you must: | ||
| 28 | 1) have Qt 4.4+ libraries installed | ||
| 29 | 2) have Qt development binaries and headers installed | ||
| 28 | 30 | ||
| 31 | Execute: | ||
| 29 | 32 | ||
| 33 | qmake | ||
| 34 | make | ||
| 35 | make install (as root) | ||
| 36 | |||
| 37 | |||
| 30 | 38 | 3) How to obtain Quax? | |
| 31 | 39 | ||
| 32 | Go to http://www.ro.kde.org/quax/ | ||
| 40 | Go to: http://gitorious.org/quax/quax | ||
| 41 | The old homepage was on: http://www.ro.kde.org/quax | ||
| 33 | 42 | ||
| 34 | 43 | ||
| 35 | 44 | 4) Where I can report bugs and whishes? | |
| 36 | 45 | ||
| 37 | 46 | To the authors. See the AUTHORS file. | |
| 38 |
README-WIN32.txt
(12 / 10)
|   | |||
| 22 | 22 | ||
| 23 | 23 | 2) How I'll install Quax? | |
| 24 | 24 | ||
| 25 | To compile Quax you need QT-2.3.0 Non Comercial Edition for Windows | ||
| 26 | and MS Visual C++ 6.0. If you install them with default settings, then | ||
| 27 | you may simply call the "compile-win32.bat" file. To cleanup after compile | ||
| 28 | run "clean-win32.bat". | ||
| 25 | To compile Quax you need a working Qt 4.4+ setup on Microsoft Windows. You | ||
| 26 | can create the Quax executable with both mingw-based setups and MSVC (tested | ||
| 27 | with 2008) based ones. | ||
| 29 | 28 | ||
| 29 | Just open the Qt Development Prompt, go to the Quax directory and type the usual | ||
| 30 | qmake | ||
| 31 | make | ||
| 32 | commands to get quax.exe built! | ||
| 33 | |||
| 30 | 34 | To install Quax copy quax.exe somewhere when %PATH% variable can reach it. | |
| 31 | 35 | For example %WINDIR%, where it can be C:\WINDOWS, C:\WINNT. | |
| 32 | 36 | ||
| 33 | 37 | ||
| 34 | 38 | 3) How to obtain Quax? | |
| 35 | 39 | ||
| 36 | Go to http://www.ro.kde.org/quax/ | ||
| 40 | Go to: http://gitorious.org/quax/quax | ||
| 41 | The old homepage was on: http://www.ro.kde.org/quax | ||
| 37 | 42 | ||
| 38 | 43 | ||
| 39 | 44 | 4) Where I can report bugs and whishes? | |
| … | … | ||
| 48 | 48 | ||
| 49 | 49 | 5) Notes for WIN32 release | |
| 50 | 50 | ||
| 51 | a) For the moment there's a lack for "Hand" cursor. | ||
| 52 | b) There's no native Windows help file | ||
| 53 | c) Menu accelerators use lower case letters | ||
| 54 | |||
| 55 | |||
| 51 | a) There's no native Windows help file | ||
| 52 | b) The compilation hasn't been tested after the port to Qt 4 |
TODO
(2 / 0)
|   | |||
| 2 | 2 | Quax TODO | |
| 3 | 3 | ============= | |
| 4 | 4 | ||
| 5 | DONE: * port to Qt 4.5 | ||
| 6 | |||
| 5 | 7 | DONE: * write HTML/DocBook manual + pictures | |
| 6 | 8 | ||
| 7 | 9 | DONE: * use QtAssistant or KHelpCenter for help display |
VERSION
(1 / 1)
|   | |||
| 1 | 1.0-1 | ||
| 1 | 1.2 |
clean-win32.bat
(0 / 18)
|   | |||
| 1 | @echo off | ||
| 2 | |||
| 3 | rem ************************************************************ | ||
| 4 | rem * $Id: clean-win32.bat,v 1.1 2003/06/12 22:44:08 claudiuc Exp $ | ||
| 5 | rem * | ||
| 6 | rem * Description: Clean after compile Quax for WIN32 | ||
| 7 | rem * | ||
| 8 | rem ************************************************************ | ||
| 9 | |||
| 10 | |||
| 11 | set MVSPATH=C:\Program Files\Microsoft Visual Studio\VC98\Bin | ||
| 12 | set PATH=%PATH%;%MVSPATH%; | ||
| 13 | |||
| 14 | cd src | ||
| 15 | nmake /f "quax.mak" CFG="quax - Win32 Release" clean | ||
| 16 | cd .. | ||
| 17 | |||
| 18 |
compile-win32.bat
(0 / 18)
|   | |||
| 1 | @echo off | ||
| 2 | |||
| 3 | rem ************************************************************ | ||
| 4 | rem * $Id: compile-win32.bat,v 1.2 2003/06/12 22:44:08 claudiuc Exp $ | ||
| 5 | rem * | ||
| 6 | rem * Description: Compile Quax for WIN32 | ||
| 7 | rem * | ||
| 8 | rem ************************************************************ | ||
| 9 | |||
| 10 | set QTDIR=C:\QT | ||
| 11 | set MVSPATH=C:\Program Files\Microsoft Visual Studio\VC98\Bin | ||
| 12 | set PATH=%PATH%;%MVSPATH%; | ||
| 13 | |||
| 14 | cd src | ||
| 15 | nmake /f "quax.mak" CFG="quax - Win32 Release" | ||
| 16 | cd .. | ||
| 17 | |||
| 18 |
config.h
(0 / 9)
|   | |||
| 1 | |||
| 2 | #ifndef __CONFIG_H__ | ||
| 3 | #define __CONFIG_H__ | ||
| 4 | |||
| 5 | /* Quax version*/ | ||
| 6 | #define VERSION "1.0" | ||
| 7 | #define RELEASE "1" | ||
| 8 | |||
| 9 | #endif /* __CONFIG_H__ */ |
config.h.in
(0 / 9)
|   | |||
| 1 | |||
| 2 | #ifndef __CONFIG_H__ | ||
| 3 | #define __CONFIG_H__ | ||
| 4 | |||
| 5 | /* Quax version*/ | ||
| 6 | #define VERSION "@VERSION@" | ||
| 7 | #define RELEASE "@RELEASE@" | ||
| 8 | |||
| 9 | #endif /* __CONFIG_H__ */ |
configure
(0 / 14)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | |||
| 4 | # get the current version & release | ||
| 5 | version=`cat VERSION | cut -d- -f 1` | ||
| 6 | release=`cat VERSION | cut -d- -f 2` | ||
| 7 | |||
| 8 | # replace variables where these appear in *.in files | ||
| 9 | |||
| 10 | for in_filename in `ls -1 *.in` ; do | ||
| 11 | out_filename=`echo "$in_filename" | sed 's,\.in$,,'` | ||
| 12 | echo "Building $out_filename" | ||
| 13 | cat "$in_filename" | sed "s,@VERSION@,$version,g; s,@RELEASE@,$release,g;" > "$out_filename" | ||
| 14 | done |
dist/makerpm.sh
(29 / 0)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # get the current version & release | ||
| 4 | version=`cat VERSION | cut -d- -f 1` | ||
| 5 | release=`cat VERSION | cut -d- -f 2` | ||
| 6 | |||
| 7 | # make sure there's no objects and binaries arround | ||
| 8 | make clean | ||
| 9 | rm -f src/quax | ||
| 10 | |||
| 11 | # reconfigure things just to make sure rpmspec is good | ||
| 12 | ./configure | ||
| 13 | |||
| 14 | # make a new snapshot | ||
| 15 | mkdir -p ../quax-$version-$release | ||
| 16 | cp -r . ../quax-$version-$release/ | ||
| 17 | |||
| 18 | # jump a step behind | ||
| 19 | cd .. | ||
| 20 | |||
| 21 | # make archive from it and then delete local copy | ||
| 22 | tar cfz quax-$version-$release.tar.gz quax-$version-$release | ||
| 23 | rm -r quax-$version-$release | ||
| 24 | |||
| 25 | # build the RPM | ||
| 26 | rpmbuild -ta quax-$version-$release.tar.gz | ||
| 27 | |||
| 28 | # back to work... | ||
| 29 | cd quax |
dist/makerpmmdk.sh
(35 / 0)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export QTDIR=/usr/lib/qt3 | ||
| 4 | |||
| 5 | # get the current version & release | ||
| 6 | version=`cat VERSION | cut -d- -f 1` | ||
| 7 | release=`cat VERSION | cut -d- -f 2` | ||
| 8 | |||
| 9 | # make sure there's no objects and binaries arround | ||
| 10 | make clean | ||
| 11 | rm -f src/quax | ||
| 12 | |||
| 13 | # reconfigure things just to make sure rpmspec is good | ||
| 14 | ./configure | ||
| 15 | |||
| 16 | # make a new snapshot | ||
| 17 | mkdir -p ../quax-$version-$release | ||
| 18 | cp -r . ../quax-$version-$release/ | ||
| 19 | |||
| 20 | # jump a step behind | ||
| 21 | cd .. | ||
| 22 | |||
| 23 | # make archive from it and then delete local copy | ||
| 24 | tar cfz quax-$version-$release.tar.gz quax-$version-$release | ||
| 25 | rm -r quax-$version-$release | ||
| 26 | |||
| 27 | # build the RPM | ||
| 28 | cp -f quax/quaxmdk.spec /usr/src/RPM/SPECS | ||
| 29 | cp -f quax-$version-$release.tar.gz /usr/src/RPM/SOURCES | ||
| 30 | rpm -ba /usr/src/RPM/SPECS/quaxmdk.spec | ||
| 31 | rm -f /usr/src/RPM/SPECS/quaxmdk.spec | ||
| 32 | rm -f /usr/src/RPM/SOURCES/quax-$version-$release.tar.gz | ||
| 33 | |||
| 34 | # back to work... | ||
| 35 | cd quax |
dist/makerpmrh90.sh
(35 / 0)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export QTDIR=/usr/lib/qt-3.1 | ||
| 4 | |||
| 5 | # get the current version & release | ||
| 6 | version=`cat VERSION | cut -d- -f 1` | ||
| 7 | release=`cat VERSION | cut -d- -f 2` | ||
| 8 | |||
| 9 | # make sure there's no objects and binaries arround | ||
| 10 | make clean | ||
| 11 | rm -f src/quax | ||
| 12 | |||
| 13 | # reconfigure things just to make sure rpmspec is good | ||
| 14 | ./configure | ||
| 15 | |||
| 16 | # make a new snapshot | ||
| 17 | mkdir -p ../quax-$version-$release | ||
| 18 | cp -r . ../quax-$version-$release/ | ||
| 19 | |||
| 20 | # jump a step behind | ||
| 21 | cd .. | ||
| 22 | |||
| 23 | # make archive from it and then delete local copy | ||
| 24 | tar cfz quax-$version-$release.tar.gz quax-$version-$release | ||
| 25 | rm -r quax-$version-$release | ||
| 26 | |||
| 27 | # build the RPM | ||
| 28 | cp -f quax/quaxrh90.spec /usr/src/redhat/SPECS | ||
| 29 | cp -f quax-$version-$release.tar.gz /usr/src/redhat/SOURCES | ||
| 30 | rpmbuild -ba /usr/src/redhat/SPECS/quaxrh90.spec | ||
| 31 | rm -f /usr/src/redhat/SPECS/quaxrh90.spec | ||
| 32 | rm -f /usr/src/redhat/SOURCES/quax-$version-$release.tar.gz | ||
| 33 | |||
| 34 | # back to work... | ||
| 35 | cd quax |
dist/makerpmsuse.sh
(35 / 0)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export QTDIR=/usr/lib/qt3 | ||
| 4 | |||
| 5 | # get the current version & release | ||
| 6 | version=`cat VERSION | cut -d- -f 1` | ||
| 7 | release=`cat VERSION | cut -d- -f 2` | ||
| 8 | |||
| 9 | # make sure there's no objects and binaries arround | ||
| 10 | make clean | ||
| 11 | rm -f src/quax | ||
| 12 | |||
| 13 | # reconfigure things just to make sure rpmspec is good | ||
| 14 | ./configure | ||
| 15 | |||
| 16 | # make a new snapshot | ||
| 17 | mkdir -p ../quax-$version-$release | ||
| 18 | cp -r . ../quax-$version-$release/ | ||
| 19 | |||
| 20 | # jump a step behind | ||
| 21 | cd .. | ||
| 22 | |||
| 23 | # make archive from it and then delete local copy | ||
| 24 | tar cfz quax-$version-$release.tar.gz quax-$version-$release | ||
| 25 | rm -r quax-$version-$release | ||
| 26 | |||
| 27 | # build the RPM | ||
| 28 | cp -f quax/quaxsuse.spec /usr/src/packages/SPECS | ||
| 29 | cp -f quax-$version-$release.tar.gz /usr/src/packages/SOURCES | ||
| 30 | rpm -ba /usr/src/packages/SPECS/quaxsuse.spec | ||
| 31 | rm -f /usr/src/packages/SPECS/quaxsuse.spec | ||
| 32 | rm -f /usr/src/packages/SOURCES/quax-$version-$release.tar.gz | ||
| 33 | |||
| 34 | # back to work... | ||
| 35 | cd quax |
dist/quax.lsm
(14 / 0)
|   | |||
| 1 | Begin4 | ||
| 2 | Title: Quax | ||
| 3 | Version: 1.0-1 | ||
| 4 | Entered-date: Sun May 25 2003 | ||
| 5 | Description: A neat desktop zooming tool | ||
| 6 | Keywords: X11, zoom, desktop, graphics Qt, KDE, web design | ||
| 7 | Author: Claudiu Costin <claudiuc@kde.org> | ||
| 8 | Maintained-by: Claudiu Costin <claudiuc@kde.org> | ||
| 9 | Primary-site: http://www.ro.kde.org/quax/ | ||
| 10 | Home-page: http://www.ro.kde.org/quax/ | ||
| 11 | Original-site: http://www.ro.kde.org/quax/ | ||
| 12 | Platforms: Linux and other Unices | ||
| 13 | Copying-policy: GNU Public License | ||
| 14 | End |
dist/quax.lsm.in
(14 / 0)
|   | |||
| 1 | Begin4 | ||
| 2 | Title: Quax | ||
| 3 | Version: @VERSION@-@RELEASE@ | ||
| 4 | Entered-date: Sun May 25 2003 | ||
| 5 | Description: A neat desktop zooming tool | ||
| 6 | Keywords: X11, zoom, desktop, graphics Qt, KDE, web design | ||
| 7 | Author: Claudiu Costin <claudiuc@kde.org> | ||
| 8 | Maintained-by: Claudiu Costin <claudiuc@kde.org> | ||
| 9 | Primary-site: http://www.ro.kde.org/quax/ | ||
| 10 | Home-page: http://www.ro.kde.org/quax/ | ||
| 11 | Original-site: http://www.ro.kde.org/quax/ | ||
| 12 | Platforms: Linux and other Unices | ||
| 13 | Copying-policy: GNU Public License | ||
| 14 | End |
dist/quax.spec
(80 / 0)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version 1.0 | ||
| 3 | %define release 1 | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | |||
| 20 | %description | ||
| 21 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 22 | is very handy and friendly for newbies. There are few other tools for this | ||
| 23 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 24 | and take some time to figure how to use them. | ||
| 25 | But Quax is *very* easy to use. | ||
| 26 | |||
| 27 | |||
| 28 | %prep | ||
| 29 | %setup -n %{name}-%{version}-%{release} | ||
| 30 | |||
| 31 | |||
| 32 | %build | ||
| 33 | ./configure | ||
| 34 | PREFIX="%{_prefix}" make | ||
| 35 | |||
| 36 | |||
| 37 | %install | ||
| 38 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 39 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 40 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 41 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/applnk/Graphics | ||
| 44 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 45 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 46 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 47 | cp -f src/quax.desktop $RPM_BUILD_ROOT/%{kdedir}/share/applnk/Graphics | ||
| 48 | |||
| 49 | |||
| 50 | %clean | ||
| 51 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 52 | |||
| 53 | |||
| 54 | %files | ||
| 55 | |||
| 56 | %defattr(0755, root, root) | ||
| 57 | %{_prefix}/bin/* | ||
| 58 | |||
| 59 | %defattr(0644, root, root) | ||
| 60 | %{_mandir}/man1/* | ||
| 61 | |||
| 62 | %defattr(-, root, root) | ||
| 63 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 64 | |||
| 65 | %defattr(0644, root, root) | ||
| 66 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 67 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 68 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 69 | %{kdedir}/share/applnk/Graphics/* | ||
| 70 | |||
| 71 | |||
| 72 | %changelog | ||
| 73 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 74 | - KDE integration, icons | ||
| 75 | - RPM customizations | ||
| 76 | - improved documentation | ||
| 77 | - color tool tip | ||
| 78 | |||
| 79 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 80 | - initial RPM |
dist/quax.spec.in
(80 / 0)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version @VERSION@ | ||
| 3 | %define release @RELEASE@ | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | |||
| 20 | %description | ||
| 21 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 22 | is very handy and friendly for newbies. There are few other tools for this | ||
| 23 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 24 | and take some time to figure how to use them. | ||
| 25 | But Quax is *very* easy to use. | ||
| 26 | |||
| 27 | |||
| 28 | %prep | ||
| 29 | %setup -n %{name}-%{version}-%{release} | ||
| 30 | |||
| 31 | |||
| 32 | %build | ||
| 33 | ./configure | ||
| 34 | PREFIX="%{_prefix}" make | ||
| 35 | |||
| 36 | |||
| 37 | %install | ||
| 38 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 39 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 40 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 41 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/applnk/Graphics | ||
| 44 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 45 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 46 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 47 | cp -f src/quax.desktop $RPM_BUILD_ROOT/%{kdedir}/share/applnk/Graphics | ||
| 48 | |||
| 49 | |||
| 50 | %clean | ||
| 51 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 52 | |||
| 53 | |||
| 54 | %files | ||
| 55 | |||
| 56 | %defattr(0755, root, root) | ||
| 57 | %{_prefix}/bin/* | ||
| 58 | |||
| 59 | %defattr(0644, root, root) | ||
| 60 | %{_mandir}/man1/* | ||
| 61 | |||
| 62 | %defattr(-, root, root) | ||
| 63 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 64 | |||
| 65 | %defattr(0644, root, root) | ||
| 66 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 67 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 68 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 69 | %{kdedir}/share/applnk/Graphics/* | ||
| 70 | |||
| 71 | |||
| 72 | %changelog | ||
| 73 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 74 | - KDE integration, icons | ||
| 75 | - RPM customizations | ||
| 76 | - improved documentation | ||
| 77 | - color tool tip | ||
| 78 | |||
| 79 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 80 | - initial RPM |
dist/quaxmdk.spec
(101 / 0)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version 1.0 | ||
| 3 | %define release 1 | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: Mandrake Linux 9.x | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 45 | mkdir -p $RPM_BUILD_ROOT/usr/share/applnk-mdk/Applications/Accessibility | ||
| 46 | mkdir -p $RPM_BUILD_ROOT/usr/share/applnk-mdk/Multimedia/Graphics | ||
| 47 | mkdir -p $RPM_BUILD_ROOT/usr/share/doc/HTML/en/quax | ||
| 48 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 49 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 50 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 51 | cp -f src/quax.desktop $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 52 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applnk-mdk/Applications/Accessibility | ||
| 53 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applnk-mdk/Multimedia/Graphics | ||
| 54 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 55 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 56 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | %clean | ||
| 62 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 63 | |||
| 64 | |||
| 65 | %files | ||
| 66 | |||
| 67 | %defattr(0755, root, root) | ||
| 68 | %{_prefix}/bin/* | ||
| 69 | |||
| 70 | %defattr(0644, root, root) | ||
| 71 | %{_mandir}/man1/* | ||
| 72 | |||
| 73 | %defattr(-, root, root) | ||
| 74 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 75 | %doc doc/quax.pdf doc/quax.ps | ||
| 76 | |||
| 77 | %defattr(0644, root, root) | ||
| 78 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 79 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 80 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 81 | %{kdedir}/share/applnk/Graphics/* | ||
| 82 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 83 | /usr/share/applnk-mdk/Applications/Accessibility/* | ||
| 84 | /usr/share/applnk-mdk/Multimedia/Graphics/* | ||
| 85 | |||
| 86 | |||
| 87 | %changelog | ||
| 88 | * Wed Nov 19 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 89 | - Added KDE documentation | ||
| 90 | |||
| 91 | * Sun Jun 15 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 92 | - Mandrake Linux integration | ||
| 93 | |||
| 94 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 95 | - KDE integration, icons | ||
| 96 | - RPM customizations | ||
| 97 | - improved documentation | ||
| 98 | - color tool tip | ||
| 99 | |||
| 100 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 101 | - initial RPM |
dist/quaxmdk.spec.in
(101 / 0)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version @VERSION@ | ||
| 3 | %define release @RELEASE@ | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: Mandrake Linux 9.x | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 45 | mkdir -p $RPM_BUILD_ROOT/usr/share/applnk-mdk/Applications/Accessibility | ||
| 46 | mkdir -p $RPM_BUILD_ROOT/usr/share/applnk-mdk/Multimedia/Graphics | ||
| 47 | mkdir -p $RPM_BUILD_ROOT/usr/share/doc/HTML/en/quax | ||
| 48 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 49 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 50 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 51 | cp -f src/quax.desktop $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 52 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applnk-mdk/Applications/Accessibility | ||
| 53 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applnk-mdk/Multimedia/Graphics | ||
| 54 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 55 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 56 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | %clean | ||
| 62 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 63 | |||
| 64 | |||
| 65 | %files | ||
| 66 | |||
| 67 | %defattr(0755, root, root) | ||
| 68 | %{_prefix}/bin/* | ||
| 69 | |||
| 70 | %defattr(0644, root, root) | ||
| 71 | %{_mandir}/man1/* | ||
| 72 | |||
| 73 | %defattr(-, root, root) | ||
| 74 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 75 | %doc doc/quax.pdf doc/quax.ps | ||
| 76 | |||
| 77 | %defattr(0644, root, root) | ||
| 78 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 79 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 80 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 81 | %{kdedir}/share/applnk/Graphics/* | ||
| 82 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 83 | /usr/share/applnk-mdk/Applications/Accessibility/* | ||
| 84 | /usr/share/applnk-mdk/Multimedia/Graphics/* | ||
| 85 | |||
| 86 | |||
| 87 | %changelog | ||
| 88 | * Wed Nov 19 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 89 | - Added KDE documentation | ||
| 90 | |||
| 91 | * Sun Jun 15 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 92 | - Mandrake Linux integration | ||
| 93 | |||
| 94 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 95 | - KDE integration, icons | ||
| 96 | - RPM customizations | ||
| 97 | - improved documentation | ||
| 98 | - color tool tip | ||
| 99 | |||
| 100 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 101 | - initial RPM |
dist/quaxrh90.spec
(100 / 0)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version 1.0 | ||
| 3 | %define release 1 | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: RedHat 9.0 | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT/usr/share/applications | ||
| 45 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax | ||
| 46 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/16x16/apps/quax.png | ||
| 47 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/32x32/apps/quax.png | ||
| 48 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/48x48/apps/quax.png | ||
| 49 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applications/kde-quax.desktop | ||
| 50 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 51 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 52 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 53 | |||
| 54 | %clean | ||
| 55 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 56 | |||
| 57 | |||
| 58 | %post | ||
| 59 | ln -sf /usr/share/applications/kde-quax.desktop /var/lib/menu/kde/Applications/Graphics/kde-quax.desktop | ||
| 60 | |||
| 61 | |||
| 62 | %postun | ||
| 63 | rm -f /var/lib/menu/kde/Applications/Graphics/kde-quax.desktop | ||
| 64 | |||
| 65 | |||
| 66 | %files | ||
| 67 | |||
| 68 | %defattr(0755, root, root) | ||
| 69 | %{_prefix}/bin/* | ||
| 70 | |||
| 71 | %defattr(0644, root, root) | ||
| 72 | %{_mandir}/man1/* | ||
| 73 | |||
| 74 | %defattr(-, root, root) | ||
| 75 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 76 | %doc doc/quax.pdf doc/quax.ps | ||
| 77 | |||
| 78 | %defattr(0644, root, root) | ||
| 79 | %{kdedir}/share/icons/crystalsvg/16x16/apps/* | ||
| 80 | %{kdedir}/share/icons/crystalsvg/32x32/apps/* | ||
| 81 | %{kdedir}/share/icons/crystalsvg/48x48/apps/* | ||
| 82 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 83 | /usr/share/applications/* | ||
| 84 | |||
| 85 | |||
| 86 | %changelog | ||
| 87 | * Mon Nov 17 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 88 | - Added KDE documentation | ||
| 89 | |||
| 90 | * Sun Jun 16 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 91 | - Spec file for RedHat 9.0 | ||
| 92 | |||
| 93 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 94 | - KDE integration, icons | ||
| 95 | - RPM customizations | ||
| 96 | - improved documentation | ||
| 97 | - color tool tip | ||
| 98 | |||
| 99 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 100 | - initial RPM |
dist/quaxrh90.spec.in
(100 / 0)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version @VERSION@ | ||
| 3 | %define release @RELEASE@ | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: RedHat 9.0 | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT/usr/share/applications | ||
| 45 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax | ||
| 46 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/16x16/apps/quax.png | ||
| 47 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/32x32/apps/quax.png | ||
| 48 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/48x48/apps/quax.png | ||
| 49 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applications/kde-quax.desktop | ||
| 50 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 51 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 52 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 53 | |||
| 54 | %clean | ||
| 55 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 56 | |||
| 57 | |||
| 58 | %post | ||
| 59 | ln -sf /usr/share/applications/kde-quax.desktop /var/lib/menu/kde/Applications/Graphics/kde-quax.desktop | ||
| 60 | |||
| 61 | |||
| 62 | %postun | ||
| 63 | rm -f /var/lib/menu/kde/Applications/Graphics/kde-quax.desktop | ||
| 64 | |||
| 65 | |||
| 66 | %files | ||
| 67 | |||
| 68 | %defattr(0755, root, root) | ||
| 69 | %{_prefix}/bin/* | ||
| 70 | |||
| 71 | %defattr(0644, root, root) | ||
| 72 | %{_mandir}/man1/* | ||
| 73 | |||
| 74 | %defattr(-, root, root) | ||
| 75 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 76 | %doc doc/quax.pdf doc/quax.ps | ||
| 77 | |||
| 78 | %defattr(0644, root, root) | ||
| 79 | %{kdedir}/share/icons/crystalsvg/16x16/apps/* | ||
| 80 | %{kdedir}/share/icons/crystalsvg/32x32/apps/* | ||
| 81 | %{kdedir}/share/icons/crystalsvg/48x48/apps/* | ||
| 82 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 83 | /usr/share/applications/* | ||
| 84 | |||
| 85 | |||
| 86 | %changelog | ||
| 87 | * Mon Nov 17 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 88 | - Added KDE documentation | ||
| 89 | |||
| 90 | * Sun Jun 16 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 91 | - Spec file for RedHat 9.0 | ||
| 92 | |||
| 93 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 94 | - KDE integration, icons | ||
| 95 | - RPM customizations | ||
| 96 | - improved documentation | ||
| 97 | - color tool tip | ||
| 98 | |||
| 99 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 100 | - initial RPM |
dist/quaxsuse.spec
(95 / 0)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version 1.0 | ||
| 3 | %define release 1 | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /opt/kde3 | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: SuSE 8.x | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 45 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 46 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 47 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 48 | cp -f src/quax.desktop $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 49 | |||
| 50 | |||
| 51 | %clean | ||
| 52 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 53 | |||
| 54 | |||
| 55 | %post | ||
| 56 | # if SuSE KDE extension is available, then install desktop file for it | ||
| 57 | if test -d /etc/opt/kde3/share/applnk/SuSE/Graphics ; then | ||
| 58 | cp -f %{kdedir}/share/applnk/Graphics/quax.desktop /etc/opt/kde3/share/applnk/SuSE/Graphics | ||
| 59 | fi | ||
| 60 | |||
| 61 | |||
| 62 | %postun | ||
| 63 | lnkfile="/etc/opt/kde3/share/applnk/SuSE/Graphics/quax.desktop" | ||
| 64 | if test -f $lnkfile ; then | ||
| 65 | rm -r $lnkfile | ||
| 66 | fi | ||
| 67 | |||
| 68 | |||
| 69 | %files | ||
| 70 | |||
| 71 | %defattr(0755, root, root) | ||
| 72 | %{_prefix}/bin/* | ||
| 73 | |||
| 74 | %defattr(0644, root, root) | ||
| 75 | %{_mandir}/man1/* | ||
| 76 | |||
| 77 | %defattr(-, root, root) | ||
| 78 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 79 | |||
| 80 | %defattr(0644, root, root) | ||
| 81 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 82 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 83 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 84 | %{kdedir}/share/applnk/Graphics/* | ||
| 85 | |||
| 86 | |||
| 87 | %changelog | ||
| 88 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 89 | - KDE integration, icons | ||
| 90 | - RPM customizations | ||
| 91 | - improved documentation | ||
| 92 | - color tool tip | ||
| 93 | |||
| 94 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 95 | - initial RPM |
dist/quaxsuse.spec.in
(104 / 0)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version @VERSION@ | ||
| 3 | %define release @RELEASE@ | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /opt/kde3 | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: SuSE 8.x | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 45 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax | ||
| 46 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 47 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 48 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 49 | cp -f src/quax.desktop $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 50 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 51 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 52 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 53 | |||
| 54 | |||
| 55 | %clean | ||
| 56 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 57 | |||
| 58 | |||
| 59 | %post | ||
| 60 | # if SuSE KDE extension is available, then install desktop file for it | ||
| 61 | if test -d /etc/opt/kde3/share/applnk/SuSE/Graphics ; then | ||
| 62 | cp -f %{kdedir}/share/applnk/Graphics/quax.desktop /etc/opt/kde3/share/applnk/SuSE/Graphics | ||
| 63 | fi | ||
| 64 | |||
| 65 | |||
| 66 | %postun | ||
| 67 | lnkfile="/etc/opt/kde3/share/applnk/SuSE/Graphics/quax.desktop" | ||
| 68 | if test -f $lnkfile ; then | ||
| 69 | rm -r $lnkfile | ||
| 70 | fi | ||
| 71 | |||
| 72 | |||
| 73 | %files | ||
| 74 | |||
| 75 | %defattr(0755, root, root) | ||
| 76 | %{_prefix}/bin/* | ||
| 77 | |||
| 78 | %defattr(0644, root, root) | ||
| 79 | %{_mandir}/man1/* | ||
| 80 | |||
| 81 | %defattr(-, root, root) | ||
| 82 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 83 | %doc doc/quax.pdf doc/quax.ps | ||
| 84 | |||
| 85 | %defattr(0644, root, root) | ||
| 86 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 87 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 88 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 89 | %{kdedir}/share/applnk/Graphics/* | ||
| 90 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 91 | |||
| 92 | |||
| 93 | %changelog | ||
| 94 | * Wed Nov 19 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 95 | - Added KDE documentation | ||
| 96 | |||
| 97 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 98 | - KDE integration, icons | ||
| 99 | - RPM customizations | ||
| 100 | - improved documentation | ||
| 101 | - color tool tip | ||
| 102 | |||
| 103 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 104 | - initial RPM |
makerpm.sh
(0 / 29)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # get the current version & release | ||
| 4 | version=`cat VERSION | cut -d- -f 1` | ||
| 5 | release=`cat VERSION | cut -d- -f 2` | ||
| 6 | |||
| 7 | # make sure there's no objects and binaries arround | ||
| 8 | make clean | ||
| 9 | rm -f src/quax | ||
| 10 | |||
| 11 | # reconfigure things just to make sure rpmspec is good | ||
| 12 | ./configure | ||
| 13 | |||
| 14 | # make a new snapshot | ||
| 15 | mkdir -p ../quax-$version-$release | ||
| 16 | cp -r . ../quax-$version-$release/ | ||
| 17 | |||
| 18 | # jump a step behind | ||
| 19 | cd .. | ||
| 20 | |||
| 21 | # make archive from it and then delete local copy | ||
| 22 | tar cfz quax-$version-$release.tar.gz quax-$version-$release | ||
| 23 | rm -r quax-$version-$release | ||
| 24 | |||
| 25 | # build the RPM | ||
| 26 | rpmbuild -ta quax-$version-$release.tar.gz | ||
| 27 | |||
| 28 | # back to work... | ||
| 29 | cd quax |
makerpmmdk.sh
(0 / 35)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export QTDIR=/usr/lib/qt3 | ||
| 4 | |||
| 5 | # get the current version & release | ||
| 6 | version=`cat VERSION | cut -d- -f 1` | ||
| 7 | release=`cat VERSION | cut -d- -f 2` | ||
| 8 | |||
| 9 | # make sure there's no objects and binaries arround | ||
| 10 | make clean | ||
| 11 | rm -f src/quax | ||
| 12 | |||
| 13 | # reconfigure things just to make sure rpmspec is good | ||
| 14 | ./configure | ||
| 15 | |||
| 16 | # make a new snapshot | ||
| 17 | mkdir -p ../quax-$version-$release | ||
| 18 | cp -r . ../quax-$version-$release/ | ||
| 19 | |||
| 20 | # jump a step behind | ||
| 21 | cd .. | ||
| 22 | |||
| 23 | # make archive from it and then delete local copy | ||
| 24 | tar cfz quax-$version-$release.tar.gz quax-$version-$release | ||
| 25 | rm -r quax-$version-$release | ||
| 26 | |||
| 27 | # build the RPM | ||
| 28 | cp -f quax/quaxmdk.spec /usr/src/RPM/SPECS | ||
| 29 | cp -f quax-$version-$release.tar.gz /usr/src/RPM/SOURCES | ||
| 30 | rpm -ba /usr/src/RPM/SPECS/quaxmdk.spec | ||
| 31 | rm -f /usr/src/RPM/SPECS/quaxmdk.spec | ||
| 32 | rm -f /usr/src/RPM/SOURCES/quax-$version-$release.tar.gz | ||
| 33 | |||
| 34 | # back to work... | ||
| 35 | cd quax |
makerpmrh90.sh
(0 / 35)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export QTDIR=/usr/lib/qt-3.1 | ||
| 4 | |||
| 5 | # get the current version & release | ||
| 6 | version=`cat VERSION | cut -d- -f 1` | ||
| 7 | release=`cat VERSION | cut -d- -f 2` | ||
| 8 | |||
| 9 | # make sure there's no objects and binaries arround | ||
| 10 | make clean | ||
| 11 | rm -f src/quax | ||
| 12 | |||
| 13 | # reconfigure things just to make sure rpmspec is good | ||
| 14 | ./configure | ||
| 15 | |||
| 16 | # make a new snapshot | ||
| 17 | mkdir -p ../quax-$version-$release | ||
| 18 | cp -r . ../quax-$version-$release/ | ||
| 19 | |||
| 20 | # jump a step behind | ||
| 21 | cd .. | ||
| 22 | |||
| 23 | # make archive from it and then delete local copy | ||
| 24 | tar cfz quax-$version-$release.tar.gz quax-$version-$release | ||
| 25 | rm -r quax-$version-$release | ||
| 26 | |||
| 27 | # build the RPM | ||
| 28 | cp -f quax/quaxrh90.spec /usr/src/redhat/SPECS | ||
| 29 | cp -f quax-$version-$release.tar.gz /usr/src/redhat/SOURCES | ||
| 30 | rpmbuild -ba /usr/src/redhat/SPECS/quaxrh90.spec | ||
| 31 | rm -f /usr/src/redhat/SPECS/quaxrh90.spec | ||
| 32 | rm -f /usr/src/redhat/SOURCES/quax-$version-$release.tar.gz | ||
| 33 | |||
| 34 | # back to work... | ||
| 35 | cd quax |
makerpmsuse.sh
(0 / 35)
|   | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | export QTDIR=/usr/lib/qt3 | ||
| 4 | |||
| 5 | # get the current version & release | ||
| 6 | version=`cat VERSION | cut -d- -f 1` | ||
| 7 | release=`cat VERSION | cut -d- -f 2` | ||
| 8 | |||
| 9 | # make sure there's no objects and binaries arround | ||
| 10 | make clean | ||
| 11 | rm -f src/quax | ||
| 12 | |||
| 13 | # reconfigure things just to make sure rpmspec is good | ||
| 14 | ./configure | ||
| 15 | |||
| 16 | # make a new snapshot | ||
| 17 | mkdir -p ../quax-$version-$release | ||
| 18 | cp -r . ../quax-$version-$release/ | ||
| 19 | |||
| 20 | # jump a step behind | ||
| 21 | cd .. | ||
| 22 | |||
| 23 | # make archive from it and then delete local copy | ||
| 24 | tar cfz quax-$version-$release.tar.gz quax-$version-$release | ||
| 25 | rm -r quax-$version-$release | ||
| 26 | |||
| 27 | # build the RPM | ||
| 28 | cp -f quax/quaxsuse.spec /usr/src/packages/SPECS | ||
| 29 | cp -f quax-$version-$release.tar.gz /usr/src/packages/SOURCES | ||
| 30 | rpm -ba /usr/src/packages/SPECS/quaxsuse.spec | ||
| 31 | rm -f /usr/src/packages/SPECS/quaxsuse.spec | ||
| 32 | rm -f /usr/src/packages/SOURCES/quax-$version-$release.tar.gz | ||
| 33 | |||
| 34 | # back to work... | ||
| 35 | cd quax |
quax.lsm
(0 / 14)
|   | |||
| 1 | Begin4 | ||
| 2 | Title: Quax | ||
| 3 | Version: 1.0-1 | ||
| 4 | Entered-date: Sun May 25 2003 | ||
| 5 | Description: A neat desktop zooming tool | ||
| 6 | Keywords: X11, zoom, desktop, graphics Qt, KDE, web design | ||
| 7 | Author: Claudiu Costin <claudiuc@kde.org> | ||
| 8 | Maintained-by: Claudiu Costin <claudiuc@kde.org> | ||
| 9 | Primary-site: http://www.ro.kde.org/quax/ | ||
| 10 | Home-page: http://www.ro.kde.org/quax/ | ||
| 11 | Original-site: http://www.ro.kde.org/quax/ | ||
| 12 | Platforms: Linux and other Unices | ||
| 13 | Copying-policy: GNU Public License | ||
| 14 | End |
quax.lsm.in
(0 / 14)
|   | |||
| 1 | Begin4 | ||
| 2 | Title: Quax | ||
| 3 | Version: @VERSION@-@RELEASE@ | ||
| 4 | Entered-date: Sun May 25 2003 | ||
| 5 | Description: A neat desktop zooming tool | ||
| 6 | Keywords: X11, zoom, desktop, graphics Qt, KDE, web design | ||
| 7 | Author: Claudiu Costin <claudiuc@kde.org> | ||
| 8 | Maintained-by: Claudiu Costin <claudiuc@kde.org> | ||
| 9 | Primary-site: http://www.ro.kde.org/quax/ | ||
| 10 | Home-page: http://www.ro.kde.org/quax/ | ||
| 11 | Original-site: http://www.ro.kde.org/quax/ | ||
| 12 | Platforms: Linux and other Unices | ||
| 13 | Copying-policy: GNU Public License | ||
| 14 | End |
quax.pro
(3 / 0)
|   | |||
| 1 | TEMPLATE = subdirs | ||
| 2 | CONFIG += ordered | ||
| 3 | SUBDIRS = src/quax.pro |
quax.spec
(0 / 80)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version 1.0 | ||
| 3 | %define release 1 | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | |||
| 20 | %description | ||
| 21 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 22 | is very handy and friendly for newbies. There are few other tools for this | ||
| 23 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 24 | and take some time to figure how to use them. | ||
| 25 | But Quax is *very* easy to use. | ||
| 26 | |||
| 27 | |||
| 28 | %prep | ||
| 29 | %setup -n %{name}-%{version}-%{release} | ||
| 30 | |||
| 31 | |||
| 32 | %build | ||
| 33 | ./configure | ||
| 34 | PREFIX="%{_prefix}" make | ||
| 35 | |||
| 36 | |||
| 37 | %install | ||
| 38 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 39 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 40 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 41 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/applnk/Graphics | ||
| 44 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 45 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 46 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 47 | cp -f src/quax.desktop $RPM_BUILD_ROOT/%{kdedir}/share/applnk/Graphics | ||
| 48 | |||
| 49 | |||
| 50 | %clean | ||
| 51 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 52 | |||
| 53 | |||
| 54 | %files | ||
| 55 | |||
| 56 | %defattr(0755, root, root) | ||
| 57 | %{_prefix}/bin/* | ||
| 58 | |||
| 59 | %defattr(0644, root, root) | ||
| 60 | %{_mandir}/man1/* | ||
| 61 | |||
| 62 | %defattr(-, root, root) | ||
| 63 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 64 | |||
| 65 | %defattr(0644, root, root) | ||
| 66 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 67 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 68 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 69 | %{kdedir}/share/applnk/Graphics/* | ||
| 70 | |||
| 71 | |||
| 72 | %changelog | ||
| 73 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 74 | - KDE integration, icons | ||
| 75 | - RPM customizations | ||
| 76 | - improved documentation | ||
| 77 | - color tool tip | ||
| 78 | |||
| 79 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 80 | - initial RPM |
quax.spec.in
(0 / 80)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version @VERSION@ | ||
| 3 | %define release @RELEASE@ | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | |||
| 20 | %description | ||
| 21 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 22 | is very handy and friendly for newbies. There are few other tools for this | ||
| 23 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 24 | and take some time to figure how to use them. | ||
| 25 | But Quax is *very* easy to use. | ||
| 26 | |||
| 27 | |||
| 28 | %prep | ||
| 29 | %setup -n %{name}-%{version}-%{release} | ||
| 30 | |||
| 31 | |||
| 32 | %build | ||
| 33 | ./configure | ||
| 34 | PREFIX="%{_prefix}" make | ||
| 35 | |||
| 36 | |||
| 37 | %install | ||
| 38 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 39 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 40 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 41 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT/%{kdedir}/share/applnk/Graphics | ||
| 44 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 45 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 46 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT/%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 47 | cp -f src/quax.desktop $RPM_BUILD_ROOT/%{kdedir}/share/applnk/Graphics | ||
| 48 | |||
| 49 | |||
| 50 | %clean | ||
| 51 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 52 | |||
| 53 | |||
| 54 | %files | ||
| 55 | |||
| 56 | %defattr(0755, root, root) | ||
| 57 | %{_prefix}/bin/* | ||
| 58 | |||
| 59 | %defattr(0644, root, root) | ||
| 60 | %{_mandir}/man1/* | ||
| 61 | |||
| 62 | %defattr(-, root, root) | ||
| 63 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 64 | |||
| 65 | %defattr(0644, root, root) | ||
| 66 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 67 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 68 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 69 | %{kdedir}/share/applnk/Graphics/* | ||
| 70 | |||
| 71 | |||
| 72 | %changelog | ||
| 73 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 74 | - KDE integration, icons | ||
| 75 | - RPM customizations | ||
| 76 | - improved documentation | ||
| 77 | - color tool tip | ||
| 78 | |||
| 79 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 80 | - initial RPM |
quaxmdk.spec
(0 / 101)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version 1.0 | ||
| 3 | %define release 1 | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: Mandrake Linux 9.x | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 45 | mkdir -p $RPM_BUILD_ROOT/usr/share/applnk-mdk/Applications/Accessibility | ||
| 46 | mkdir -p $RPM_BUILD_ROOT/usr/share/applnk-mdk/Multimedia/Graphics | ||
| 47 | mkdir -p $RPM_BUILD_ROOT/usr/share/doc/HTML/en/quax | ||
| 48 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 49 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 50 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 51 | cp -f src/quax.desktop $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 52 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applnk-mdk/Applications/Accessibility | ||
| 53 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applnk-mdk/Multimedia/Graphics | ||
| 54 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 55 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 56 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | %clean | ||
| 62 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 63 | |||
| 64 | |||
| 65 | %files | ||
| 66 | |||
| 67 | %defattr(0755, root, root) | ||
| 68 | %{_prefix}/bin/* | ||
| 69 | |||
| 70 | %defattr(0644, root, root) | ||
| 71 | %{_mandir}/man1/* | ||
| 72 | |||
| 73 | %defattr(-, root, root) | ||
| 74 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 75 | %doc doc/quax.pdf doc/quax.ps | ||
| 76 | |||
| 77 | %defattr(0644, root, root) | ||
| 78 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 79 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 80 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 81 | %{kdedir}/share/applnk/Graphics/* | ||
| 82 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 83 | /usr/share/applnk-mdk/Applications/Accessibility/* | ||
| 84 | /usr/share/applnk-mdk/Multimedia/Graphics/* | ||
| 85 | |||
| 86 | |||
| 87 | %changelog | ||
| 88 | * Wed Nov 19 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 89 | - Added KDE documentation | ||
| 90 | |||
| 91 | * Sun Jun 15 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 92 | - Mandrake Linux integration | ||
| 93 | |||
| 94 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 95 | - KDE integration, icons | ||
| 96 | - RPM customizations | ||
| 97 | - improved documentation | ||
| 98 | - color tool tip | ||
| 99 | |||
| 100 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 101 | - initial RPM |
quaxmdk.spec.in
(0 / 101)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version @VERSION@ | ||
| 3 | %define release @RELEASE@ | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: Mandrake Linux 9.x | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 45 | mkdir -p $RPM_BUILD_ROOT/usr/share/applnk-mdk/Applications/Accessibility | ||
| 46 | mkdir -p $RPM_BUILD_ROOT/usr/share/applnk-mdk/Multimedia/Graphics | ||
| 47 | mkdir -p $RPM_BUILD_ROOT/usr/share/doc/HTML/en/quax | ||
| 48 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 49 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 50 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 51 | cp -f src/quax.desktop $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 52 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applnk-mdk/Applications/Accessibility | ||
| 53 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applnk-mdk/Multimedia/Graphics | ||
| 54 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 55 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 56 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | %clean | ||
| 62 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 63 | |||
| 64 | |||
| 65 | %files | ||
| 66 | |||
| 67 | %defattr(0755, root, root) | ||
| 68 | %{_prefix}/bin/* | ||
| 69 | |||
| 70 | %defattr(0644, root, root) | ||
| 71 | %{_mandir}/man1/* | ||
| 72 | |||
| 73 | %defattr(-, root, root) | ||
| 74 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 75 | %doc doc/quax.pdf doc/quax.ps | ||
| 76 | |||
| 77 | %defattr(0644, root, root) | ||
| 78 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 79 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 80 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 81 | %{kdedir}/share/applnk/Graphics/* | ||
| 82 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 83 | /usr/share/applnk-mdk/Applications/Accessibility/* | ||
| 84 | /usr/share/applnk-mdk/Multimedia/Graphics/* | ||
| 85 | |||
| 86 | |||
| 87 | %changelog | ||
| 88 | * Wed Nov 19 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 89 | - Added KDE documentation | ||
| 90 | |||
| 91 | * Sun Jun 15 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 92 | - Mandrake Linux integration | ||
| 93 | |||
| 94 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 95 | - KDE integration, icons | ||
| 96 | - RPM customizations | ||
| 97 | - improved documentation | ||
| 98 | - color tool tip | ||
| 99 | |||
| 100 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 101 | - initial RPM |
quaxrh90.spec
(0 / 100)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version 1.0 | ||
| 3 | %define release 1 | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: RedHat 9.0 | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT/usr/share/applications | ||
| 45 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax | ||
| 46 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/16x16/apps/quax.png | ||
| 47 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/32x32/apps/quax.png | ||
| 48 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/48x48/apps/quax.png | ||
| 49 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applications/kde-quax.desktop | ||
| 50 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 51 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 52 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 53 | |||
| 54 | %clean | ||
| 55 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 56 | |||
| 57 | |||
| 58 | %post | ||
| 59 | ln -sf /usr/share/applications/kde-quax.desktop /var/lib/menu/kde/Applications/Graphics/kde-quax.desktop | ||
| 60 | |||
| 61 | |||
| 62 | %postun | ||
| 63 | rm -f /var/lib/menu/kde/Applications/Graphics/kde-quax.desktop | ||
| 64 | |||
| 65 | |||
| 66 | %files | ||
| 67 | |||
| 68 | %defattr(0755, root, root) | ||
| 69 | %{_prefix}/bin/* | ||
| 70 | |||
| 71 | %defattr(0644, root, root) | ||
| 72 | %{_mandir}/man1/* | ||
| 73 | |||
| 74 | %defattr(-, root, root) | ||
| 75 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 76 | %doc doc/quax.pdf doc/quax.ps | ||
| 77 | |||
| 78 | %defattr(0644, root, root) | ||
| 79 | %{kdedir}/share/icons/crystalsvg/16x16/apps/* | ||
| 80 | %{kdedir}/share/icons/crystalsvg/32x32/apps/* | ||
| 81 | %{kdedir}/share/icons/crystalsvg/48x48/apps/* | ||
| 82 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 83 | /usr/share/applications/* | ||
| 84 | |||
| 85 | |||
| 86 | %changelog | ||
| 87 | * Mon Nov 17 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 88 | - Added KDE documentation | ||
| 89 | |||
| 90 | * Sun Jun 16 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 91 | - Spec file for RedHat 9.0 | ||
| 92 | |||
| 93 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 94 | - KDE integration, icons | ||
| 95 | - RPM customizations | ||
| 96 | - improved documentation | ||
| 97 | - color tool tip | ||
| 98 | |||
| 99 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 100 | - initial RPM |
quaxrh90.spec.in
(0 / 100)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version @VERSION@ | ||
| 3 | %define release @RELEASE@ | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /usr | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: RedHat 9.0 | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT/usr/share/applications | ||
| 45 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax | ||
| 46 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/16x16/apps/quax.png | ||
| 47 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/32x32/apps/quax.png | ||
| 48 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/crystalsvg/48x48/apps/quax.png | ||
| 49 | cp -f src/quax.desktop $RPM_BUILD_ROOT/usr/share/applications/kde-quax.desktop | ||
| 50 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 51 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 52 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 53 | |||
| 54 | %clean | ||
| 55 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 56 | |||
| 57 | |||
| 58 | %post | ||
| 59 | ln -sf /usr/share/applications/kde-quax.desktop /var/lib/menu/kde/Applications/Graphics/kde-quax.desktop | ||
| 60 | |||
| 61 | |||
| 62 | %postun | ||
| 63 | rm -f /var/lib/menu/kde/Applications/Graphics/kde-quax.desktop | ||
| 64 | |||
| 65 | |||
| 66 | %files | ||
| 67 | |||
| 68 | %defattr(0755, root, root) | ||
| 69 | %{_prefix}/bin/* | ||
| 70 | |||
| 71 | %defattr(0644, root, root) | ||
| 72 | %{_mandir}/man1/* | ||
| 73 | |||
| 74 | %defattr(-, root, root) | ||
| 75 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 76 | %doc doc/quax.pdf doc/quax.ps | ||
| 77 | |||
| 78 | %defattr(0644, root, root) | ||
| 79 | %{kdedir}/share/icons/crystalsvg/16x16/apps/* | ||
| 80 | %{kdedir}/share/icons/crystalsvg/32x32/apps/* | ||
| 81 | %{kdedir}/share/icons/crystalsvg/48x48/apps/* | ||
| 82 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 83 | /usr/share/applications/* | ||
| 84 | |||
| 85 | |||
| 86 | %changelog | ||
| 87 | * Mon Nov 17 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 88 | - Added KDE documentation | ||
| 89 | |||
| 90 | * Sun Jun 16 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 91 | - Spec file for RedHat 9.0 | ||
| 92 | |||
| 93 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 94 | - KDE integration, icons | ||
| 95 | - RPM customizations | ||
| 96 | - improved documentation | ||
| 97 | - color tool tip | ||
| 98 | |||
| 99 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 100 | - initial RPM |
quaxsuse.spec
(0 / 95)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version 1.0 | ||
| 3 | %define release 1 | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /opt/kde3 | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: SuSE 8.x | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 45 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 46 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 47 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 48 | cp -f src/quax.desktop $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 49 | |||
| 50 | |||
| 51 | %clean | ||
| 52 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 53 | |||
| 54 | |||
| 55 | %post | ||
| 56 | # if SuSE KDE extension is available, then install desktop file for it | ||
| 57 | if test -d /etc/opt/kde3/share/applnk/SuSE/Graphics ; then | ||
| 58 | cp -f %{kdedir}/share/applnk/Graphics/quax.desktop /etc/opt/kde3/share/applnk/SuSE/Graphics | ||
| 59 | fi | ||
| 60 | |||
| 61 | |||
| 62 | %postun | ||
| 63 | lnkfile="/etc/opt/kde3/share/applnk/SuSE/Graphics/quax.desktop" | ||
| 64 | if test -f $lnkfile ; then | ||
| 65 | rm -r $lnkfile | ||
| 66 | fi | ||
| 67 | |||
| 68 | |||
| 69 | %files | ||
| 70 | |||
| 71 | %defattr(0755, root, root) | ||
| 72 | %{_prefix}/bin/* | ||
| 73 | |||
| 74 | %defattr(0644, root, root) | ||
| 75 | %{_mandir}/man1/* | ||
| 76 | |||
| 77 | %defattr(-, root, root) | ||
| 78 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 79 | |||
| 80 | %defattr(0644, root, root) | ||
| 81 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 82 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 83 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 84 | %{kdedir}/share/applnk/Graphics/* | ||
| 85 | |||
| 86 | |||
| 87 | %changelog | ||
| 88 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 89 | - KDE integration, icons | ||
| 90 | - RPM customizations | ||
| 91 | - improved documentation | ||
| 92 | - color tool tip | ||
| 93 | |||
| 94 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 95 | - initial RPM |
quaxsuse.spec.in
(0 / 104)
|   | |||
| 1 | %define name quax | ||
| 2 | %define version @VERSION@ | ||
| 3 | %define release @RELEASE@ | ||
| 4 | %define builddir $RPM_BUILD_DIR/%{name}-%{version}-%{release} | ||
| 5 | %define kdedir /opt/kde3 | ||
| 6 | |||
| 7 | Name: %{name} | ||
| 8 | Version: %{version} | ||
| 9 | Release: %{release} | ||
| 10 | Vendor: Claudiu Costin <claudiuc@kde.org> | ||
| 11 | Packager: Claudiu Costin <claudiuc@kde.org> | ||
| 12 | URL: http://www.ro.kde.org/quax/ | ||
| 13 | Source: %{name}-%{version}-%{release}.tar.gz | ||
| 14 | Group: System/X11/Utilities | ||
| 15 | Copyright: GPL | ||
| 16 | Provides: quax | ||
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} | ||
| 18 | Summary: A neat desktop zooming tool | ||
| 19 | Distribution: SuSE 8.x | ||
| 20 | |||
| 21 | %description | ||
| 22 | Quax is a desktop zooming tool intended especially for web developers, but | ||
| 23 | is very handy and friendly for newbies. There are few other tools for this | ||
| 24 | task: XMag, KMag and KZoom. All of them are full featured applications | ||
| 25 | and take some time to figure how to use them. | ||
| 26 | But Quax is *very* easy to use. | ||
| 27 | |||
| 28 | |||
| 29 | %prep | ||
| 30 | %setup -n %{name}-%{version}-%{release} | ||
| 31 | |||
| 32 | |||
| 33 | %build | ||
| 34 | ./configure | ||
| 35 | PREFIX="%{_prefix}" make | ||
| 36 | |||
| 37 | |||
| 38 | %install | ||
| 39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 40 | PREFIX="%{_prefix}" INSTALL_ROOT="$RPM_BUILD_ROOT" make install | ||
| 41 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps | ||
| 42 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps | ||
| 43 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps | ||
| 44 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 45 | mkdir -p $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax | ||
| 46 | cp -f src/quax-hi16.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/16x16/apps/quax.png | ||
| 47 | cp -f src/quax-hi32.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/32x32/apps/quax.png | ||
| 48 | cp -f src/quax-hi48.png $RPM_BUILD_ROOT%{kdedir}/share/icons/hicolor/48x48/apps/quax.png | ||
| 49 | cp -f src/quax.desktop $RPM_BUILD_ROOT%{kdedir}/share/applnk/Graphics | ||
| 50 | cp -f doc/*.png $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/ | ||
| 51 | cp -f doc/quax.docbook $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax/index.docbook | ||
| 52 | ( cd $RPM_BUILD_ROOT%{kdedir}/share/doc/HTML/en/quax && ln -s ../common common ) | ||
| 53 | |||
| 54 | |||
| 55 | %clean | ||
| 56 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" | ||
| 57 | |||
| 58 | |||
| 59 | %post | ||
| 60 | # if SuSE KDE extension is available, then install desktop file for it | ||
| 61 | if test -d /etc/opt/kde3/share/applnk/SuSE/Graphics ; then | ||
| 62 | cp -f %{kdedir}/share/applnk/Graphics/quax.desktop /etc/opt/kde3/share/applnk/SuSE/Graphics | ||
| 63 | fi | ||
| 64 | |||
| 65 | |||
| 66 | %postun | ||
| 67 | lnkfile="/etc/opt/kde3/share/applnk/SuSE/Graphics/quax.desktop" | ||
| 68 | if test -f $lnkfile ; then | ||
| 69 | rm -r $lnkfile | ||
| 70 | fi | ||
| 71 | |||
| 72 | |||
| 73 | %files | ||
| 74 | |||
| 75 | %defattr(0755, root, root) | ||
| 76 | %{_prefix}/bin/* | ||
| 77 | |||
| 78 | %defattr(0644, root, root) | ||
| 79 | %{_mandir}/man1/* | ||
| 80 | |||
| 81 | %defattr(-, root, root) | ||
| 82 | %doc AUTHORS BUGS COPYING CREDITS ChangeLog Doxyfile INSTALL README TODO VERSION quax.lsm | ||
| 83 | %doc doc/quax.pdf doc/quax.ps | ||
| 84 | |||
| 85 | %defattr(0644, root, root) | ||
| 86 | %{kdedir}/share/icons/hicolor/16x16/apps/* | ||
| 87 | %{kdedir}/share/icons/hicolor/32x32/apps/* | ||
| 88 | %{kdedir}/share/icons/hicolor/48x48/apps/* | ||
| 89 | %{kdedir}/share/applnk/Graphics/* | ||
| 90 | %{kdedir}/share/doc/HTML/en/quax/* | ||
| 91 | |||
| 92 | |||
| 93 | %changelog | ||
| 94 | * Wed Nov 19 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 95 | - Added KDE documentation | ||
| 96 | |||
| 97 | * Sun Jun 08 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 98 | - KDE integration, icons | ||
| 99 | - RPM customizations | ||
| 100 | - improved documentation | ||
| 101 | - color tool tip | ||
| 102 | |||
| 103 | * Sat May 25 2003 Claudiu Costin <claudiuc@kde.org> | ||
| 104 | - initial RPM |
src/quax.dsp
(0 / 181)
|   | |||
| 1 | # Microsoft Developer Studio Project File - Name="quax" - Package Owner=<4> | ||
| 2 | # Microsoft Developer Studio Generated Build File, Format Version 6.00 | ||
| 3 | # ** DO NOT EDIT ** | ||
| 4 | |||
| 5 | # TARGTYPE "Win32 (x86) Application" 0x0101 | ||
| 6 | |||
| 7 | CFG=quax - Win32 Debug | ||
| 8 | !MESSAGE This is not a valid makefile. To build this project using NMAKE, | ||
| 9 | !MESSAGE use the Export Makefile command and run | ||
| 10 | !MESSAGE | ||
| 11 | !MESSAGE NMAKE /f "quax.mak". | ||
| 12 | !MESSAGE | ||
| 13 | !MESSAGE You can specify a configuration when running NMAKE | ||
| 14 | !MESSAGE by defining the macro CFG on the command line. For example: | ||
| 15 | !MESSAGE | ||
| 16 | !MESSAGE NMAKE /f "quax.mak" CFG="quax - Win32 Debug" | ||
| 17 | !MESSAGE | ||
| 18 | !MESSAGE Possible choices for configuration are: | ||
| 19 | !MESSAGE | ||
| 20 | !MESSAGE "quax - Win32 Release" (based on "Win32 (x86) Application") | ||
| 21 | !MESSAGE "quax - Win32 Debug" (based on "Win32 (x86) Application") | ||
| 22 | !MESSAGE | ||
| 23 | |||
| 24 | # Begin Project | ||
| 25 | # PROP AllowPerConfigDependencies 0 | ||
| 26 | # PROP Scc_ProjName "" | ||
| 27 | # PROP Scc_LocalPath "" | ||
| 28 | CPP=cl.exe | ||
| 29 | MTL=midl.exe | ||
| 30 | RSC=rc.exe | ||
| 31 | |||
| 32 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 33 | |||
| 34 | # PROP BASE Use_MFC 0 | ||
| 35 | # PROP BASE Use_Debug_Libraries 0 | ||
| 36 | # PROP BASE Output_Dir "Release" | ||
| 37 | # PROP BASE Intermediate_Dir "Release" | ||
| 38 | # PROP BASE Target_Dir "" | ||
| 39 | # PROP Use_MFC 0 | ||
| 40 | # PROP Use_Debug_Libraries 0 | ||
| 41 | # PROP Output_Dir "Release" | ||
| 42 | # PROP Intermediate_Dir "Release" | ||
| 43 | # PROP Ignore_Export_Lib 0 | ||
| 44 | # PROP Target_Dir "" | ||
| 45 | # ADD BASE CPP /nologo /MD /W3 /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FD /c | ||
| 46 | # ADD CPP /nologo /MD /W3 /O2 /I "$(QTDIR)\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "QT_DLL" /D "UNICODE" /D "QT_THREAD_SUPPORT" /D "NO_DEBUG" /FD /c | ||
| 47 | # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 | ||
| 48 | # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 | ||
| 49 | # ADD BASE RSC /l 0x409 /d "NDEBUG" | ||
| 50 | # ADD RSC /l 0x409 /d "NDEBUG" | ||
| 51 | BSC32=bscmake.exe | ||
| 52 | # ADD BASE BSC32 /nologo | ||
| 53 | # ADD BSC32 /nologo | ||
| 54 | LINK32=link.exe | ||
| 55 | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib /nologo /subsystem:windows /machine:I386 | ||
| 56 | # ADD LINK32 kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib imm32.lib wsock32.lib winmm.lib $(QTDIR)\lib\qt-mt230nc.lib $(QTDIR)\lib\qtmain.lib /nologo /subsystem:windows /machine:I386 /out:"src/quax.exe" | ||
| 57 | |||
| 58 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 59 | |||
| 60 | # PROP BASE Use_MFC 0 | ||
| 61 | # PROP BASE Use_Debug_Libraries 1 | ||
| 62 | # PROP BASE Output_Dir "Debug" | ||
| 63 | # PROP BASE Intermediate_Dir "Debug" | ||
| 64 | # PROP BASE Target_Dir "" | ||
| 65 | # PROP Use_MFC 0 | ||
| 66 | # PROP Use_Debug_Libraries 1 | ||
| 67 | # PROP Output_Dir "." | ||
| 68 | # PROP Intermediate_Dir "." | ||
| 69 | # PROP Ignore_Export_Lib 0 | ||
| 70 | # PROP Target_Dir "" | ||
| 71 | # ADD BASE CPP /nologo /MD /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /FD /GZ /c | ||
| 72 | # ADD CPP /nologo /MD /W3 /Gm /ZI /I "$(QTDIR)\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "QT_DLL" /D "UNICODE" /D "QT_THREAD_SUPPORT" /FD /GZ /c | ||
| 73 | # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 | ||
| 74 | # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 | ||
| 75 | # ADD BASE RSC /l 0x409 /d "_DEBUG" | ||
| 76 | # ADD RSC /l 0x409 /d "_DEBUG" | ||
| 77 | BSC32=bscmake.exe | ||
| 78 | # ADD BASE BSC32 /nologo | ||
| 79 | # ADD BSC32 /nologo /o"quax.bsc" | ||
| 80 | LINK32=link.exe | ||
| 81 | # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept | ||
| 82 | # ADD LINK32 kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib imm32.lib wsock32.lib winmm.lib $(QTDIR)\lib\qt-mt230nc.lib $(QTDIR)\lib\qtmain.lib /nologo /subsystem:windows /pdb:"quax.pdb" /debug /machine:I386 /nodefaultlib:"libc" /out:"quax.exe" /pdbtype:sept | ||
| 83 | # SUBTRACT LINK32 /pdb:none | ||
| 84 | |||
| 85 | !ENDIF | ||
| 86 | |||
| 87 | # Begin Target | ||
| 88 | |||
| 89 | # Name "quax - Win32 Release" | ||
| 90 | # Name "quax - Win32 Debug" | ||
| 91 | # Begin Group "Source Files" | ||
| 92 | |||
| 93 | # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" | ||
| 94 | # Begin Source File | ||
| 95 | |||
| 96 | SOURCE=main.cpp | ||
| 97 | |||
| 98 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 99 | |||
| 100 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 101 | |||
| 102 | # PROP Intermediate_Dir "." | ||
| 103 | |||
| 104 | !ENDIF | ||
| 105 | |||
| 106 | # End Source File | ||
| 107 | # Begin Source File | ||
| 108 | |||
| 109 | SOURCE=moc_quax.cpp | ||
| 110 | |||
| 111 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 112 | |||
| 113 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 114 | |||
| 115 | # PROP Intermediate_Dir "." | ||
| 116 | # ADD CPP /Od | ||
| 117 | |||
| 118 | !ENDIF | ||
| 119 | |||
| 120 | # End Source File | ||
| 121 | # Begin Source File | ||
| 122 | |||
| 123 | SOURCE=quax.cpp | ||
| 124 | |||
| 125 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 126 | |||
| 127 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 128 | |||
| 129 | # PROP Intermediate_Dir "." | ||
| 130 | |||
| 131 | !ENDIF | ||
| 132 | |||
| 133 | # End Source File | ||
| 134 | # End Group | ||
| 135 | # Begin Group "Header Files" | ||
| 136 | |||
| 137 | # PROP Default_Filter "h;hpp;hxx;hm;inl" | ||
| 138 | # Begin Source File | ||
| 139 | |||
| 140 | SOURCE=..\config.h | ||
| 141 | |||
| 142 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 143 | |||
| 144 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 145 | |||
| 146 | # PROP Intermediate_Dir "." | ||
| 147 | |||
| 148 | !ENDIF | ||
| 149 | |||
| 150 | # End Source File | ||
| 151 | # Begin Source File | ||
| 152 | |||
| 153 | SOURCE=quax.h | ||
| 154 | |||
| 155 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 156 | |||
| 157 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 158 | |||
| 159 | # PROP Intermediate_Dir "." | ||
| 160 | # Begin Custom Build - Moc' ing Quax... | ||
| 161 | InputPath=quax.h | ||
| 162 | |||
| 163 | "moc_quax.cpp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" | ||
| 164 | %QTDIR%\bin\moc.exe quax.h -o moc_quax.cpp | ||
| 165 | |||
| 166 | # End Custom Build | ||
| 167 | |||
| 168 | !ENDIF | ||
| 169 | |||
| 170 | # End Source File | ||
| 171 | # End Group | ||
| 172 | # Begin Group "Resource Files" | ||
| 173 | |||
| 174 | # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | ||
| 175 | # End Group | ||
| 176 | # Begin Group "Interfaces" | ||
| 177 | |||
| 178 | # PROP Default_Filter "ui" | ||
| 179 | # End Group | ||
| 180 | # End Target | ||
| 181 | # End Project |
src/quax.dsw
(0 / 29)
|   | |||
| 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 | ||
| 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! | ||
| 3 | |||
| 4 | ############################################################################### | ||
| 5 | |||
| 6 | Project: "quax"=quax.dsp - Package Owner=<4> | ||
| 7 | |||
| 8 | Package=<5> | ||
| 9 | {{{ | ||
| 10 | }}} | ||
| 11 | |||
| 12 | Package=<4> | ||
| 13 | {{{ | ||
| 14 | }}} | ||
| 15 | |||
| 16 | ############################################################################### | ||
| 17 | |||
| 18 | Global: | ||
| 19 | |||
| 20 | Package=<5> | ||
| 21 | {{{ | ||
| 22 | }}} | ||
| 23 | |||
| 24 | Package=<3> | ||
| 25 | {{{ | ||
| 26 | }}} | ||
| 27 | |||
| 28 | ############################################################################### | ||
| 29 |
src/quax.mak
(0 / 248)
|   | |||
| 1 | # Microsoft Developer Studio Generated NMAKE File, Based on quax.dsp | ||
| 2 | !IF "$(CFG)" == "" | ||
| 3 | CFG=quax - Win32 Debug | ||
| 4 | !MESSAGE No configuration specified. Defaulting to quax - Win32 Debug. | ||
| 5 | !ENDIF | ||
| 6 | |||
| 7 | !IF "$(CFG)" != "quax - Win32 Release" && "$(CFG)" != "quax - Win32 Debug" | ||
| 8 | !MESSAGE Invalid configuration "$(CFG)" specified. | ||
| 9 | !MESSAGE You can specify a configuration when running NMAKE | ||
| 10 | !MESSAGE by defining the macro CFG on the command line. For example: | ||
| 11 | !MESSAGE | ||
| 12 | !MESSAGE NMAKE /f "quax.mak" CFG="quax - Win32 Debug" | ||
| 13 | !MESSAGE | ||
| 14 | !MESSAGE Possible choices for configuration are: | ||
| 15 | !MESSAGE | ||
| 16 | !MESSAGE "quax - Win32 Release" (based on "Win32 (x86) Application") | ||
| 17 | !MESSAGE "quax - Win32 Debug" (based on "Win32 (x86) Application") | ||
| 18 | !MESSAGE | ||
| 19 | !ERROR An invalid configuration is specified. | ||
| 20 | !ENDIF | ||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | ##################################################################################### | ||
| 25 | |||
| 26 | |||
| 27 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 28 | |||
| 29 | ALL : quax.exe | ||
| 30 | |||
| 31 | CLEAN : | ||
| 32 | -@erase "vc60.idb" | ||
| 33 | -@erase "vc60.pdb" | ||
| 34 | -@erase "quax.exe" | ||
| 35 | -@erase "quax.ilk" | ||
| 36 | -@erase "quax.pdb" | ||
| 37 | -@erase "main.obj" | ||
| 38 | -@erase "moc_quax.obj" | ||
| 39 | -@erase "moc_quax.cpp" | ||
| 40 | -@erase "quax.obj" | ||
| 41 | |||
| 42 | CPP=cl.exe | ||
| 43 | CPP_PROJ=/nologo /MD /W3 /O2 /I "$(QTDIR)\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "QT_DLL" /D "UNICODE" /D "QT_THREAD_SUPPORT" /D "NO_DEBUG" /Fo"./" /Fd"./" /FD /c | ||
| 44 | |||
| 45 | .c.obj:: | ||
| 46 | $(CPP) @<< | ||
| 47 | $(CPP_PROJ) $< | ||
| 48 | << | ||
| 49 | |||
| 50 | .cpp.obj:: | ||
| 51 | $(CPP) @<< | ||
| 52 | $(CPP_PROJ) $< | ||
| 53 | << | ||
| 54 | |||
| 55 | .cxx.obj:: | ||
| 56 | $(CPP) @<< | ||
| 57 | $(CPP_PROJ) $< | ||
| 58 | << | ||
| 59 | |||
| 60 | .c.sbr:: | ||
| 61 | $(CPP) @<< | ||
| 62 | $(CPP_PROJ) $< | ||
| 63 | << | ||
| 64 | |||
| 65 | .cpp.sbr:: | ||
| 66 | $(CPP) @<< | ||
| 67 | $(CPP_PROJ) $< | ||
| 68 | << | ||
| 69 | |||
| 70 | .cxx.sbr:: | ||
| 71 | $(CPP) @<< | ||
| 72 | $(CPP_PROJ) $< | ||
| 73 | << | ||
| 74 | |||
| 75 | MTL=midl.exe | ||
| 76 | MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 | ||
| 77 | RSC=rc.exe | ||
| 78 | BSC32=bscmake.exe | ||
| 79 | BSC32_FLAGS=/nologo /o"quax.bsc" | ||
| 80 | BSC32_SBRS= | ||
| 81 | |||
| 82 | LINK32=link.exe | ||
| 83 | LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib imm32.lib wsock32.lib winmm.lib $(QTDIR)\lib\qt-mt230nc.lib $(QTDIR)\lib\qtmain.lib /nologo /subsystem:windows /incremental:yes /pdb:"$(OUTDIR)\quax.pdb" /machine:I386 /out:"quax.exe" | ||
| 84 | LINK32_OBJS= \ | ||
| 85 | "main.obj" \ | ||
| 86 | "moc_quax.obj" \ | ||
| 87 | "quax.obj" | ||
| 88 | |||
| 89 | quax.exe : $(DEF_FILE) $(LINK32_OBJS) | ||
| 90 | $(LINK32) @<< | ||
| 91 | $(LINK32_FLAGS) $(LINK32_OBJS) | ||
| 92 | << | ||
| 93 | |||
| 94 | |||
| 95 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 96 | |||
| 97 | ALL : quax.exe | ||
| 98 | |||
| 99 | CLEAN : | ||
| 100 | -@erase "vc60.idb" | ||
| 101 | -@erase "vc60.pdb" | ||
| 102 | -@erase "quax.exe" | ||
| 103 | -@erase "quax.ilk" | ||
| 104 | -@erase "quax.pdb" | ||
| 105 | -@erase "main.obj" | ||
| 106 | -@erase "moc_quax.obj" | ||
| 107 | -@erase "moc_quax.cpp" | ||
| 108 | -@erase "quax.obj" | ||
| 109 | |||
| 110 | CPP=cl.exe | ||
| 111 | CPP_PROJ=/nologo /MD /W3 /Gm /ZI /I "$(QTDIR)\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "QT_DLL" /D "UNICODE" /D "QT_THREAD_SUPPORT" /Fo"./" /Fd"./" /FD /GZ /c | ||
| 112 | |||
| 113 | .c.obj:: | ||
| 114 | $(CPP) @<< | ||
| 115 | $(CPP_PROJ) $< | ||
| 116 | << | ||
| 117 | |||
| 118 | .cpp.obj:: | ||
| 119 | $(CPP) @<< | ||
| 120 | $(CPP_PROJ) $< | ||
| 121 | << | ||
| 122 | |||
| 123 | .cxx.obj:: | ||
| 124 | $(CPP) @<< | ||
| 125 | $(CPP_PROJ) $< | ||
| 126 | << | ||
| 127 | |||
| 128 | .c.sbr:: | ||
| 129 | $(CPP) @<< | ||
| 130 | $(CPP_PROJ) $< | ||
| 131 | << | ||
| 132 | |||
| 133 | .cpp.sbr:: | ||
| 134 | $(CPP) @<< | ||
| 135 | $(CPP_PROJ) $< | ||
| 136 | << | ||
| 137 | |||
| 138 | .cxx.sbr:: | ||
| 139 | $(CPP) @<< | ||
| 140 | $(CPP_PROJ) $< | ||
| 141 | << | ||
| 142 | |||
| 143 | MTL=midl.exe | ||
| 144 | MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 | ||
| 145 | RSC=rc.exe | ||
| 146 | BSC32=bscmake.exe | ||
| 147 | BSC32_FLAGS=/nologo /o"quax.bsc" | ||
| 148 | BSC32_SBRS= | ||
| 149 | |||
| 150 | LINK32=link.exe | ||
| 151 | LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib imm32.lib wsock32.lib winmm.lib $(QTDIR)\lib\qt-mt230nc.lib $(QTDIR)\lib\qtmain.lib /nologo /subsystem:windows /incremental:yes /pdb:"quax.pdb" /debug /machine:I386 /nodefaultlib:"libc" /out:"quax.exe" /pdbtype:sept | ||
| 152 | LINK32_OBJS= \ | ||
| 153 | "main.obj" \ | ||
| 154 | "moc_quax.obj" \ | ||
| 155 | "quax.obj" | ||
| 156 | |||
| 157 | quax.exe : $(DEF_FILE) $(LINK32_OBJS) | ||
| 158 | $(LINK32) @<< | ||
| 159 | $(LINK32_FLAGS) $(LINK32_OBJS) | ||
| 160 | << | ||
| 161 | |||
| 162 | !ENDIF | ||
| 163 | |||
| 164 | |||
| 165 | |||
| 166 | ##################################################################################### | ||
| 167 | |||
| 168 | !IF "$(CFG)" == "quax - Win32 Release" || "$(CFG)" == "quax - Win32 Debug" | ||
| 169 | |||
| 170 | |||
| 171 | ########### main.cpp | ||
| 172 | SOURCE=main.cpp | ||
| 173 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 174 | |||
| 175 | CPP_SWITCHES=/nologo /MD /W3 /O2 /I "$(QTDIR)\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "QT_DLL" /D "UNICODE" /D "QT_THREAD_SUPPORT" /D "NO_DEBUG" /Fo"./" /Fd"./" /FD /c | ||
| 176 | main.obj : $(SOURCE) quax.h | ||
| 177 | $(CPP) @<< | ||
| 178 | $(CPP_SWITCHES) $(SOURCE) | ||
| 179 | << | ||
| 180 | |||
| 181 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 182 | |||
| 183 | CPP_SWITCHES=/nologo /MD /W3 /Gm /ZI /Od /I "$(QTDIR)\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "QT_DLL" /D "UNICODE" /D "QT_THREAD_SUPPORT" /Fo"./" /Fd"./" /FD /GZ /c | ||
| 184 | main.obj : $(SOURCE) quax.h | ||
| 185 | $(CPP) @<< | ||
| 186 | $(CPP_SWITCHES) $(SOURCE) | ||
| 187 | << | ||
| 188 | |||
| 189 | !ENDIF | ||
| 190 | |||
| 191 | |||
| 192 | |||
| 193 | ########### moc_quax.cpp | ||
| 194 | SOURCE=moc_quax.cpp | ||
| 195 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 196 | |||
| 197 | CPP_SWITCHES=/nologo /MD /W3 /O2 /I "$(QTDIR)\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "QT_DLL" /D "UNICODE" /D "QT_THREAD_SUPPORT" /D "NO_DEBUG" /Fo"./" /Fd"./" /FD /c | ||
| 198 | moc_quax.obj : $(SOURCE) quax.h | ||
| 199 | $(CPP) @<< | ||
| 200 | $(CPP_SWITCHES) $(SOURCE) | ||
| 201 | << | ||
| 202 | |||
| 203 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 204 | |||
| 205 | CPP_SWITCHES=/nologo /MD /W3 /Gm /ZI /Od /I "$(QTDIR)\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "QT_DLL" /D "UNICODE" /D "QT_THREAD_SUPPORT" /Fo"./" /Fd"./" /FD /GZ /c | ||
| 206 | moc_quax.obj : $(SOURCE) quax.h | ||
| 207 | $(CPP) @<< | ||
| 208 | $(CPP_SWITCHES) $(SOURCE) | ||
| 209 | << | ||
| 210 | |||
| 211 | !ENDIF | ||
| 212 | |||
| 213 | |||
| 214 | ########### quax.cpp | ||
| 215 | SOURCE=quax.cpp | ||
| 216 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 217 | |||
| 218 | quax.obj : $(SOURCE) | ||
| 219 | |||
| 220 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 221 | |||
| 222 | quax.obj : $(SOURCE) quax.h | ||
| 223 | |||
| 224 | !ENDIF | ||
| 225 | |||
| 226 | |||
| 227 | ########### quax.h | ||
| 228 | SOURCE=quax.h | ||
| 229 | !IF "$(CFG)" == "quax - Win32 Release" | ||
| 230 | |||
| 231 | moc_quax.cpp : $(SOURCE) | ||
| 232 | <<tempfile.bat | ||
| 233 | @echo off | ||
| 234 | %QTDIR%\bin\moc.exe quax.h -o moc_quax.cpp | ||
| 235 | << | ||
| 236 | |||
| 237 | !ELSEIF "$(CFG)" == "quax - Win32 Debug" | ||
| 238 | |||
| 239 | moc_quax.cpp : $(SOURCE) | ||
| 240 | <<tempfile.bat | ||
| 241 | @echo off | ||
| 242 | %QTDIR%\bin\moc.exe quax.h -o moc_quax.cpp | ||
| 243 | << | ||
| 244 | |||
| 245 | !ENDIF | ||
| 246 | |||
| 247 | |||
| 248 | !ENDIF |

