Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
conky.4503
conky.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File conky.spec of Package conky.4503
# # spec file for package conky # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: conky Version: 1.10.1 Release: 0 Summary: Lightweight System Monitor License: GPL-3.0+ and LGPL-3.0+ and MIT Group: System/Monitoring Url: https://github.com/brndnmtthws/conky Source: https://github.com/brndnmtthws/conky/archive/v%{version}/conky-%{version}.tar.gz Patch0: conky-1.10.0-libircclient.patch # PATCH-FIX-UPSTREAM marguerite@opensuse.org - respect LIB_INSTALL_DIR Patch1: conky-libdir.patch Patch2: conky-1.10.1-avoid-git.patch # PATCH-FIX-UPSTREAM check_include_file not found. Patch3: conky-1.10.1-check_include_file.patch BuildRequires: alsa-devel BuildRequires: cairo-devel BuildRequires: cmake BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook2x BuildRequires: fontconfig-devel BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: imlib2-devel BuildRequires: libcurl-devel BuildRequires: libical-devel BuildRequires: libircclient-devel BuildRequires: libiw-devel BuildRequires: libmicrohttpd-devel BuildRequires: libmysqld-devel BuildRequires: libpng-devel BuildRequires: librsvg-devel BuildRequires: libtool BuildRequires: libxslt-tools BuildRequires: lua51-devel BuildRequires: ncurses-devel BuildRequires: pkg-config BuildRequires: tolua++ BuildRequires: update-desktop-files BuildRequires: vim BuildRequires: xorg-x11-devel BuildRequires: zlib-devel BuildRequires: pkgconfig(libxml-2.0) # This is required for imlib2 function properly. Requires: imlib2-loaders Provides: conky-cairo = %{version} Obsoletes: conky-cairo < %{version} Provides: conky-imlib2 = %{version} Obsoletes: conky-imlib2 < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?packman_bs} BuildRequires: audacious-devel # fix dbus-glib-1 no found for audacious BuildRequires: dbus-1-glib-devel BuildRequires: libXNVCtrl BuildRequires: libaudclient-devel BuildRequires: xmms2-devel Provides: conky-feature-nvidia = %{version} Obsoletes: conky-feature-nvidia < %{version} Provides: conky-feature-audacious = %{version} Obsoletes: conky-feature-audacious < %{version} %endif %description Conky is an advanced, highly configurable system monitor for X. %if 0%{?packman_bs} This package is built with support for audacious and nVidia GPUs. %endif %package doc Summary: Documentation for conky Group: Documentation/HTML %description doc Conky is an advanced, highly configurable system monitor for X. This package provides additional documentation about conky. %package -n vim-plugin-conky Summary: Conky Configuration File Support for Vim Group: Productivity/Editors/Vi Requires: vim-base Provides: conky-vim = %{version} Obsoletes: conky-vim < %{version} %description -n vim-plugin-conky Conky is an advanced, highly configurable system monitor for X. This package provides syntax highlighting support for conky configuration files in vim. %package -n nano-plugin-conky Summary: Conky Configuration File Support for nano Group: Productivity/Editors/Other Requires: nano Provides: conky-nano = %{version} Obsoletes: conky-nano < %{version} %description -n nano-plugin-conky Conky is an advanced, highly configurable system monitor for X. This package provides syntax highlighting support for conky configuration files in nano. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build mkdir build && cd build # FIXME: you should use %%cmake macros cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DLIB_INSTALL_DIR=%{_libdir} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBUILD_APCUPSD=ON \ -DBUILD_ARGB=ON \ -DBUILD_BMPX=OFF \ -DBUILD_CURL=ON \ -DBUILD_EVE=ON \ -DBUILD_HDDTEMP=ON \ -DBUILD_HTTP=ON \ -DBUILD_I18N=ON \ -DBUILD_IBM=ON \ -DBUILD_ICAL=ON \ -DBUILD_ICONV=ON \ -DBUILD_IMLIB2=ON \ -DBUILD_IOSTATS=ON \ -DBUILD_IPV6=ON \ %if 0%{?suse_version} > 1320 -DBUILD_IRC=ON \ %else -DBUILD_IRC=OFF \ %endif -DBUILD_MATH=ON \ -DBUILD_MIXER_ALSA=ON \ -DBUILD_MOC=ON \ -DBUILD_MPD=ON \ -DBUILD_MYSQL=ON \ -DBUILD_NCURSES=ON \ -DBUILD_PORT_MONITORS=ON \ -DBUILD_RSS=ON \ -DBUILD_OLD_CONFIG=ON \ -DBUILD_WEATHER_METAR=ON \ -DBUILD_WEATHER_XOAP=ON \ -DBUILD_WLAN=ON \ -DBUILD_X11=ON \ -DBUILD_XDAMAGE=ON \ -DBUILD_XDBE=ON \ -DBUILD_XFT=ON \ -DBUILD_XSHAPE=ON \ -DOWN_WINDOW=ON \ -DBUILD_LUA_CAIRO=ON \ -DBUILD_LUA_IMLIB2=ON \ -DBUILD_LUA_RSVG=ON \ -DBUILD_LUA_EXTRAS=ON \ %if 0%{?packman_bs} -DBUILD_AUDACIOUS=ON \ -DBUILD_CMUS=ON \ -DBUILD_NVIDIA=ON \ -DBUILD_XMMS2=ON \ %else -DBUILD_AUDACIOUS=OFF \ -DBUILD_CMUS=OFF \ -DBUILD_NVIDIA=OFF \ -DBUILD_XMMS2=OFF \ %endif #packman_bs .. make %{?_smp_mflags} # build doc cd ../doc # html for i in *.xsl ; do FIL=`echo $i | sed "s/\.xsl//"` xsltproc $i ${FIL}.xml > ${FIL}.html done xsltproc %{_datadir}/xml/docbook/stylesheet/nwalsh/current/html/docbook.xsl docs.xml > docs.html # manpage db2x_xsltproc -s man docs.xml -o docs.mxml db2x_manxml --encoding=UTF-8 docs.mxml { echo ".TH CONKY 1 \"August 2005\" \"conky compiled August 2005\" \"User Commands\""; sed 1d < conky.1; } > conky.2 mv conky.2 conky.1 gzip conky.1 %install cd build make DESTDIR=%{buildroot} install %{?_smp_mflags} cd .. # not doc rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{version} # man mkdir -p %{buildroot}%{_mandir}/man1 install -m 0644 doc/conky.1.gz %{buildroot}%{_mandir}/man1 # config mkdir -p %{buildroot}%{_sysconfdir}/conky sed -i "1d" extras/convert.lua sed -i "1s/^/#!\/usr\/bin\/lua5.1\\n/" extras/convert.lua install -m 0755 extras/convert.lua %{buildroot}%{_sysconfdir}/conky/ install -m 0644 data/conky_no_x11.conf data/conky.conf %{buildroot}%{_sysconfdir}/conky/ # vim install -D -m0644 extras/vim/ftdetect/conkyrc.vim "%{buildroot}%{_datadir}/vim/site/ftdetect/conkyrc.vim" install -D -m0644 extras/vim/syntax/conkyrc.vim "%{buildroot}%{_datadir}/vim/site/syntax/conkyrc.vim" # nano install -D -m0644 extras/nano/conky.nanorc "%{buildroot}%{_datadir}/nano/conky.nanorc" # clean rm -rf %{buildroot}%{_libdir}/conky/*.{a,la} %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README.md TODO %dir %{_sysconfdir}/conky %{_sysconfdir}/conky/convert.lua %config(noreplace) %{_sysconfdir}/conky/conky.conf %config(noreplace) %{_sysconfdir}/conky/conky_no_x11.conf %{_bindir}/conky %{_mandir}/man1/conky.1%{ext_man} %dir %{_libdir}/conky %{_libdir}/conky/libcairo.so %{_libdir}/conky/libcairo_imlib2_helper.so %{_libdir}/conky/libimlib2.so %{_libdir}/conky/librsvg.so %files doc %defattr(-,root,root) %doc doc/*.html %files -n vim-plugin-conky %defattr(-,root,root) %{_datadir}/vim/site/ftdetect/conkyrc.vim %{_datadir}/vim/site/syntax/conkyrc.vim %files -n nano-plugin-conky %defattr(-,root,root) %dir %{_datadir}/nano %{_datadir}/nano/conky.nanorc %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