2024-03-17 10:00:17 +01:00
|
|
|
#
|
|
|
|
# spec file for package hyprcursor
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2024-04-13 19:49:01 +02:00
|
|
|
# Copyright (c) 2024 Florian "sp1rit" <sp1rit@disroot.org>
|
2024-03-17 10:00:17 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2024-04-13 19:49:01 +02:00
|
|
|
|
2024-03-17 10:00:17 +01:00
|
|
|
%define sover 0
|
|
|
|
|
|
|
|
Name: hyprcursor
|
2024-06-10 20:02:05 +02:00
|
|
|
Version: 0.1.9
|
2024-03-17 10:00:17 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Library and utilities for the hyprland cursor format
|
|
|
|
License: BSD-3-Clause
|
|
|
|
URL: https://wiki.hyprland.org/hypr-ecosystem/hyprcursor/
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2024-04-13 19:49:01 +02:00
|
|
|
BuildRequires: pkg-config
|
2024-03-17 10:00:17 +01:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(hyprlang) >= 0.4.2
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
|
|
BuildRequires: pkgconfig(libzip)
|
2024-04-13 19:49:01 +02:00
|
|
|
BuildRequires: pkgconfig(tomlplusplus) >= 3.4.0
|
2024-03-17 10:00:17 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Utilities for the hyprland cursor format.
|
|
|
|
|
|
|
|
%package -n lib%{name}%{sover}
|
|
|
|
Summary: Library for the hyprland cursor format
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n lib%{name}%{sover}
|
|
|
|
Library for handling the hyprlang cursor format.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for hyprcursor
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Requires: lib%{name}%{sover} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Library for handling the hyprland cursor format.
|
|
|
|
|
|
|
|
This subpackage contains development files for hyprcursor.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
%fdupes %{buildroot}/%{_includedir}/
|
|
|
|
|
|
|
|
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%doc docs/MAKING_THEMES.md
|
|
|
|
%{_bindir}/%{name}-util
|
|
|
|
|
|
|
|
%files -n lib%{name}%{sover}
|
|
|
|
%license LICENSE
|
|
|
|
%doc docs/END_USERS.md
|
|
|
|
%{_libdir}/lib%{name}.so.%{sover}
|
|
|
|
%{_libdir}/lib%{name}.so.%{version}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc docs/DEVELOPERS.md
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}.hpp
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
%changelog
|