tint2/tint2.spec
Michael Vetter a9d33b98be Accepting request 1149746 from home:amanzini:branches:X11:Utilities
- Update to 17.1.3
  * Activated task had chance to lose activation if it's on other desktop, with multi-desktop taskbar
- Update to 17.1.2
  * Fixed multi-taskbar size distrubution (border width was not counted)
  * Scale was not counted sometimes
  * Updated russian translation
- Update to 17.1.1
  * Report XShm status on start
  * Prints X11 errors when they occur
  * Long versions for some command line options
  * Extended help text
  * Small optimizations
  * Reduced load from events spam with shrinking on
  * tint2-send: Stdin daemon mode
  * Fixed widgets redraw after they were hidden
  * Fixed panel flicker if mouse was over during panel start
  * Current desktop was set to first instead of current, on start
  * Tray subwindow had no PID set, which broke cyrrent owner PID report by
  * Desktop launcher parsing is now more freedesktop-compliant
  * Fixed some X11 errors
  * Fixed some memory leaks
- Update to 17.1
  * Added option "rounded_corners" to disable rounding for separate corners
  * Added option to use continuous executor process as command sink for its own action commands
  * "tput clear" command in executors is possible without "-T" option (TERM is set to better value than "dumb")
  * Enhanced API documentation comment style to look more like documentation right in code (resemble doxygen output)
  * tint2conf: spacing option for buttons and executors, enable negative spacing for task icon and text
  * Small optimizations
  * Found few regressions, possibly introduced between versions 17.0.2 and 17.0.3
  * GTK2 was still listed among current dependencies in few places

OBS-URL: https://build.opensuse.org/request/show/1149746
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/tint2?expand=0&rev=39
2024-02-23 14:47:41 +00:00

104 lines
3.1 KiB
RPMSpec

#
# spec file for package tint2
#
# Copyright (c) 2024 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: tint2
Version: 17.1.3
Release: 0
Summary: A lightweight X11 desktop panel and task manager
License: GPL-2.0-only
Group: System/X11/Utilities
URL: https://gitlab.com/nick87720z/tint2
Source0: https://gitlab.com/nick87720z/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
Source1: tint2conf.1
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gtk+-x11-3.0)
BuildRequires: pkgconfig(imlib2)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(pangocairo)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcomposite)
BuildRequires: pkgconfig(xdamage)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xrender)
%description
tint2 is a simple panel/taskbar made for modern X window managers. It was
specifically made for Openbox3 but should also work with other window managers.
%lang_package
%prep
%autosetup -n %{name}-v%{version}
%build
%cmake -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name}
%cmake_build
%install
%cmake_install
# create tint2 config directory
#mkdir -p %{buildroot}%{_sysconfdir}/skel/.config/tint2/
desktop-file-install \
--set-key=NoDisplay --set-value=true \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/tint2.desktop
desktop-file-install \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/tint2conf.desktop
# install man page for tint2conf (written for Debian package)
install -m 0644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/
%find_lang tint2conf
%files
%license COPYING
%doc AUTHORS CONTRIBUTING.md ChangeLog README.md
%doc %{_defaultdocdir}/tint2/
#%dir %{_sysconfdir}/skel/.config/
%dir %{_sysconfdir}/xdg/tint2
%config(noreplace) %{_sysconfdir}/xdg/tint2/tint2rc
#%{_sysconfdir}/skel/.config/tint2/
%{_bindir}/tint2
%{_bindir}/tint2-send
%{_bindir}/tint2conf
%{_datadir}/tint2/
%{_datadir}/applications/tint2conf.desktop
%{_datadir}/applications/tint2.desktop
%{_datadir}/icons/hicolor/*/apps/tint*
%{_datadir}/mime/packages/tint2conf.xml
%{_mandir}/man1/tint*.1%{?ext_man}
%files lang -f tint2conf.lang
%changelog