Package lcdproc: 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 | Name: lcdproc Version: 0.5.7 Release: alt4 Summary: Show info on LCD displays License: GPLv2 Group: System/Kernel and hardware Url: http://lcdproc.omnipotent.net Source0: %name-%version.tar.gz Source1: lcdd.init Source2: lcdproc.service Source100: lcdproc.watch Patch0: lcdproc-fix-return.diff Patch1: lcdproc-add-serdisplib.diff Patch2: %name-%version-alt-ftdi.patch BuildRequires: libfreetype-devel BuildRequires: libftdi1-devel BuildRequires: libhid-devel BuildRequires: liblirc-devel BuildRequires: libncurses-devel BuildRequires: libpth-devel BuildRequires: libusb-devel BuildRequires: libX11-devel %description LCDproc is a client/server suite inclduding drivers for all kinds of nifty LCD displays. The server supports several serial devices: Matrix Orbital, Crystal Fontz, Bayrad, LB216, LCDM001 (kernelconcepts.de), Wirz-SLI and PIC-an-LCD; and some devices connected to the LPT port: HD44780, STV5730, T6963, SED1520 and SED1330. Various clients are available that display things like CPU load, system load, memory usage, uptime, and a lot more. See also %url. %prep %setup #patch1 -p1 %patch2 -p2 subst "s#\(DriverPath\)=.*#\1=%_libdir/lcdproc/#" LCDd.conf %build %autoreconf %add_optflags -fcommon %configure \ --enable-libusb \ --enable-stat-nfs \ --enable-lcdproc-menus \ --enable-stat-smbfs \ --enable-drivers=all %make_build %install %makeinstall install -pDm755 %SOURCE1 %buildroot%_initdir/%name install -pDm644 %SOURCE2 %buildroot%_unitdir/%name.service %post %post_service %name %preun %preun_service %name %files %doc %_mandir/man?/*.* %_bindir/* %exclude %_bindir/lcdmetar.pl %_sbindir/* %_libdir/lcdproc %config %_sysconfdir/*.conf %_initdir/* %_unitdir/* %changelog * Fri Mar 26 2021 Grigory Ustinov <grenka@altlinux.org> 0.5.7-alt4 - Fixed FTBFS with -fcommon. - Fixed license tag. * Wed Aug 09 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.5.7-alt3 - Switched to libftdi1. * Fri Sep 12 2014 Michael Shigorin <mike@altlinux.org> 0.5.7-alt2 - added unit file (closes: #30310) * Fri May 02 2014 Michael Shigorin <mike@altlinux.org> 0.5.7-alt1 - new version (watch file uupdate) * Sat Dec 07 2013 Michael Shigorin <mike@altlinux.org> 0.5.6-alt3 - improved summary/description - picked several more BR: from fedora spec * Sat Dec 07 2013 Michael Shigorin <mike@altlinux.org> 0.5.6-alt2 - rebuilt to ensure safe upgrade from autoimports * Fri Dec 06 2013 Michael Shigorin <mike@altlinux.org> 0.5.6-alt1 - added watch file - new version (watch file uupdate) * Tue Aug 07 2012 Michael Shigorin <mike@altlinux.org> 0.5.5-alt1 - 0.5.5 - minor spec cleanup - dropped patch1 (doesn't apply by now) * Sat Oct 01 2011 Anton Farygin <rider@altlinux.ru> 0.5.4-alt1 - new version * Tue Oct 30 2007 Anton Farygin <rider@altlinux.ru> 0.5.2-alt1 - first build for Sisyphus, based on openSuSE specfile |