Name: postgresql-semver Version: 0.5.0 Release: 1%{?dist} Summary: A semantic version data type for PostgreSQL License: PostgreSQL Group: Applications/Databases Url: https://github.com/theory/pg-semver Source0: http://api.pgxn.org/dist/semver/%{version}/semver-%{version}.zip BuildRequires: postgresql-devel Requires: postgresql-libs %description This library contains a single PostgreSQL extension, a data type called "semver". It's an implementation of the version number format specified by the Semantic Versioning 1.0.0 Specification. %prep %setup -q -n semver-%{version} %build make %install make DESTDIR=%{buildroot} install # remove misplaced documentation file, added via doc rm %{buildroot}%{_docdir}/pgsql/extension/semver.mmd %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE README.md doc/semver.mmd %{_libdir}/pgsql/semver.so %{_datadir}/pgsql/extension/semver.control %{_datadir}/pgsql/extension/semver*.sql %changelog * Tue Dec 09 2014 Richard Marko - 0.5.0-1 - Initial packaging.