Mageia Bugzilla – Attachment 13650 Details for
Bug 31410
Autobuild is a Linden Lab resource that does all the hard work to build a viewer like Phoenix Firestorm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
autobuild.spec (text/x-rpm-spec), 2.66 KB, created by
Kristoffer Grundström
on 2023-01-16 04:43:08 CET
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2023-01-16 04:43:08 CET
Size:
2.66 KB
patch
obsolete
>%define name autobuild >%define version 3.8.1 >%define unmangled_version 3.8.1 >%define release 1 > >Summary: Linden Lab Automated Package Management and Build System >Name: %{name} >Version: %{version} >Release: %{release} >Url: http://wiki.secondlife.com/wiki/Autobuild >Source0: %{name}-%{unmangled_version}.tar.gz >License: MIT >Group: Development/Libraries >BuildArch: noarch > >%description >**Autobuild** is a framework for building packages and for managing the >dependencies of a package on other packages. It provides a common >interface to configuring and building any package, but it is not a >build system like make or cmake. You will still need platform-specific >make, cmake, or project files to configure and build your >library. Autobuild will, however, allow you invoke these commands and >package the product with a common interface. > >*Important: Linden Lab Autobuild is not the same as or derived from GNU >Autobuild, but they are similar enough to cause confusion.* > >For more information, see [Autobuild's wiki page][wiki]. > >[wiki]: https://wiki.secondlife.com/wiki/Autobuild > >## Environment variables > >| Name | Default | Description | >|-|-|-| >| AUTOBUILD_ADDRSIZE | 32 | Target address size | >| AUTOBUILD_BUILD_ID | - | Build identifier | >| AUTOBUILD_CONFIGURATION | - | Target build configuration | >| AUTOBUILD_CONFIG_FILE | autobuild.xml | Autobuild configuration filename | >| AUTOBUILD_CPU_COUNT | - | Build system cpu core count | >| AUTOBUILD_GITHUB_TOKEN | - | GitHub HTTP authorization token to use during package download | >| AUTOBUILD_GITLAB_TOKEN | - | GitLab HTTP authorization token to use during package download | >| AUTOBUILD_INSTALLABLE_CACHE | - | Location of local download cache | >| AUTOBUILD_LOGLEVEL | WARNING | Log level | >| AUTOBUILD_PLATFORM | - | Target platform | >| AUTOBUILD_SCM_SEARCH | true | Whether to search for .git in parent directories if using SCM version discovery | >| AUTOBUILD_VARIABLES_FILE | - | .env file to load | >| AUTOBUILD_VCS_BRANCH | git branch | autobuild-package.xml VCS info: branch name. | >| AUTOBUILD_VCS_INFO | false | Whether to include version control information in autobuild-package.xml | >| AUTOBUILD_VCS_REVISION | git commit | autobuild-package.xml VCS commit reference to include in autobuild-package.xml. Defaults to current git commit sha. | >| AUTOBUILD_VCS_URL | git remote url | autobuild-package.xml VCS info: repository URL | >| AUTOBUILD_VSVER | - | Target Visual Studio version to use on windows | > >%prep >%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} > >%build >python3 setup.py build > >%install >python3 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES > >%files -f INSTALLED_FILES
%define name autobuild %define version 3.8.1 %define unmangled_version 3.8.1 %define release 1 Summary: Linden Lab Automated Package Management and Build System Name: %{name} Version: %{version} Release: %{release} Url: http://wiki.secondlife.com/wiki/Autobuild Source0: %{name}-%{unmangled_version}.tar.gz License: MIT Group: Development/Libraries BuildArch: noarch %description **Autobuild** is a framework for building packages and for managing the dependencies of a package on other packages. It provides a common interface to configuring and building any package, but it is not a build system like make or cmake. You will still need platform-specific make, cmake, or project files to configure and build your library. Autobuild will, however, allow you invoke these commands and package the product with a common interface. *Important: Linden Lab Autobuild is not the same as or derived from GNU Autobuild, but they are similar enough to cause confusion.* For more information, see [Autobuild's wiki page][wiki]. [wiki]: https://wiki.secondlife.com/wiki/Autobuild ## Environment variables | Name | Default | Description | |-|-|-| | AUTOBUILD_ADDRSIZE | 32 | Target address size | | AUTOBUILD_BUILD_ID | - | Build identifier | | AUTOBUILD_CONFIGURATION | - | Target build configuration | | AUTOBUILD_CONFIG_FILE | autobuild.xml | Autobuild configuration filename | | AUTOBUILD_CPU_COUNT | - | Build system cpu core count | | AUTOBUILD_GITHUB_TOKEN | - | GitHub HTTP authorization token to use during package download | | AUTOBUILD_GITLAB_TOKEN | - | GitLab HTTP authorization token to use during package download | | AUTOBUILD_INSTALLABLE_CACHE | - | Location of local download cache | | AUTOBUILD_LOGLEVEL | WARNING | Log level | | AUTOBUILD_PLATFORM | - | Target platform | | AUTOBUILD_SCM_SEARCH | true | Whether to search for .git in parent directories if using SCM version discovery | | AUTOBUILD_VARIABLES_FILE | - | .env file to load | | AUTOBUILD_VCS_BRANCH | git branch | autobuild-package.xml VCS info: branch name. | | AUTOBUILD_VCS_INFO | false | Whether to include version control information in autobuild-package.xml | | AUTOBUILD_VCS_REVISION | git commit | autobuild-package.xml VCS commit reference to include in autobuild-package.xml. Defaults to current git commit sha. | | AUTOBUILD_VCS_URL | git remote url | autobuild-package.xml VCS info: repository URL | | AUTOBUILD_VSVER | - | Target Visual Studio version to use on windows | %prep %setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version} %build python3 setup.py build %install python3 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %files -f INSTALLED_FILES
View Attachment As Raw
Actions:
View
Attachments on
bug 31410
:
13649
| 13650