Package wmmemload: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | # Unpackaged files in buildroot should terminate build %define _unpackaged_files_terminate_build 1 Name: wmmemload Version: 0.1.6 Release: alt6.qa1 Summary: This dockapp displays memory and swap space usage Summary(ru_RU.CP1251): \xdd\xf2\xee\xf2 \xe0\xef\xef\xeb\xe5\xf2 \xee\xf2\xee\xe1\xf0\xe0\xe6\xe0\xe5\xf2 \xe8\xf1\xef\xee\xeb\xfc\xe7\xee\xe2\xe0\xed\xe8\xe5 \xef\xe0\xec\xff\xf2\xe8 \xe8 \xf4\xe0\xe9\xeb\xe0 \xef\xee\xe4\xea\xe0\xf7\xea\xe8 License: GPL Group: Graphical desktop/Window Maker Url: http://markstaggs.net/wmmemload/ Packager: Slava Semushin <php-coder@altlinux.ru> Source0: http://markstaggs.net/wmmemload-download/%name-%version.tar.gz Source1: %name.menu Patch0: %name-0.1.6-alt-src-memory_leak_fix.patch Patch1: %name-0.1.6-alt-warnings-fix.patch Patch2: %name-0.1.6-alt-src-print_help_fix.patch Patch3: %name-0.1.6-alt-man-options_fix.patch # For %%autoreconf (-alt83) macros BuildPreReq: rpm >= 4.0.4-alt83 BuildRequires: libXt-devel libXext-devel libXpm-devel %description Dockapp which displays memory and swap space usage in percent and uses nice LCD-style. %description -l ru_RU.CP1251 \xc0\xef\xef\xeb\xe5\xf2 \xee\xf2\xee\xe1\xf0\xe0\xe6\xe0\xfe\xf9\xe8\xe9 \xe8\xf1\xef\xee\xeb\xfc\xe7\xee\xe2\xe0\xed\xe8\xe5 \xee\xef\xe5\xf0\xe0\xf2\xe8\xe2\xed\xee\xe9 \xef\xe0\xec\xff\xf2\xe8 \xe8 \xf1\xe2\xee\xef\xe0 \xe2 \xef\xf0\xee\xf6\xe5\xed\xf2\xe0\xf5 \xe8 \xe2\xfb\xef\xee\xeb\xed\xe5\xed\xed\xfb\xe9 \xe2 \xef\xf0\xe8\xff\xf2\xed\xee\xec LCD \xf1\xf2\xe8\xeb\xe5. %prep %setup # avoid autoreconf fails which appear after switch to using git/gear # http://lists.altlinux.org/pipermail/devel/2007-October/064308.html rm -rf autom4te.cache # fix warnings from aclocal sed -i 's|AC_DEFUN(DA_CHECK_LIB,|AC_DEFUN([DA_CHECK_LIB],|' acinclude.m4 sed -i 's|AC_DEFUN(DA_CHECK_HEADER,|AC_DEFUN([DA_CHECK_HEADER],|' acinclude.m4 # fix Makefile.am sed -i 's|CPPFLAGS =|AM_CPPFLAGS =|' src/Makefile.am %patch0 %patch1 %patch2 %patch3 %autoreconf %build %configure %make_build --no-print-directory CFLAGS="%optflags -W -Werror" %install %make_install --silent --no-print-directory DESTDIR=%buildroot install install -pD -m 644 %SOURCE1 %buildroot%_menudir/%name %files %doc AUTHORS ChangeLog THANKS %_bindir/%name %_man1dir/%name.1.* %_menudir/%name %changelog * Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 0.1.6-alt6.qa1 - NMU: rebuilt for debuginfo. * Sat Nov 29 2008 Slava Semushin <php-coder@altlinux.ru> 0.1.6-alt6 - Removed obsolete %%update_menus/%%clean_menus calls (noted by repocop) * Mon May 26 2008 Slava Semushin <php-coder@altlinux.ru> 0.1.6-alt5 - Fixed names of some short options in manual page - Replace %%__autoreconf macros to %%autoreconf * Fri Oct 05 2007 Slava Semushin <php-coder@altlinux.ru> 0.1.6-alt4 - Spec cleanup: + Change my name in Packager tag + Updated Url/Source tags + Formatted and corrected %%description + s/%%setup -q/%%setup/ + Use builtin %%patch instead of external command + Removed useless --with-x option for configure script - Imported into git and built with gear (thanks to Victor Forsyuk aka force@ for help) - Enable _unpackaged_files_terminate_build * Sat Jun 03 2006 php-coder <php-coder@altlinux.ru> 0.1.6-alt3 - Fixed build with gcc4.1 - Joined Wall_fix and W_fix patches to warning-fix patch - Corrected output for --help option - Use macros %%__autoreconf * Fri Feb 03 2006 php-coder <php-coder@altlinux.ru> 0.1.6-alt2 - Using -W flag for compiler by default - Plug memory leak - Updated BuildRequires for Xorg7 - Give CFLAGS variable to make instead of using %%add_optflags - Separate changes from sed to patch (Wall_fix) - More strict names in %%files section - Dont use macros for sed, install, aclocal, automake and autoconf commands - Dont use --silent option for make in %%build section - Removed Summary and %%description in koi8-r and utf8 charsets * Mon Dec 12 2005 php-coder <php-coder@altlinux.ru> 0.1.6-alt1 - Initial build for ALT Linux Sisyphus - Using -Werror flag for compiler by default |