|
|
495c8ca |
|
|
|
495c8ca |
# Versioning this package is a little odd. It seems that the Mageia packager
|
|
|
495c8ca |
# grabs from Git and creates version numbers as 1.7.{number of commits since 1.7}
|
|
|
495c8ca |
# which means upstream don't tag releases since it breaks his script.
|
|
|
495c8ca |
# (see: https://github.com/oferkv/phototonic/issues/214 ) so I will now package from Git.
|
|
|
495c8ca |
|
|
|
46eebbf |
%global commit0 d2176fee17a86abb09b229f8b99385a3f6d77f16
|
|
|
495c8ca |
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
|
|
495c8ca |
|
|
|
ce0f22d |
Name: phototonic
|
|
|
495c8ca |
|
|
|
46eebbf |
# here 12 is the number of commits since 2.1 - this seems to be the style for upstream.
|
|
|
495c8ca |
# since the first version packaged for Fedora was 1.7.20 this format needs to be kept
|
|
|
495c8ca |
# for upgrades to work - I can't drop the number and just use the git tag unfortunately.
|
|
|
46eebbf |
Version: 2.1.12
|
|
|
c07ab12 |
Release: 20190925git%{shortcommit0}%{?dist}
|
|
|
ce0f22d |
Summary: Image viewer and organizer
|
|
|
ce0f22d |
|
|
|
ce0f22d |
License: GPLv3
|
|
|
46eebbf |
URL: https://github.com/oferkv/phototonic
|
|
|
495c8ca |
Source0: https://github.com/oferkv/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz
|
|
|
ce0f22d |
|
|
|
bf14961 |
BuildRequires: make
|
|
|
ce0f22d |
BuildRequires: gcc-c++
|
|
|
ce0f22d |
BuildRequires: qt5-qtbase-devel
|
|
|
ce0f22d |
BuildRequires: qt5-linguist
|
|
|
ce0f22d |
BuildRequires: desktop-file-utils
|
|
|
ce0f22d |
BuildRequires: exiv2-devel
|
|
|
ce0f22d |
|
|
|
ce0f22d |
%description
|
|
|
ce0f22d |
phototonic is a fast and functional image viewer and organizer, inspired by the
|
|
|
ce0f22d |
traditional image viewer design (i.e. thumbnails and viewer layouts).
|
|
|
ce0f22d |
|
|
|
ce0f22d |
|
|
|
ce0f22d |
%prep
|
|
|
495c8ca |
%setup -q -n %{name}-%{commit0}
|
|
|
ce0f22d |
|
|
|
ce0f22d |
|
|
|
ce0f22d |
%build
|
|
|
ce0f22d |
%{qmake_qt5}
|
|
|
ce0f22d |
make %{?_smp_mflags}
|
|
|
ce0f22d |
|
|
|
ce0f22d |
|
|
|
ce0f22d |
%install
|
|
|
ce0f22d |
make install INSTALL_ROOT=%{buildroot}
|
|
|
ce0f22d |
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
ce0f22d |
|
|
|
ce0f22d |
%files
|
|
|
ce0f22d |
%license COPYING
|
|
|
ce0f22d |
%{_bindir}/%{name}
|
|
|
ce0f22d |
%{_datadir}/applications/%{name}.desktop
|
|
|
ce0f22d |
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
|
ce0f22d |
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
|
|
ce0f22d |
%{_datadir}/pixmaps/%{name}.png
|
|
|
ce0f22d |
%doc
|
|
|
ce0f22d |
|
|
|
ce0f22d |
%changelog
|
|
|
c07ab12 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.12-20190925gitd2176fe
|
|
|
c07ab12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
c07ab12 |
|
|
|
0a6dd60 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.12-20190924gitd2176fe
|
|
|
0a6dd60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0a6dd60 |
|
|
|
ba7100b |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.12-20190923gitd2176fe
|
|
|
ba7100b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ba7100b |
|
|
|
46eebbf |
* Fri Oct 11 2019 Michael Cullen <michael@cullen-online.com> - 2.1.12-20190922gitd2176fe
|
|
|
46eebbf |
- Fix FTBFS
|
|
|
46eebbf |
- Updated
|
|
|
46eebbf |
|
|
|
94d5cb6 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.21-20161110git24d7b78
|
|
|
94d5cb6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
94d5cb6 |
|
|
|
49b7f97 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.21-20161109git24d7b78
|
|
|
49b7f97 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
49b7f97 |
|
|
|
837fd5a |
* Wed Jan 30 2019 Rex Dieter <rdieter@fedoraproject.org> - 1.7.21-20161108git24d7b78
|
|
|
837fd5a |
- rebuild (exiv2)
|
|
|
837fd5a |
|
|
|
4d33e12 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.21-20161107git24d7b78
|
|
|
4d33e12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4d33e12 |
|
|
|
bc959bc |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.21-20161106git24d7b78
|
|
|
bc959bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
bc959bc |
|
|
|
238ae38 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.21-20161105git24d7b78
|
|
|
238ae38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
238ae38 |
|
|
|
1bc0544 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.21-20161104git24d7b78
|
|
|
1bc0544 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
1bc0544 |
|
|
Rex Dieter |
7218879 |
* Tue May 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 1.7.21-20161103git24d7b78
|
|
Rex Dieter |
7218879 |
- rebuild (exiv2)
|
|
Rex Dieter |
7218879 |
|
|
|
dffdb6a |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.21-20161102git24d7b78
|
|
|
dffdb6a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
dffdb6a |
|
|
|
495c8ca |
* Tue Nov 01 2016 Michael Cullen <michael@cullen-online.com> - 1.7.21-20161101git24d7b78
|
|
|
495c8ca |
- Updated to newer upstream commit, adding Portuguese language support.
|
|
|
ce0f22d |
* Tue May 10 2016 Michael Cullen <michael@cullen-online.com> - 1.7.20-2
|
|
|
ce0f22d |
- Fixed review comment. Added update-desktop-database calls.
|
|
|
ce0f22d |
* Thu May 5 2016 Michael Cullen <michael@cullen-online.com> - 1.7.20-1
|
|
|
ce0f22d |
- Pulled in properly tagged release from upstream
|
|
|
ce0f22d |
* Mon May 2 2016 Michael Cullen <michael@cullen-online.com> - 1.7.1-1
|
|
|
ce0f22d |
- Initial Package
|