sharkcz / rpms / qmapshack

Forked from rpms/qmapshack 4 years ago
Clone

Blame qmapshack.spec

1dfd165
Name: qmapshack
0a31fe8
Version: 1.6.3
88ab6e2
Release: 1%{?dist}
1dfd165
Summary: GPS mapping and management tool
1dfd165
1dfd165
Group: Applications/Communications
1dfd165
License: GPLv3+ and BSD
1dfd165
URL: https://bitbucket.org/maproom/qmapshack/wiki/Home
1dfd165
Source0: https://bitbucket.org/maproom/%{name}/downloads/%{name}-%{version}.tar.gz
1dfd165
# needed for F-20
1dfd165
Patch0: %{name}-0.11.0-cmake28.patch
cfb0b8e
# use planetsplitter from routino package
a2902b3
Patch1: %{name}-1.4.0-system-routino.patch
1dfd165
Requires: proj-epsg
cfb0b8e
Requires: routino
1dfd165
1dfd165
BuildRequires: cmake
1dfd165
BuildRequires: pkgconfig(Qt5Widgets)
1dfd165
BuildRequires: pkgconfig(Qt5Core)
1dfd165
BuildRequires: pkgconfig(Qt5Xml)
1dfd165
BuildRequires: pkgconfig(Qt5Script)
1dfd165
BuildRequires: pkgconfig(Qt5Sql)
1dfd165
BuildRequires: pkgconfig(Qt5WebKitWidgets)
1dfd165
BuildRequires: qt5-qttools-devel
1dfd165
BuildRequires: proj-devel
1dfd165
BuildRequires: gdal-devel
cfb0b8e
BuildRequires: zlib-devel
a2902b3
BuildRequires: routino-devel
1dfd165
BuildRequires: desktop-file-utils
1dfd165
1dfd165
1dfd165
%description
1dfd165
QMapShack provides a versatile tool for GPS maps in GeoTiff format as well as
1dfd165
Garmin's img vector map format. You can also view and edit your GPX tracks.
1dfd165
QMapShack is the successor of QLandkarteGT.
1dfd165
1dfd165
Main features:
1dfd165
- use of several work-spaces
1dfd165
- use several maps on a work-space
1dfd165
- handle data project-oriented
1dfd165
- exchange data with the device by drag-n-drop
1dfd165
1dfd165
1dfd165
%prep
1dfd165
%setup -q
1dfd165
%patch0 -p1
cfb0b8e
%patch1 -p1
1dfd165
1dfd165
# create build directory
1dfd165
mkdir build
1dfd165
1dfd165
1dfd165
%build
1dfd165
cd build
1dfd165
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF ..
1dfd165
make VERBOSE=1 %{?_smp_mflags}
1dfd165
1dfd165
1dfd165
%install
1dfd165
cd build
1dfd165
make install DESTDIR=%{buildroot}
1dfd165
1dfd165
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
1dfd165
1dfd165
1dfd165
%post
1dfd165
/usr/bin/update-desktop-database &> /dev/null || :
1dfd165
1dfd165
%postun
1dfd165
/usr/bin/update-desktop-database &> /dev/null || :
1dfd165
1dfd165
1dfd165
%files
1dfd165
%license LICENSE
1dfd165
%doc changelog.txt
1dfd165
%{_bindir}/%{name}
1dfd165
%{_datadir}/applications/%{name}.desktop
a2902b3
%{_datadir}/icons/hicolor/*/apps/QMapShack.*
1dfd165
%{_datadir}/pixmaps/QMapShack.png
1dfd165
%{_datadir}/%{name}
1dfd165
%{_mandir}/man1/%{name}.*
1dfd165
1dfd165
1dfd165
%changelog
0a31fe8
* Thu Jul 14 2016 Dan Horák <dan[at]danny.cz> - 1.6.3-1
0a31fe8
- update to 1.6.3
0a31fe8
e6c5704
* Mon Jul 04 2016 Dan Horák <dan[at]danny.cz> - 1.6.2-1
e6c5704
- update to 1.6.2
e6c5704
64045a6
* Mon Mar 28 2016 Dan Horák <dan[at]danny.cz> - 1.6.1-1
64045a6
- update to 1.6.1
64045a6
88ab6e2
* Fri Feb 26 2016 Dan Horák <dan[at]danny.cz> - 1.6.0-1
88ab6e2
- update to 1.6.0
88ab6e2
26c8db4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
26c8db4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
26c8db4
7ce9016
* Sun Nov 22 2015 Dan Horák <dan[at]danny.cz> - 1.5.1-1
7ce9016
- update to 1.5.1
7ce9016
a2902b3
* Thu Nov 12 2015 Dan Horák <dan[at]danny.cz> - 1.4.0-1
a2902b3
- update to 1.4.0
a2902b3
abfaf43
* Mon Jul 27 2015 Dan Horák <dan@danny.cz> - 1.3.0-2
abfaf43
- rebuild for GDAL 2.0
abfaf43
cfb0b8e
* Thu Jul 02 2015 Dan Horák <dan[at]danny.cz> - 1.3.0-1
cfb0b8e
- update to 1.3.0
cfb0b8e
1dfd165
* Wed Jun 24 2015 Dan Horák <dan[at]danny.cz> - 1.2.2-1
1dfd165
- update to 1.2.2
1dfd165
- add missing desktop-database scriptlets
1dfd165
- fix license tag
1dfd165
1dfd165
* Tue Apr 14 2015 Dan Horák <dan[at]danny.cz> - 1.2.0-1
1dfd165
- update to 1.2.0
1dfd165
1dfd165
* Sun Apr 05 2015 Dan Horák <dan[at]danny.cz> - 1.1.0-1
1dfd165
- initial Fedora version