-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add: flutter * Update flutter.spec Signed-off-by: madomado <[email protected]> * Update flutter.spec Signed-off-by: madomado <[email protected]> * mkdir Signed-off-by: madomado <[email protected]> --------- Signed-off-by: madomado <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
project pkg { | ||
rpm { | ||
spec = "flutter.spec" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Name: flutter | ||
Version: 3.13.8 | ||
Release: 1%?dist | ||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase | ||
License: BSD-3-Clause | ||
URL: https://flutter.dev | ||
Source0: https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_%version-stable.tar.xz | ||
Requires: bash curl git file which zip xz-utils | ||
Recommends: mesa-libGLU | ||
|
||
%description | ||
Flutter transforms the app development process. Build, test, and deploy | ||
beautiful mobile, web, desktop, and embedded apps from a single codebase. | ||
|
||
%prep | ||
tar xf %SOURCE0 | ||
|
||
%build | ||
|
||
%install | ||
mkdir -p %buildroot%_datadir %buildroot%_bindir | ||
mv %name/ %buildroot%_datadir/ | ||
ln -s %_datadir/%name/bin/%name %buildroot%_bindir/%name | ||
|
||
%files | ||
%_bindir/%name | ||
%_datadir/%name | ||
|
||
%changelog | ||
%autochangelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
let obj = get("https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json").json(); | ||
rpm.version(obj.releases[0].version); |