mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 18:02:19 +00:00
d3a9865809
* chore: sync with Terra 38 * chore(ci): improve autobuild * fix ci? Signed-off-by: madomado <wboy111@outlook.com> * test ci Signed-off-by: madomado <wboy111@outlook.com> * Update autobuild.yml * Update anda.tpl Signed-off-by: madomado <wboy111@outlook.com> * dnf moment mock configs Signed-off-by: madomado <wboy111@outlook.com> --------- Signed-off-by: madomado <wboy111@outlook.com>
73 lines
1.6 KiB
RPMSpec
73 lines
1.6 KiB
RPMSpec
%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$
|
|
|
|
%global srcname switchboard-plug-display
|
|
|
|
%global plug_type hardware
|
|
%global plug_name display
|
|
%global plug_rdnn io.elementary.switchboard.display
|
|
|
|
Name: switchboard-plug-display
|
|
Summary: Switchboard Display plug
|
|
Version: 7.0.0
|
|
Release: 1%{?dist}
|
|
License: GPL-3.0-or-later
|
|
|
|
URL: https://github.com/elementary/switchboard-plug-display
|
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: libappstream-glib
|
|
BuildRequires: meson
|
|
BuildRequires: vala >= 0.22.0
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
|
BuildRequires: pkgconfig(granite)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(libhandy-1) >= 0.83.0
|
|
BuildRequires: pkgconfig(switchboard-2.0)
|
|
|
|
Requires: switchboard%{?_isa}
|
|
Supplements: switchboard%{?_isa}
|
|
|
|
%description
|
|
A switchboard plug to show information about displays and to configure
|
|
them.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{srcname}-%{version} -p1
|
|
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
|
|
%install
|
|
%meson_install
|
|
%fdupes %buildroot%_datadir/locale/
|
|
%find_lang %{plug_name}-plug
|
|
|
|
|
|
%check
|
|
appstream-util validate-relax --nonet \
|
|
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
|
|
|
|
|
%files -f %{plug_name}-plug.lang
|
|
%doc README.md
|
|
%license COPYING
|
|
|
|
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
|
|
|
|
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml
|
|
|
|
|
|
%changelog
|
|
* Thu Nov 17 2022 windowsboy111 <wboy111@outlook.com> - 2.3.3-1
|
|
- new version
|
|
|
|
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com>
|
|
- Repackaged for Terra
|