mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 17:32:18 +00:00
9bbe91be03
* fix(lint): prismlauncher* fluent-icon-theme * fix(lint): fix lints for 6 packages (#578) * fix(lint): fix rpmlint lints for youki package * fix(lint): fix rpmlint lints for xdg-desktop-portal-pantheon * fix(lint): fix rpmlint lints for wingpanel package * fix(lint): fix rpmlint lints for wingpanel-indicator-sound package * fix(lint): fix rpmlint lints for wingpanel-indicator-session package * fix(lint): fix rpmlint lints for wingpanel-indicator-power package * fix(lint): * * fix random typos * feat: revert anda/desktops * fix: armcord-bin authy blahaj * fix: ... anki authy discord~ aya~sound groovy kotlin libappimage qt5-pim * fix: ... qdjango moby-buildx nim-nightly nim system76-scheduler unity-scope-home kondo pop-launcher fuc graalvm vala-lint-nightly * fix: armcord-bin authy blahaj groovy * fix: ... libappimage moby0buildx nim-nightly nim system76-scheduler subatomic * fix blahaj * fix: kondo * fix: libappimage moby-buildx system76-scheduler nim-nightly * fix: subatomic * fix: subatomic * fix: nim * Update anki.spec Signed-off-by: madomado <wboy111@outlook.com> * fix: libappimage nim-nightly * fix: moby-buildx subatomic * fix: moby-buildx subatomic --------- Signed-off-by: madomado <wboy111@outlook.com> Co-authored-by: HTGAzureX1212 <39023054+HTG-YT@users.noreply.github.com>
62 lines
1.6 KiB
RPMSpec
62 lines
1.6 KiB
RPMSpec
%global forgeurl https://gitlab.com/ubports/development/core/deviceinfo
|
|
%global commit 5dada778683ef8a1da13d0459768d8048429a646
|
|
%forgemeta
|
|
|
|
Name: deviceinfo
|
|
Version: 0.2.0
|
|
Release: %autorelease
|
|
Summary: Library to detect and configure devices
|
|
License: GPLv3+
|
|
URL: https://gitlab.com/ubports/development/core/deviceinfo
|
|
Source0: %{url}/-/archive/%commit/deviceinfo-%commit.tar.gz
|
|
Source1: https://salsa.debian.org/ubports-team/deviceinfo/-/raw/master/debian/device-info.1
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: cmake-extras
|
|
BuildRequires: pkgconfig(yaml-cpp)
|
|
BuildRequires: gcc-c++
|
|
|
|
%description
|
|
Library to detect and configure devices for Lomiri.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup -n deviceinfo-%commit
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
install -Dm644 '%{SOURCE1}' %{buildroot}%{_mandir}/man1/device-info.1
|
|
|
|
%files
|
|
%license LICENSE
|
|
%dir %{_sysconfdir}/deviceinfo
|
|
%config %{_sysconfdir}/deviceinfo/default.yaml
|
|
%dir %{_sysconfdir}/deviceinfo/devices
|
|
%config %{_sysconfdir}/deviceinfo/devices/*.yaml
|
|
%dir %{_sysconfdir}/deviceinfo/sensorfw
|
|
%config %{_sysconfdir}/deviceinfo/sensorfw/*.conf
|
|
%{_bindir}/device-info
|
|
%{_mandir}/man1/device-info.1.gz
|
|
%{_libdir}/libdeviceinfo.so.*
|
|
|
|
%files devel
|
|
%dir %{_includedir}/deviceinfo
|
|
%{_includedir}/deviceinfo/deviceinfo.h
|
|
/usr/include/deviceinfo/deviceinfo_c_api.h
|
|
%{_libdir}/libdeviceinfo.so
|
|
%{_libdir}/pkgconfig/deviceinfo.pc
|
|
|
|
%changelog
|
|
%autochangelog
|