Skip to content

Commit 467bbb2

Browse files
committed
Updated spec and debian changelog file
1 parent a7643b4 commit 467bbb2

File tree

2 files changed

+13
-25
lines changed

2 files changed

+13
-25
lines changed

dist/linux/debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
qview (2.0-1) unstable; urgency=low
1+
qview (2.0-1) bionic; urgency=low
22

33
* Initial release
44

dist/linux/rpm/qview.spec

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,49 +6,37 @@ Summary: Practical and minimal image viewer
66
Group: Applications/Multimedia
77
License: GPLv3
88
URL: https://interversehq.com/qview/
9-
Source0: https://github.com/jurplel/qView/releases/download/%{version}/qView-%{version}.tar.gz
9+
Source: https://github.com/jurplel/qView/releases/download/%{version}/qView-%{version}.tar.gz
10+
11+
BuildRequires: pkgconfig
12+
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.9
13+
BuildRequires: pkgconfig(Qt5Widgets) >= 5.9
14+
BuildRequires: pkgconfig(Qt5Network) >= 5.9
1015

1116

1217
%description
1318
qView is a Qt image viewer designed with minimalism and usability in mind.
1419

15-
%global debug_package %{nil}
16-
1720
%prep
18-
%setup -q -n qView
19-
21+
%autosetup -n qView
2022

2123
%build
2224
qmake-qt5
23-
make %{?_smp_mflags}
24-
25+
%make_build
2526

2627
%install
2728
mkdir -p %{buildroot}/usr/bin/
2829
cp bin/qview %{buildroot}/usr/bin/
29-
mkdir -p %{buildroot}/usr/share/icons/
30+
mkdir -p %{buildroot}/usr/share/icons/GPLv3
3031
cp -r dist/linux/hicolor %{buildroot}/usr/share/icons/
3132
mkdir -p %{buildroot}/usr/share/applications
3233
cp dist/linux/qView.desktop %{buildroot}/usr/share/applications/
3334

3435
%files
3536
/usr/bin/*
36-
/usr/share/icons/hicolor/16x16/*
37-
/usr/share/icons/hicolor/32x32/*
38-
/usr/share/icons/hicolor/64x64/*
39-
/usr/share/icons/hicolor/128x128/*
40-
/usr/share/icons/hicolor/256x256/*
41-
/usr/share/icons/hicolor/scalable/*
37+
/usr/share/icons/*
4238
/usr/share/applications/*
4339
%license LICENSE
44-
%doc
45-
46-
47-
48-
%changelog
49-
50-
51-
52-
53-
40+
%doc README.md
5441

42+
%changelog

0 commit comments

Comments
 (0)