kind: distutils
depends:
- erlang.bst
- unmaintained/django.bst
- unmaintained/xstatic.bst
- openstack-clients.bst
- unmaintained/test-tools.bst
- python-tools.bst
- unmaintained/openstack-services/sqlalchemy.bst
- unmaintained/openstack-services/anyjson.bst
- unmaintained/openstack-services/routes.bst
- unmaintained/openstack-services/sqlalchemy-migrate.bst
- unmaintained/openstack-services/httplib2.bst
- unmaintained/openstack-services/kombu.bst
- unmaintained/openstack-services/keystonemiddleware.bst
- unmaintained/openstack-services/wsme.bst
- unmaintained/openstack-services/oslo-vmware.bst
- unmaintained/openstack-services/oslo-concurrency.bst
- unmaintained/openstack-services/oslo-context.bst
- unmaintained/openstack-services/oslo-log.bst
- unmaintained/openstack-services/oslo-policy.bst
- unmaintained/openstack-services/paste.bst
- unmaintained/openstack-services/oslo-db.bst
- unmaintained/openstack-services/oslo-messaging.bst
- unmaintained/openstack-services/retrying.bst
- unmaintained/openstack-services/osprofiler.bst
- unmaintained/openstack-services/ordereddict.bst
- unmaintained/openstack-services/glance_store.bst
- unmaintained/openstack-services/semantic-version.bst
- unmaintained/openstack-services/taskflow.bst
- unmaintained/openstack-services/posix-ipc-tarball.bst
sources:
- kind: git
  url: upstream:openstack/glance
  track: 2015.1.0
  ref: 93b0d5fce3a41e4a3a549f98f78b6681cbc3ea95
variables:
  python: python
config:
  install-commands:
    (>):
    - mkdir -p "%{install-root}"/etc/glance
    - install -m 644 etc/glance-api-paste.ini "%{install-root}"/etc/glance/
    - install -m 644 etc/glance-registry-paste.ini "%{install-root}"/etc/glance/
    - install -m 644 etc/glance-search-paste.ini "%{install-root}"/etc/glance/
    - install -m 644 etc/policy.json "%{install-root}"/etc/glance/
    - install -m 644 etc/schema-image.json "%{install-root}"/etc/glance/
    - install -m 644 etc/search-policy.json "%{install-root}"/etc/glance/
    - cp -r etc/metadefs "%{install-root}"/etc/glance/
    - install -m 644 etc/glance-scrubber.conf "%{install-root}"/etc/glance/
    - install -m 644 etc/glance-cache.conf "%{install-root}"/etc/glance/
    - install -m 644 etc/glance-search.conf "%{install-root}"/etc/glance/
    - |
      install -m 644 etc/glance-swift.conf.sample \
                     "%{install-root}"/etc/glance/glance-swift.conf
    - install -m 644 etc/glance-manage.conf "%{install-root}"/etc/glance/
    - |
      install -m 644 etc/property-protections-policies.conf.sample \
                     "%{install-root}"/etc/glance/property-protections-policies.conf
    - |
      install -m 644 etc/property-protections-roles.conf.sample \
                     "%{install-root}"/etc/glance/property-protections-roles.conf
