forked from rh-lab-q/rpg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rpg.spec
126 lines (116 loc) · 4.67 KB
/
rpg.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
Name: rpg
Version: 0.0.2
Release: 1%{?snapshot}%{?dist}
Summary: RPM Package Generator
License: GPLv2
URL: https://github.com/rh-lab-q/rpg
Source: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: python3-nose
BuildRequires: python3-devel
BuildRequires: python3 >= 3.4
BuildRequires: python3-qt5
BuildRequires: python3-copr
BuildRequires: qt5-qtbase-gui
BuildRequires: coreutils
BuildRequires: file
BuildRequires: makedepend
BuildRequires: rpmdevtools
BuildRequires: python3-copr
BuildRequires: python3-hawkey
BuildArch: noarch
Requires: python3 >= 3.4
Requires: python3-qt5
Requires: qt5-qtbase-gui
Requires: coreutils
Requires: file
Requires: makedepend
Requires: rpmdevtools
%if 0%{?fedora} >= 21
Recommends: python3-argcomplete
Recommends: python3-dnf
Recommends: python3-copr
%endif
%description
RPG is tool, that guides people through the creation of a RPM
package. RPG makes packaging much easier due to the automatic analysis of
packaged files. Beginners can get familiar with packaging process or the
advanced users can use our tool for a quick creation of a package.
%prep
%setup -q -n rpg-%{version}
%build
%cmake .
%post
activate-global-python-argcomplete
exec bash
%install
make install DESTDIR=%{RPM_BUILD_ROOT}
%make_install
%check
make ARGS="-V" test
%files
%{_bindir}/rpg
%{python3_sitelib}/rpg/
%changelog
* Fri Jul 03 2015 Jan Silhan <jsilhan@redhat.com> 0.0.2-1
- yum install added to travis (Miroslav Cibulka)
- python3-corp added to mock rpg.cfg (Miroslav Cibulka)
- download_archive has now 10 tries till exception (Miroslav Cibulka)
- active waiting 'till mock ends (Miroslav Cibulka)
- spec: all Requires added to BuildRequires (Jan Silhan)
- Copr_uploader deleted (fix #185) (regeciovad)
- Python-copr instead of copr-cli (#185) (regeciovad)
- gui fix (regeciovad)
- fetch_repos in new thread (fix #154) (regeciovad)
- Waiter for mock - yum update - Travis (#172) (Miroslav Cibulka)
- long test separation (Fix #156) (LukasSlouka)
- spec: added BuilRequires (Jan Silhan)
- Expansion of ~ replaced by rpm macro eval (Miroslav Cibulka)
- files_to_pkgs plugin checks existence of sack (cibo94)
- Command() error is now more verbose (/dev/null should be used locally)
(cibo94)
- Finding libs and programs are now universal (cibo94)
- (Build)Required files are now attribute (fix #177) (cibo94)
- Python file excludes added (fix #169) (cibo94)
- New first page and PagePatches deleted (fix #152) (regeciovad)
- Spec file is removed on tearDown (fix #172) (cibo94)
- Home path is now absolute (#172) (cibo94)
- files_to_pkgs plugin implemented + test (fix #128) (cibo94)
- Copr: new ToolTips (fix #9) (regeciovad)
- Mock fetch_repos (#153) (regeciovad)
- Build srpm output path fix (fix #160) (regeciovad)
- tests: remove hello.spec from find files (see 24bd61e) (Jan Silhan)
- README: cosmetic: removed hr (Jan Silhan)
- README: added travis CI build status (Jan Silhan)
- spec: print verbose test errors (Jan Silhan)
- this fixes the rpg rpm building (Pavol Vican)
- Add travis (fix #141) (Pavol Vican)
- plugin: python: exclude project py files (fix #165) (Jan Silhan)
- tar was packing files with full-path (cibo94)
- Duplicate '%%autosetup' removed (cibo94)
- installed phase moved to the page before (Build)Requires (fix #167) (cibo94)
- DNF stack was initialized before plugin engine was (fix #168) (cibo94)
- shutil.rmtree doesn't throw FileNotFoundError and errors can be supressed
(cibo94)
- Always build with newly generated specfile (fix #161) (cibo94)
- spec: ignore weak deps for < f21 (Jan Silhan)
- Creating archive bug fixed + copy of tarball added to builder (cibo94)
- fixed wrong order of writing spec file (Miroslav Cibulka)
- process_archive_or_dir to load_project_from_url (fix #149) (Miroslav Cibulka)
- Tito fix regression from 634d4a2 (LukasSlouka)
- build_srpm calls create_archive (Jan Silhan)
- self.Source is ${name}-${version}.tar.gz (fix #155) (Miroslav Cibulka)
- test_functional - package builder correction (#117) (xcibul10)
- Spec file refactored (fix #124) (xcibul10)
- Copr: GUI added (#9) (regeciovad)
- Copr_uploader methods (#9) (regeciovad)
- Functional test added (#117) (regeciovad)
- spec: rpg package name is lowercase (Jan Silhan)
- spec.Source + write_spec + buildLocationEdit fix (fix #150) (regeciovad)
- Package builder refactored (xcibul10)
- Description should be macro (fix #144) (xcibul10)
- hello_project in test/project added to test_find_files (xcibul10)
- import project from github and url implemented (fix #126) (fix #127)
(xcibul10)
- create_archive() implemented (fix #137) (fix #89) (xcibul10)
- SourceLoader refactored (fix #96) (xcibul10)