-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
umlo.spec
101 lines (82 loc) · 2.29 KB
/
umlo.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
Name: umlo
Summary: umlo for French MLO Repository
Version: 1.0.9
%global Rel 14
%if 0%{?mageia}
Release: %mkrel %{Rel}
%elif 0%{?fedora} > 36 || 0%{?rhel} > 6
Release: %{Rel}.surf%{?dist}
%else
Release: %{Rel}.surf.mlo
%endif
License: GPLv3
Group: Networking/File transfer
URL: https://github.com/surfzoid/umlo
Source0: https://github.com/surfzoid/umlo/archive/%{version}-%{Rel}/umlo-%{version}-%{Rel}.tar.gz
# List of additional build dependencies
%if 0%{?mageia}
BuildRequires: qtbase5-common-devel
BuildRequires: lib64qt5concurrent-devel
BuildRequires: pkgconfig(Qt5Widgets)
%else
%if 0%{?suse_version}
BuildRequires: libqt5-qtbase-devel
%else
BuildRequires: pkgconfig(Qt5)
%endif
%endif
Requires: qtbase5-common
%description
A client for rpm builders to manage MLO Repository.
It increase productivity and reduce stress by freeing mind of where to put rpm at good place.
%prep
%autosetup -n umlo-%{version}-%{Rel}
sed -i 's/\(VERSION = \).*/\1 %{version}/' %{_builddir}/%{name}-%{version}-%{Rel}/umlo.pro
sed -i 's/\(RELEASE = \).*/\1 %{Rel}/' %{_builddir}/%{name}-%{version}-%{Rel}/umlo.pro
%build
%if 0%{?suse_version}
#find /|grep -i qmake
/usr/bin/qmake-qt5
%else
%qmake_qt5
%endif
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}%{_datadir}
%find_lang %{name} --with-qt --all-name
%post
%clean
rm -rf %buildroot
chmod -R ug+rw %{_rpmdir}
chmod -R ug+rw %{_srcrpmdir}
%files
%if 0%{?mageia}
%license LICENSE
%doc README.md
%else
%{_datadir}/doc/umlo/README.md
%{_datadir}/licenses/umlo/LICENSE
%endif
%{_bindir}/umlo
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/umlo.png
%{_datadir}/umlo/translations/umlo_fr_FR.qm
%changelog
* Fri Jul 14 2023 [email protected]
+ manage multiple build directory.
* Wed Jun 14 2023 [email protected]
+ Avoid conflict between user prefix and rpm name.
* Wed May 24 2023 [email protected]
+ Best perf.
* Wed May 10 2023 [email protected]
+ Ask to conect manualy.
+ Refresh dir before scan.
+ Check if mounted before operations.
+ Custom ssh root path in settings.
* Tue May 9 2023 [email protected]
- Bug line number.
* Mon May 8 2023 [email protected]
+ Use a QtableWidget.
+ Filter rpm list.
* Sun May 7 2023 [email protected]
+ First beta release.