Пакет qtsmbstatus: 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 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | Name: qtsmbstatus Version: 2.2.1 Release: alt2 License: GPLv2 Group: Networking/Other Source: %name-%version.tar.gz Summary: QtSmbstatus is a GUI for smbstatus Url: http://qtsmbstatus.free.fr/ Packager: Motsyo Gennadi <drool@altlinux.ru> Patch: %name-2.2.1-alt-changes.patch Patch1: %name-2.1-alt-fix-gcc4.4.patch BuildRequires: gcc-c++ /usr/bin/convert libpam-devel libqt4-devel Requires: %name-common = %version-%release %description QtSmbstatus is a GUI (graphical user interface) for smbstatus. It is meant to provide the possibility of administering remote machines. QtSmbstatus was designed as a client/server system secured with SSL. A login and password is required to log on to server (PAM). The server's application ought to be installed with samba-server. %package -n %name-common Summary: QtSmbstatus common files Group: Networking/Other %description -n %name-common Common files for QtSmbstatus. Include docs and translations. %package -n %name-server Summary: QtSmbstatus server Group: System/Servers Requires: samba Requires: %name-common = %version-%release %description -n %name-server Server for QtSmbstatus %package -n %name-light Summary: QtSmbstatus for local use only Group: System/Servers Requires: samba Requires: %name-common = %version-%release %description -n %name-light To use QtSmbstatus only locally (without qtsmbstatus client/server), just install qtsmbstatus-light. %prep %setup -q %patch -p1 %patch1 -p1 %build export PATH=$PATH:%_qt4dir/bin lrelease client/tr/*.ts qmake "QMAKE_CFLAGS+=%optflags" "QMAKE_CXXFLAGS+=%optflags" %name.pro %make_build %install %make INSTALL_ROOT=%buildroot install %__mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir} convert -resize 16x16 client/icons/samba.png %buildroot%_miconsdir/%name.png convert -resize 32x32 client/icons/samba.png %buildroot%_niconsdir/%name.png convert -resize 48x48 client/icons/samba.png %buildroot%_liconsdir/%name.png convert -resize 16x16 client/icons/qtsmbstatusl.png %buildroot%_miconsdir/qtsmbstatusl.png convert -resize 32x32 client/icons/qtsmbstatusl.png %buildroot%_niconsdir/qtsmbstatusl.png %find_lang %name %post -n %name-server %post_service %{name}d %files %_bindir/%name %_man7dir/%name.* %_desktopdir/%name.desktop %_miconsdir/%name.png %_niconsdir/%name.png %_liconsdir/%name.png %_pixmapsdir/%name.xpm %files -f %name.lang -n %name-common %_datadir/%name %doc README* changelog INSTALL COPYING %files -n %name-server %_sbindir/%{name}d %_initdir/%{name}d %_man7dir/%{name}d.* %attr(750,root,root) %_sysconfdir/%{name}d %_sysconfdir/pam.d/%{name}d %files -n %name-light %_bindir/%{name}l %_desktopdir/%{name}l.desktop %_man7dir/%{name}l.* %_miconsdir/%{name}l.png %_niconsdir/%{name}l.png %_pixmapsdir/%{name}l.xpm %changelog * Fri Sep 07 2012 Motsyo Gennadi <drool@altlinux.ru> 2.2.1-alt2 - fixed executable bits set * Mon Aug 06 2012 Motsyo Gennadi <drool@altlinux.ru> 2.2.1-alt1 - 2.2.1 * Tue May 12 2009 Afanasov Dmitry <ender@altlinux.org> 2.1-alt2 - fix gcc4.4 build * Sun Feb 08 2009 Afanasov Dmitry <ender@altlinux.org> 2.1-alt1 - 2.1 * Thu Nov 20 2008 Motsyo Gennadi <drool@altlinux.ru> 2.0.6-alt2 - delete post/postun scripts (new rpm) * Mon Nov 10 2008 Motsyo Gennadi <drool@altlinux.ru> 2.0.6-alt1 - 2.0.6 * Thu Sep 04 2008 Motsyo Gennadi <drool@altlinux.ru> 2.0.5-alt1 - 2.0.5 * Sat May 10 2008 Motsyo Gennadi <drool@altlinux.ru> 2.0.4-alt1 - 2.0.4 - fix repocop warning (init-condrestart) - remove preun script * Sun Mar 02 2008 Motsyo Gennadi <drool@altlinux.ru> 2.0.3-alt2 - add condrestart to initscript - remove ugly reload|force-reload from initscript * Sat Feb 09 2008 Motsyo Gennadi <drool@altlinux.ru> 2.0.3-alt1 - 2.0.3 * Thu Jan 10 2008 Motsyo Gennadi <drool@altlinux.ru> 2.0.2-alt3 - disable starting %{name}d after installing - close #13872: * change initscript for use /etc/init.d/functions - close #13875: * excluded COPYING from packaging * excluded docs from packaging %name * Sun Dec 09 2007 Motsyo Gennadi <drool@altlinux.ru> 2.0.2-alt2 - add Url for Source * Mon Nov 19 2007 Motsyo Gennadi <drool@altlinux.ru> 2.0.2-alt1 - 2.0.2 (initial build for Sisyphus) * Sat Nov 10 2007 Motsyo Gennadi <drool@altlinux.ru> 2.0.2-alt0.svn51 - svn verwion * Tue Nov 06 2007 Motsyo Gennadi <drool@altlinux.ru> 2.0.1-alt1 - Add rus/ukr translation * Sun Nov 04 2007 Motsyo Gennadi <drool@altlinux.ru> 2.0.1-alt0 - 2.0.1 * Mon Oct 29 2007 Motsyo Gennadi <drool@altlinux.ru> 2.0-alt0 - initial build for ALT Linux |