From 44654928eb35578cbc09f0df3ce0c807e0c90a2b Mon Sep 17 00:00:00 2001 From: Robb Hamilton Date: Mon, 1 Feb 2016 08:57:58 -0500 Subject: [PATCH] Removing RPM build info since we haven't yet figured that out for v3 --- Makefile | 56 ----------------------------------------------------- README.md | 58 ++----------------------------------------------------- 2 files changed, 2 insertions(+), 112 deletions(-) delete mode 100644 Makefile diff --git a/Makefile b/Makefile deleted file mode 100644 index 597b14fbc9..0000000000 --- a/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -PACKAGE_NAME=patternfly -VERSION=3.0.0 -MILESTONE= -ifneq ($(MILESTONE),) -SUFFIX:=_$(MILESTONE) -endif -PACKAGE_VERSION=$(VERSION)$(SUFFIX) -PACKAGE_RPM_VERSION=$(VERSION) -# for milestones -# PACKAGE_RPM_RELEASE=0.0.$(MILESTONE) -# for releases -PACKAGE_RPM_RELEASE=1 -ABI=3 - -PREFIX=/usr/local -DATAROOT_DIR=$(PREFIX)/share -PKG_DATA_DIR=$(DATAROOT_DIR)/$(PACKAGE_NAME) -RESOURCES_DIR=$(DATAROOT_DIR)/patternfly$(ABI)/resources - -.SUFFIXES: -.SUFFIXES: .in - -all: patternfly.spec - rm -fr build - mkdir -p build/components - cp -r dist/* build - cp -r components/* build/components/ - sed -i "s#../../components#../components#g" \ - build/css/patternfly*.css \ - $(NULL) - -clean: - rm -rf build - -install: all - install -d -m 0755 "$(DESTDIR)$(RESOURCES_DIR)" - cp -r build/* "$(DESTDIR)$(RESOURCES_DIR)" - find "$(DESTDIR)$(RESOURCES_DIR)" -type d -exec chmod 0755 {} + - find "$(DESTDIR)$(RESOURCES_DIR)" -type f -exec chmod 0644 {} + - -.PHONY: patternfly.spec.in -dist: patternfly.spec - TMP="$$(mktemp -d)" && mkdir "$${TMP}/$(PACKAGE_NAME)-$(PACKAGE_VERSION)" && \ - git ls-files | \ - tar --files-from /proc/self/fd/0 -c patternfly.spec | \ - tar -C "$${TMP}/$(PACKAGE_NAME)-$(PACKAGE_VERSION)" -x && \ - tar -C "$${TMP}" -czf "$(PACKAGE_NAME)-$(PACKAGE_VERSION).tar.gz" "$(PACKAGE_NAME)-$(PACKAGE_VERSION)"; \ - rm -fr "$${TMP}" - -.in: - sed \ - -e 's/@PACKAGE_NAME@/$(PACKAGE_NAME)/g' \ - -e 's/@PACKAGE_VERSION@/$(PACKAGE_VERSION)/g' \ - -e 's/@PACKAGE_RPM_VERSION@/$(PACKAGE_RPM_VERSION)/g' \ - -e 's/@PACKAGE_RPM_RELEASE@/$(PACKAGE_RPM_RELEASE)/g' \ - $< > $@ diff --git a/README.md b/README.md index 16a6a78f87..b373b406aa 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,6 @@ PatternFly can be installed and managed through [npm](https://www.npmjs.com/). npm install patternfly ``` -### RPM - -PatternFly is also available as an RPM. See https://copr.fedoraproject.org/coprs/patternfly/patternfly2/. - ### Sass and/or Rails A [Sass port of PatternFly](https://github.com/patternfly/patternfly-sass) is available, as is a [Sass-based Rails Gem](https://rubygems.org/gems/patternfly-sass). @@ -131,11 +127,9 @@ The HTML pages in `tests/` are generated using Jekyll. Do *not* edit these file ## Release -PatternFly is released through the Bower, npm, and RPM. +PatternFly is released through the Bower and npm. -### Bower and npm - -To release a new version version of PatternFly, edit `bower.json`, `package.json`, and `MAKEFILE` accordingly. +To release a new version version of PatternFly, edit `bower.json` and `package.json` accordingly. Update the version listed in `bower.json` by editing the file and changing the line: @@ -149,15 +143,6 @@ Update the version listed in `package.json` by editing the file and changing the "version": "" ``` -Update the `MAKEFILE` by editing the file and changing the following lines: - -``` -VERSION= -MILESTONE= -# PACKAGE_RPM_RELEASE=0.0.$(MILESTONE) -PACKAGE_RPM_RELEASE=1 -``` - Commit the version bump: ``` @@ -179,45 +164,6 @@ To publish a new version to npm, run: npm publish ``` -### RPM - -RPMs of PatternFly Bower releases are built using Fedora or RHEL and rpm-build. - -Verify `MAKEFILE` is properly configured. - -Make the dist: - -``` -make dist -``` - -Copy the resulting tarball from the previous step to your rpmbuild/SOURCES directory. - -e.g., `cp patternfly-1.1.1.tar.gz ~/rpmbuild/SOURCES` - -Build the RPM: - -``` -rpmbuild -ba patternfly.spec -``` - -Commit the source RPM [1] to [https://github.com/patternfly/patternfly-srpms](https://github.com/patternfly/patternfly-srpms). - -[1] e.g., ~/rpmbuild/SRPMS/patternfly1-1.1.1-1.fc20.src.rpm - -Serve the commited source RPM via [RawGit](https://rawgit.com). - -Ask @rhamilto or @gregsheremeta to add a new build on [Fedora Copr](https://copr.fedoraproject.org/coprs/patternfly/patternfly2) using the URL created in the previous step. - -Edit `MAKEFILE` as follows and commit the change: - -``` -VERSION= -MILESTONE=master -PACKAGE_RPM_RELEASE=0.0.$(MILESTONE) -# PACKAGE_RPM_RELEASE=1 -``` - ## Documentation See [https://www.patternfly.org](https://www.patternfly.org) and [http://getbootstrap.com/](http://getbootstrap.com/).