-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from muff1nman/master
RPM Spec file updates
- Loading branch information
Showing
1 changed file
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,16 @@ | |
|
||
Name: qtpass | ||
Version: 1.0.5.1 | ||
Release: 1%{?dist} | ||
Release: 2%{?dist} | ||
Summary: QtPass is a multi-platform GUI for pass, the standard unix password manager. | ||
License: GPLv3 | ||
URL: https://qtpass.org/ | ||
Source0: %{name}-%{version}.tar.gz | ||
|
||
BuildRequires: qt5-qtbase-devel | ||
BuildRequires: qt5-qtbase-devel | ||
BuildRequires: qt5-linguist | ||
BuildRequires: desktop-file-utils | ||
BuildRequires: xdg-utils | ||
Requires: pass | ||
Requires: qt5-qtbase | ||
|
||
|
@@ -36,12 +39,32 @@ make %{?_smp_mflags} | |
|
||
%install | ||
%make_install | ||
install -Dm 0644 artwork/icon.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/qtpass-icon.png | ||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications qtpass.desktop | ||
|
||
%files | ||
%doc | ||
%{_bindir}/* | ||
%{_datadir}/applications/qtpass.desktop | ||
%{_datadir}/icons/hicolor/64x64/apps/qtpass-icon.png | ||
|
||
%post | ||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : | ||
|
||
%postun | ||
if [ $1 -eq 0 ] ; then | ||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null | ||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : | ||
fi | ||
|
||
%posttrans | ||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : | ||
|
||
%changelog | ||
* Wed Dec 30 2015 Andrew DeMaria <[email protected]> 1.0.5.1-2 | ||
- Added desktop/icon resources | ||
- Added required build deps for a clean build | ||
|
||
* Tue Dec 01 2015 serstring=Bram Vandoren <[email protected]> - 1.0.5-1 | ||
- Initial RPM spec | ||
|