You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
667 B
33 lines
667 B
7 months ago
|
%global __provides_exclude_from ^%{_datadir}/%{name}/lib/.*$
|
||
|
%global __requires_exclude ^lib(dconf|flutter-embedder|maliit-glib|.+_platform_plugin)\\.so.*$
|
||
|
|
||
|
Name: com.example.counters
|
||
|
Summary: A new Flutter project.
|
||
|
Version: 0.1.0
|
||
|
Release: 1
|
||
|
License: Proprietary
|
||
|
Source0: %{name}-%{version}.tar.zst
|
||
|
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: ninja
|
||
|
BuildRequires: pkgconfig(flutter-embedder)
|
||
|
|
||
|
%description
|
||
|
%{summary}.
|
||
|
|
||
|
%prep
|
||
|
%autosetup
|
||
|
|
||
|
%build
|
||
|
%cmake -GNinja -DCMAKE_BUILD_TYPE=%{_flutter_build_type}
|
||
|
%ninja_build
|
||
|
|
||
|
%install
|
||
|
%ninja_install
|
||
|
|
||
|
%files
|
||
|
%{_bindir}/%{name}
|
||
|
%{_datadir}/%{name}/*
|
||
|
%{_datadir}/applications/%{name}.desktop
|
||
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|