{"id":23832034,"url":"https://github.com/csdms/rpm_models","last_synced_at":"2025-07-30T05:05:16.561Z","repository":{"id":19448610,"uuid":"22692752","full_name":"csdms/rpm_models","owner":"csdms","description":"Recipes for building binary and source RPMs for CSDMS models","archived":false,"fork":false,"pushed_at":"2014-11-07T18:01:35.000Z","size":704,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-17T00:46:39.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csdms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-06T18:06:01.000Z","updated_at":"2014-11-07T18:01:36.000Z","dependencies_parsed_at":"2022-08-24T01:20:10.838Z","dependency_job_id":null,"html_url":"https://github.com/csdms/rpm_models","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/csdms/rpm_models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Frpm_models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Frpm_models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Frpm_models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Frpm_models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csdms","download_url":"https://codeload.github.com/csdms/rpm_models/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csdms%2Frpm_models/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267814631,"owners_count":24148328,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-02T14:17:02.035Z","updated_at":"2025-07-30T05:05:16.510Z","avatar_url":"https://github.com/csdms.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/csdms/rpm_models.svg?branch=master)](https://travis-ci.org/csdms/rpm_models)\n\nrpm_models\n==========\n\nRecipes for building binary and source RPMs for CSDMS models.\n\n## Requirements\n\nThese recipes are designed for Linux distros\nthat are compatible with Red Hat Enterprise Linux\n(e.g., CentOS, Fedora, SUSE).\nTo install CSDMS models on Mac OS X,\nplease see the\n[csdms/homebrew-models](https://github.com/csdms/homebrew-models)\nproject.\n\nTo build and install the tools in this repository,\nthe mandatory and default packages in the \n\"Development Tools\" group (such as `make`, `gcc`, and `rpm-build`) \nare required,\nas well as `cmake`, `git` and `rpmdevtools`.\nInstall them with:\n```bash\n$ sudo yum groupinstall \"development tools\"\n$ sudo yum install cmake git rpmdevtools\n```\n\n## Preparation\n\nDownload and install the `packagebuilder` Python package from the\n[csdms/packagebuilder](https://github.com/csdms/packagebuilder)\nrepository:\n```bash\n$ git clone https://github.com/csdms/packagebuilder.git\n$ cd packagebuilder\n$ sudo python setup.py install\n```\nThis installs the script `build_rpm`,\nwhich can be used to build the RPMs for a model.\n\nTo separate CSDMS software from other programs,\nthe tools in this repository are designed to be installed \nin the directory **/usr/local/csdms**,\nalthough this is optional.\nSet the environment variable `CSDMS_DIR` to the installation path on your machine:\n```bash\n$ export CSDMS_DIR=/usr/local/csdms\n```\n`CSDMS_DIR` is used by several recipes in this repository.\n\nThe `QA_RPATHS` environment variable may also need to be set:\n```bash\n$ export QA_RPATHS=19\n```\nfor building RPMs.\n\n## Building a package\n\nTo create RPMs for a model,\ncall `build_rpm` with the model name as a parameter.\nFor example, to build `hydrotrend`:\n\n```bash\n$ build_rpm hydrotrend --prefix=$CSDMS_DIR\n```\nThe `build_rpm` script\ndownloads the source \n(the HEAD revision on the trunk branch) \nfor the specified model \nfrom a hosted repository (CSDMS or GitHub),\nthen calls\n[rpmbuild](http://www.rpm.org/max-rpm-snapshot/rpmbuild.8.html)\nto create binary and source RPMs for the model.\nOn success,\nRPMs will be located in the directories\n**~/rpmbuild/RPMS** (binary) and\n**~/rpmbuild/SRPMS** (source)\non your machine.\n\n## Installation\n\nInstall the package from the binary RPM with `rpm` or `yum`.\nFor example:\n```bash\n$ sudo rpm -ivh hydrotrend-head-1.el6.x86_64.rpm\n$ # or...\n$ sudo yum install hydrotrend-head-1.el6.x86_64.rpm\n```\n\nCheck that the package was installed successfully:\n```bash\n$ hydrotrend --version\nHydroTrend version 3.0.5\n```\n\n## The CSDMS repository\n\nBuilt versions of all of the models listed here are available \nfrom the CSDMS repository, \n[http://csdms.colorado.edu/repo/](http://csdms.colorado.edu/repo/).\nSee the [README.md](http://csdms.colorado.edu/repo/README.md) file\nfor instructions on how to install these packages \non your machine.\n\n## About CSDMS\n\n[CSDMS](http://csdms.colorado.edu/wiki/Main_Page),\nthe Community Surface Dynamics Modeling System,\nis an NSF-funded project that supports a diverse community\nof users and developers\nof earth and ocean system models. \nCSDMS develops, integrates, archives and disseminates\nmodels and tools to an international community\nwith the goal of building the frameworks necessary\nto model the earth system.\nModelers use CSDMS for access\nto hundreds of open source surface dynamics models and tools,\nas well as model metadata.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsdms%2Frpm_models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsdms%2Frpm_models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsdms%2Frpm_models/lists"}