{"id":18881379,"url":"https://github.com/leo-project/leofs_package","last_synced_at":"2025-04-14T20:11:11.751Z","repository":{"id":4130736,"uuid":"5242731","full_name":"leo-project/leofs_package","owner":"leo-project","description":"leofs_rpm is a LeoFS' configuration file for RPM and DEB","archived":false,"fork":false,"pushed_at":"2019-03-03T01:24:47.000Z","size":38,"stargazers_count":4,"open_issues_count":0,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T08:23:16.785Z","etag":null,"topics":["centos","leofs","package","ubuntu"],"latest_commit_sha":null,"homepage":"https://github.com/leo-project/leofs","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pezy/CppPrimer","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leo-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-31T07:29:44.000Z","updated_at":"2019-03-03T01:23:02.000Z","dependencies_parsed_at":"2022-09-01T00:52:51.280Z","dependency_job_id":null,"html_url":"https://github.com/leo-project/leofs_package","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo-project%2Fleofs_package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo-project%2Fleofs_package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo-project%2Fleofs_package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leo-project%2Fleofs_package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leo-project","download_url":"https://codeload.github.com/leo-project/leofs_package/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248952350,"owners_count":21188426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["centos","leofs","package","ubuntu"],"created_at":"2024-11-08T06:49:11.167Z","updated_at":"2025-04-14T20:11:11.729Z","avatar_url":"https://github.com/leo-project.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"leofs_package\n=============\n\nleofs_rpm is the leofs's configuration file for RPM(RedHat)/deb(Ubuntu)\n\n### How to make RPM file\n\n1. Prepare environment  \n  * Install Git, rpmbuild, erlang  \n\n2. Make working directories  \n```bash\n$ mkdir -p ~/rpm/{BUILD,RPMS,SOURCES,SPECS,SRPMS}\n```\n\n3. Copy spec file to 'SPECS' directory  \n```bash\n$ cp rpm/make_rpm.sh ~/rpm/SPECS  \n$ cp rpm/leofs.spec ~/rpm/SPECS\n$ cp common/check_version.sh ~/rpm/SPECS\n```\n\n4. Build RPM file  \n```bash\n$ cd ~/rpm/SPECS  \n$ sh make_rpm.sh VERSION \nExample:  \n$ sh make_rpm.sh 0.14.0  \n``` \n  * RPM file is created in the 'RPMS' directory.\n\n### How to make deb file\n\n1. Prepare environment\n  * Install Git, fakeroot, build-essential\n\n2. Make working directories\n```bash\n$ mkdir {WORK_DIRECTORY}\n ```\n\n3. Copy script file  \n```bash\n$ cp deb/make_deb.sh {WORK_DIRECTORY}\n$ cp common/check_version.sh {WORK_DIRECTORY}\n```\n\n4. Build deb file\n```bash\n$ cd {WORK_DIRECTORY}\n$ sh make_deb.sh {LeoFS's Version} {use systemd}\n```\nwhere \"use systemd\" can be either \"yes\" for building a package for systemd-compatible distro\nsuch as Ubuntu 16.04 or \"no\" for making a package that doesn't support (and depends on) systemd.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleo-project%2Fleofs_package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleo-project%2Fleofs_package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleo-project%2Fleofs_package/lists"}