Changes for creation rpm package.

--HG--
branch : develop
This commit is contained in:
dismine 2014-12-22 21:46:13 +02:00
parent 42275e32b0
commit b121aa98e3
2 changed files with 7 additions and 9 deletions

10
dist/rpm/_service vendored
View File

@ -1,18 +1,14 @@
<services>
<service name="tar_scm">
<param name="url">https://github.com/dismine/Valentina.git</param>
<param name="versionprefix">0.2.8-alpha</param>
<param name="versionprefix">0.2.8</param>
<param name="filename">valentina</param>
<param name="branch">master</param>
<param name="scm">git</param>
<param name="versionformat">%at</param>
</service>
<service name="extract_file">
<service name="extract_file" mode="disabled">
<param name="archive">*.tar</param>
<param name="files">*/dist/rpm/valentina.spec</param>
</service>
<service name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version"/>
</services>

View File

@ -2,7 +2,7 @@ Name:valentina
# Fedora specifics
%if 0%{?fedora_version} > 0 || 0%{?rhel_version} > 0 || 0%{?centos_version} > 0
BuildRequires: pkgconfig(Qt5Core) libqt5-qttools >= 5.2.0 libQtSvg-devel >= 5.2.0 ccache
BuildRequires: pkgconfig(Qt5Core) pkgconfig(Qt5Gui) pkgconfig(Qt5Network) pkgconfig(Qt5PrintSupport) pkgconfig(Qt5Widgets) pkgconfig(Qt5Xml) ccache
%endif
# SUSE Specifics
@ -11,10 +11,11 @@ BuildRequires: libqt5-qtbase-devel >= 5.2.0 libqt5-qttools >= 5.2.0 libQt5Svg-d
%endif
Version: 0.2.8
Release: 1
Release: 0
URL: https://bitbucket.org/dismine/valentina
License: GPL-3.0+
Source0: %{name}-%{version}.tar
Requires: poppler-utils
Group: Graphics
Summary: Pattern Making Application
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -69,3 +70,4 @@ ldconfig
* Mon Dec 22 2014 Roman Telezhinskyi
- Initial build