Пакет libstatgrab: 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 116 117 118 119 120 121 122 123 124 125 126 127 | Name: libstatgrab Version: 0.17 Release: alt1.1 Summary: libstatgrab library helps to collect many system infomation License: LGPL, GPL Group: System/Libraries Url: http://www.i-scream.org/libstatgrab/ Source: %name-%version.tar.gz Patch: %name-alt-makefile.patch Packager: Sergey Zhumatiy <zhum@altlinux.org> %description Statgrab is a crossplatform library to collect system information. Such as loadaverage, cpu usage, network usage, memory usage, etc. %package tools Summary: Console program to check system activity Group: Monitoring Requires: %name = %version-%release %description tools Console program to check system activity, using libstatgrab. %package saidar Summary: Console program to check system activity Group: Monitoring Requires: libncurses Requires: %name = %version-%release BuildRequires: libncurses-devel %description saidar Console program to check system activity, using libstatgrab. %package devel Summary: Headers for %name Group: Development/C Requires: %name = %version-%release %description devel Headers for building software that uses %name %if_enabled static %package devel-static Summary: Static libraries for %name Group: Development/C Requires: %name-devel = %version-%release %description devel-static Static libs for building statically linked software that uses %name %endif %prep %setup %patch -p1 %build %configure --with-ncurses %{subst_enable static} #%%configure --disable-saidar %{subst_enable static} sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool #%%make_build make DESTDIR=$RPM_BUILD_ROOT %install %makeinstall #make DESTDIR=$RPM_BUILD_ROOT install %files %_libdir/*.so.* #%%_libdir/*.la %_libdir/%name.a %doc AUTHORS README NEWS %files saidar %_bindir/saidar %_man1dir/saidar.1* %files tools #%%_bindir/saidar %_bindir/statgrab %_bindir/statgrab-make-mrtg-config %_bindir/statgrab-make-mrtg-index %_man1dir/statgrab-make-mrtg-config.1* %_man1dir/statgrab-make-mrtg-index.1* %_man1dir/statgrab.1* %files devel %_libdir/*.so %_includedir/*.h %_man3dir/* %_libdir/pkgconfig/libstatgrab.pc #%%_mandir/*/* #%%if_enabled static #%%files -n %name-devel-static # #%%endif %changelog * Sat Feb 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.17-alt1.1 - Removed bad RPATH * Sat Oct 08 2011 Michael Shigorin <mike@altlinux.org> 0.17-alt1 - NMU: 0.17 (thx fedorawatch) * Mon Nov 08 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.16-alt1.qa1.1 - Rebuilt for soname set-versions * Thu Jan 14 2010 Repocop Q. A. Robot <repocop@altlinux.org> 0.16-alt1.qa1 - NMU (by repocop): the following fixes applied: * post_ldconfig for libstatgrab * postun_ldconfig for libstatgrab * postclean-05-filetriggers for spec file * Mon May 25 2009 Sergey Zhumatiy <zhum@altlinux.org> 0.16-alt1 - fixed wrong pkgconfig file location on x86_64 (spec file bug) - new version 0.16 - saidar is added as separated package * Thu Nov 15 2007 Sergey Zhumatiy <zhum@altlinux.org> 0.14-alt3 - saidar deleted from package because of unstable compiling * Fri Oct 19 2007 Sergey Zhumatiy <zhum@altlinux.org> 0.14-alt2 - main pakage is splitted to libstatgrab and libstatgrab-tools * Fri Oct 05 2007 Sergey Zhumatiy <zhum@altlinux.org> 0.14-alt1 - initial build |