|
|
c91e8e9 |
Summary: Graphical secure password generator
|
|
|
c91e8e9 |
Name: gnome-password-generator
|
|
|
cc99a7c |
Version: 1.6
|
|
|
ef12047 |
Release: 8%{dist}
|
|
|
c91e8e9 |
License: GPLv2+
|
|
|
c91e8e9 |
Group: Applications/System
|
|
|
c91e8e9 |
URL: http://gnome-password.sourceforge.net/
|
|
|
cc99a7c |
Source0: http://downloads.sourceforge.net/gnome-password/%{name}-%{version}.tar.gz
|
|
cvsextras |
f429019 |
|
|
|
c91e8e9 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
b1f3f87 |
|
|
|
33265fd |
%if 0%{?fc8}%{?fc9}
|
|
|
c91e8e9 |
Requires: gnome-python2
|
|
|
33265fd |
%else
|
|
|
33265fd |
Requires: gnome-python2-gnome
|
|
|
33265fd |
%endif
|
|
|
33265fd |
|
|
|
c91e8e9 |
Requires: hicolor-icon-theme
|
|
cvsextras |
f429019 |
|
|
|
c91e8e9 |
BuildRequires: desktop-file-utils
|
|
|
c91e8e9 |
|
|
|
c91e8e9 |
BuildArch: noarch
|
|
cvsextras |
f429019 |
|
|
cvsextras |
f429019 |
%description
|
|
|
b1f3f87 |
Gnome Password Generator is a GUI based secure password generator. It allows
|
|
|
b1f3f87 |
the user to generate a specified number of random passwords of a specified
|
|
|
b1f3f87 |
length.
|
|
cvsextras |
f429019 |
|
|
cvsextras |
f429019 |
%prep
|
|
cvsextras |
f429019 |
%setup -q
|
|
cvsextras |
f429019 |
|
|
cvsextras |
f429019 |
%build
|
|
cvsextras |
f429019 |
make %{?_smp_mflags}
|
|
cvsextras |
f429019 |
|
|
cvsextras |
f429019 |
%install
|
|
|
b1f3f87 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b1f3f87 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/96x96/apps
|
|
|
e783b9d |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
|
|
pcompton |
2f8462d |
|
|
|
b1f3f87 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
cvsextras |
f429019 |
|
|
|
b1f3f87 |
# icon
|
|
|
b1f3f87 |
install -m0644 %{name}.png \
|
|
|
b1f3f87 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/96x96/apps
|
|
|
e783b9d |
install -m0644 %{name}.svg \
|
|
|
e783b9d |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
|
|
mjk |
bcf1802 |
|
|
|
b1f3f87 |
desktop-file-install --vendor gnome \
|
|
|
b1f3f87 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
b1f3f87 |
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
mjk |
61ddb3c |
|
|
|
b1f3f87 |
%clean
|
|
|
b1f3f87 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4af741c |
|
|
|
b1f3f87 |
%post
|
|
Christopher Aillon |
fd5af78 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
pcompton |
2f8462d |
|
|
|
b1f3f87 |
%postun
|
|
Christopher Aillon |
fd5af78 |
if [ $1 -eq 0 ] ; then
|
|
Christopher Aillon |
fd5af78 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
Christopher Aillon |
fd5af78 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
b1f3f87 |
fi
|
|
cvsextras |
f429019 |
|
|
Christopher Aillon |
fd5af78 |
%posttrans
|
|
Christopher Aillon |
fd5af78 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Christopher Aillon |
fd5af78 |
|
|
|
b1f3f87 |
%files
|
|
|
b1f3f87 |
%defattr(-, root, root, -)
|
|
|
cc99a7c |
%doc AUTHORS
|
|
|
cc99a7c |
%doc ChangeLog
|
|
|
cc99a7c |
%doc COPYING
|
|
|
cc99a7c |
%doc NEWS
|
|
|
cc99a7c |
%doc README
|
|
|
b1f3f87 |
%{_bindir}/%{name}
|
|
|
b1f3f87 |
%{_datadir}/applications/%{name}.desktop
|
|
|
b1f3f87 |
%{_datadir}/icons/hicolor/96x96/apps/%{name}.png
|
|
|
e783b9d |
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
b1f3f87 |
%{_datadir}/pixmaps/%{name}.png
|
|
cvsextras |
f429019 |
|
|
|
b1f3f87 |
%changelog
|
|
|
ef12047 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-8
|
|
|
ef12047 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ef12047 |
|
|
|
daeda8c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-7
|
|
|
daeda8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
daeda8c |
|
|
Christopher Aillon |
fd5af78 |
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 1.6-6
|
|
Christopher Aillon |
fd5af78 |
- Update icon cache scriptlet
|
|
Christopher Aillon |
fd5af78 |
|
|
|
572a95e |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-5
|
|
|
572a95e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
572a95e |
|
|
|
99fb91a |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
|
|
|
99fb91a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
99fb91a |
|
|
|
aba76b0 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
|
|
|
aba76b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
aba76b0 |
|
|
|
33265fd |
* Fri Nov 07 2008 Debarshi Ray <rishi@fedoraproject.org> - 1.6-2
|
|
|
33265fd |
- Replaced 'Requires: gnome-python2' with 'Requires: gnome-python2-gnome' on
|
|
|
33265fd |
all distributions starting from Fedora 10. Closes Red Hat Bugzilla bug
|
|
|
33265fd |
#460023.
|
|
|
33265fd |
- Trimmed the 'Requires' list.
|
|
|
33265fd |
|
|
|
cc99a7c |
* Sat May 17 2008 Debarshi Ray <rishi@fedoraproject.org> - 1.6-1
|
|
|
ded4441 |
- Version bump to 1.6. Closes Red Hat Bugzilla bug #438016.
|
|
|
cc99a7c |
|
|
|
c91e8e9 |
* Sat Oct 06 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.5-2
|
|
|
c91e8e9 |
- Removed 'Requires: redhat-artwork' and fixed the sources. Closes Red Hat
|
|
|
c91e8e9 |
Bugzilla bug #313981.
|
|
|
c91e8e9 |
|
|
|
e783b9d |
* Wed Aug 22 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.5-1
|
|
|
e783b9d |
- Version bump to 1.5.
|
|
|
e783b9d |
- Changed value of License according to Fedora licensing guidelines.
|
|
|
e783b9d |
- Place icon in SVG format under /usr/share/icons/hicolor/scalable/apps.
|
|
|
e783b9d |
- gnome-password-generator.desktop fixes added by upstream.
|
|
|
e783b9d |
|
|
|
b1f3f87 |
* Wed Aug 01 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.4-5
|
|
|
b1f3f87 |
- Removed Application from Categories.
|
|
|
b1f3f87 |
|
|
|
b1f3f87 |
* Tue Jul 31 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.4-4
|
|
|
b1f3f87 |
- Added 'Requires: redhat-artwork'.
|
|
|
b1f3f87 |
- Trimmed the 'BuildRequires' list.
|
|
|
b1f3f87 |
- Place icon under /usr/share/icons/hicolor/96x96/apps instead of
|
|
|
b1f3f87 |
/usr/share/icons/hicolor/48x48/apps.
|
|
|
b1f3f87 |
|
|
|
b1f3f87 |
* Sat Jul 28 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.4-3
|
|
|
b1f3f87 |
- Added 'Requires: hicolor-icon-theme'.
|
|
|
b1f3f87 |
- Fixed 'gtk-update-icon-cache' in the post[un] scriptlets.
|
|
|
b1f3f87 |
- Trimmed the 'make install ... DESTDIR=$RPM_BUILD_ROOT' command.
|
|
|
b1f3f87 |
- Trimmed the 'BuildRequires' list.
|
|
|
b1f3f87 |
|
|
|
b1f3f87 |
* Tue Jun 30 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.4-2
|
|
|
b1f3f87 |
- Removed X-Fedora from Categories.
|
|
|
b1f3f87 |
- Set vendor_id to "gnome".
|
|
|
b1f3f87 |
|
|
|
b1f3f87 |
* Tue Jun 26 2007 Debarshi Ray <rishi@fedoraproject.org> - 1.4-1
|
|
|
b1f3f87 |
- Initial build. Imported SPECs from Dag Apt Repository and Fedora Extras 6.
|