3419a87d6f
Reference from https://github.com/dotnet/core-setup/tree/master/src/pkg/packaging/rpm The goal is to have parity with Debian, but does not publish to the feed When run the script with rhel, it will produce rpm file in the package step and publish rpm to the blob storage
38 lines
No EOL
2.6 KiB
JSON
38 lines
No EOL
2.6 KiB
JSON
{
|
|
"maintainer_name": "Microsoft",
|
|
"maintainer_email": "dotnetcore@microsoft.com",
|
|
"vendor": ".NET Foundation",
|
|
"package_name": "%SDK_RPM_PACKAGE_NAME%",
|
|
"install_root": "/usr/share/dotnet",
|
|
"install_doc": "/usr/share/doc/%SDK_RPM_PACKAGE_NAME%/",
|
|
"short_description": "%CLI_SDK_BRAND_NAME% %SDK_NUGET_VERSION%",
|
|
"long_description": ".NET Core is a development platform that you can use to build command-line applications, microservices and modern websites. It is open source, cross-platform and is supported by Microsoft. We hope you enjoy using it! If you do, please consider joining the active community of developers that are contributing to the project on GitHub (https://github.com/dotnet/core). We happily accept issues and PRs.",
|
|
"homepage": "https://github.com/dotnet/core",
|
|
"release": {
|
|
"package_version": "1.0.0.0",
|
|
"package_revision": "1",
|
|
"changelog_message": "Bootstrap loop package"
|
|
},
|
|
"control": {
|
|
"architecture": "amd64"
|
|
},
|
|
"copyright": "2015 Microsoft",
|
|
"license": {
|
|
"type": "MIT",
|
|
"full_text": "Copyright (c) 2015 Microsoft\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."
|
|
},
|
|
"rpm_dependencies": [
|
|
{
|
|
"package_name": "%SHARED_HOST_RPM_NAME%",
|
|
"package_version": "%SHARED_HOST_RPM_VERSION%"
|
|
}
|
|
],
|
|
"directories": [
|
|
"/usr/share/dotnet/sdk",
|
|
"/usr/share/dotnet/store",
|
|
"/usr/share/dotnet/additionalDeps",
|
|
"/usr/share/doc/%SDK_RPM_PACKAGE_NAME%"
|
|
],
|
|
"after_install_source": "scripts/after_install_host.sh",
|
|
"after_remove_source": "scripts/after_remove_host.sh"
|
|
} |