Created
October 30, 2013 19:12
-
-
Save migonzalvar/7238367 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define git_version %(git describe --tags 2> /dev/null || echo 0.0-`git log --oneline | wc -l`-g`git describe --always`) | |
%define git_get_ver %(echo %{git_version} | sed 's/^v\\?\\(.*\\)-\\([0-9]\\+\\)-g.*$/\\1/;s/-//') | |
%define git_get_rel %(echo %{git_version} | sed 's/^v\\?\\(.*\\)-\\([0-9]\\+-g.*\\)$/\\2/;s/-/_/') | |
Name: xsce-virtual | |
Summary: XSCE virtual package to isolate xs-config and xs-tools dependencies | |
Version: %git_get_ver | |
Release: %git_get_rel | |
License: GPLv3 | |
Group: Applications/System | |
Source: %{expand:%%(pwd)} | |
BuildArch: noarch | |
Provides: xs-config xs-tools | |
URL: http://github.com/XSCE/xsce.git | |
Provides: xsce-virtual | |
%description | |
Virtual package that provides xs-config xs-tools packages for testing XSCE ansible implmentation. | |
%files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment