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
Name: gadmin-httpd Version: 0.1.0 Release: alt2.qa1 Summary: Gadmin-httpd -- A GTK+ administation tool for the Apache Web server. Group: System/Configuration/Other Source: %name-%version.tar.gz Source1: %name.pam Patch: alt-gadmin-httpd-desktop.patch License: GPL Packager: Eugene Ostapets <eostapets@altlinux.org> # Automatically added by buildreq on Mon Apr 30 2007 BuildRequires: libgtk+2-devel ImageMagick %description Gadmin-HTTPD is a fast and easy to use GTK+ administration tool for the Apache Webserver. %prep %setup %build %configure SYSINIT_START_CMD="chkconfig httpd on" SYSINIT_STOP_CMD="chkconfig httpd off" %make_build %install %make DESTDIR=%buildroot install rm -r %buildroot%_docdir/%name install -d %buildroot%_bindir # pam auth install -d %buildroot%_sysconfdir/pam.d/ install -d %buildroot%_sysconfdir/security/console.apps install -m 644 %SOURCE1 %buildroot%_sysconfdir/pam.d/%name install -m 644 etc/security/console.apps/%name %buildroot%_sysconfdir/security/console.apps/%name # desktop entry install -d %buildroot%_desktopdir install -m 644 desktop/%name.desktop %buildroot%_desktopdir/%name.desktop ln -s consolehelper %buildroot%_bindir/%name for size in 16x16 32x32 48x48 ; do mkdir -p %buildroot%_iconsdir/hicolor/$size/apps convert %buildroot%_pixmapsdir/%name.png -size $size %buildroot%_iconsdir/hicolor/$size/apps/%name.png done %find_lang %name %files -f %name.lang %doc README AUTHORS ChangeLog COPYING %_bindir/%name %config %_sysconfdir/pam.d/* %config(noreplace) %_sysconfdir/security/console.apps/* %_desktopdir/*.desktop %_sbindir/%name %_pixmapsdir/%name.png %dir %_pixmapsdir/%name %_pixmapsdir/%name/* %_miconsdir/%name.png %_niconsdir/%name.png %_liconsdir/%name.png %changelog * Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 0.1.0-alt2.qa1 - NMU: rebuilt for debuginfo. * Wed Mar 12 2008 Eugene Ostapets <eostapets@altlinux.ru> 0.1.0-alt2 - fix desktop file (tnx repocop) - fix icons (tnx repocop) * Fri Mar 07 2008 Eugene Ostapets <eostapets@altlinux.ru> 0.1.0-alt1 - first build