Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vlefebvre
flutter-obs
flutter-obs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File flutter-obs.spec of Package flutter-obs
# # spec file for package flutter # # Copyright (c) 2023 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/ # %define sdk flutter %define install_dir /opt/%{sdk} Name: %{sdk}-obs Version: 3.16.0+0 Release: 0 Summary: Google's SDK for creating multi platform apps License: BSD-3-Clause URL: https://github.com/flutter/flutter Group: Development/Tools/Other Source: %{sdk}-%{version}.tar.xz Source1: pub-cache.tar.xz BuildRequires: git Requires: coreutils Requires: bash Requires: curl Requires: file Requires: git Requires: unzip Requires: which Requires: xz Requires: zip %description Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source. %prep %setup -q -n %{sdk}-%{version} tar -xf %{SOURCE1} -C ./ %build git config --local --add safe.directory %{install_dir} %install install -d -m 0755 %{buildroot}%{install_dir} cp -ra ./. %{buildroot}%{install_dir} mkdir -p %{buildroot}%{_sysconfdir}/profile.d # echo "PATH=\"${PATH}:%{install_dir}/bin/cache/dart-sdk/bin:%{install_dir}/bin\"" > %{buildroot}%{_sysconfdir}/profile.d/flutter.sh # echo "PUB_CACHE=%{install_dir}/pub-cache" >> %{buildroot}%{_sysconfdir}/profile.d/flutter.sh %post chmod -R g+w,o+w %{install_dir} # flutter precache || true # flutter doctor || true %files %doc README.md LICENSE %{install_dir} # %{_sysconfdir}/profile.d/flutter.sh %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor