Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:napobear
lcdproc
lcdproc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lcdproc.spec of Package lcdproc
# # spec file for package lcdproc # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: lcdproc Version: 0.5.9 Release: 0 Summary: lcdproc displays real-time system information on a 20x4 backlit LCD License: GPL-2.0-only URL: http://lcdproc.omnipotent.net Source0: https://github.com/lcdproc/lcdproc/releases/download/v%{version}/%{name}-%{version}.tar.gz Source1: LCDd.service Source2: lcdproc.service # PATCH-FIX-IFACE lcdproc-0.5.9-iface.patch -- move iface[] declaration from include file to c source file Patch0: lcdproc-0.5.9-iface.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: systemd-rpm-macros %{?systemd_requires} BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(libftdi) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(ncurses) BuildRequires: pkgconfig(x11) %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 http://lcdproc.omnipotent.net. %prep %autosetup -p0 #%setup -q #%patch0 %build autoreconf -ifs %configure --sysconfdir=%{_sysconfdir}/%{name} \ --enable-drivers=all \ --enable-testmenus \ --enable-lcdproc-menus \ --enable-stat-nfs \ --enable-stat-smbfs \ --enable-extra-charmaps \ --with-lcdport=13666 \ --with-pidfile-dir=/run make %install %makeinstall install -Dm0644 %{S:1} %{buildroot}%{_unitdir}/LCDd.service install -Dm0644 %{S:2} %{buildroot}%{_unitdir}/lcdproc.service pushd %{buildroot}%{_sbindir} ln -s service rcLCDd ln -s service rclcdproc popd #Disable default configuration #Thoses are only provided as an example since ncurses isn't a suitable default configuration. for f in LCDd.conf lcdproc.conf ; do mv $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/${f} \ $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/${f}.example touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/${f} done %pre %service_add_pre LCDd.service lcdproc.service %post %service_add_post LCDd.service lcdproc.service %preun %service_del_preun LCDd.service lcdproc.service %postun %service_del_postun LCDd.service lcdproc.service %files %defattr(-,root,root) %doc COPYING CREDITS.md TODO %dir %{_sysconfdir}/%{name} %ghost %{_sysconfdir}/%{name}/*.conf %config %{_sysconfdir}/%{name}/*.conf.example %{_bindir}/fortune.pl %{_bindir}/iosock.pl %{_bindir}/lcdexec %{_bindir}/lcdident.pl %{_bindir}/lcdmetar.pl %{_bindir}/lcdproc %{_bindir}/lcdvc %{_bindir}/tail.pl %{_bindir}/x11amp.pl %{_unitdir}/LCDd.service %{_unitdir}/lcdproc.service %{_libdir}/lcdproc/ %{_sbindir}/LCDd %{_sbindir}/rcLCDd %{_sbindir}/rclcdproc %{_mandir}/man1/lcdexec.1%{?ext_man} %{_mandir}/man1/lcdproc.1%{?ext_man} %{_mandir}/man1/lcdvc.1%{?ext_man} %{_mandir}/man5/lcdproc-config.5%{?ext_man} %{_mandir}/man8/LCDd.8%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor