5.2. LICENSE 파일 만들기
적절한 소프트웨어 사용을 활성화하려면 RPM 패키지에 필요한 저작권 및 법적 정보가 포함된 라이센스 파일을 생성합니다. 패키징을 위해 패키징 중인 소프트웨어와 함께 라이센스 파일을 제공해야 합니다.
소프트웨어 라이센스와 함께 소프트웨어를 배포하는 것이 좋습니다. 소프트웨어 라이센스 파일은 사용자에게 소스 코드로 수행할 수 있고 수행할 수 없는 작업을 알려줍니다. 소스 코드에 대한 라이센스가 없으면 이 코드에 대한 모든 권한을 보유하고 소스 코드에서 파생 작업을 재현, 배포 또는 생성할 수 없습니다.
프로세스
필요한 라이센스 문을 사용하여
LICENSE파일을 생성합니다.$ vim LICENSE예를 들어, GPLv3
LICENSE파일에는 다음과 같은 텍스트가 있습니다.$ cat /tmp/LICENSEThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see \http://www.gnu.org/licenses/.