Files
pin/pin.spec
Ismail Dönmez 1ea94cfee6 Accepting request 637551 from home:lemmy04:branches:utilities
- final fix for [bsc#1095723]
- fix for bug #1095723, pin broken on systems without 
  /etc/SuSE-release file [bsc#1095723]
- Clean up with spec-cleaner and silence rpmlint warnings
- fix bashisms
- Remove old specfile tags and sections
- patch license to follow spdx.org standard
- added stty sane to cleanup trap. (bug #458980, jw)
- fix changelog entry order
- package with cboltz fixes subbmitted 
- fixed fix for bug #188068, copying ARCHIVES.gz should now work
  with any shell
- clean up tempfile if pin gets killed or Ctrl-c'ed (bug #218263)
- --nosignature --nodigest for rpm -qa to speedup (thanks Pascal)
- su & tcsh fix (bug #188068) (thanks Volker)
- fixed wrong su command (bug #188068)
- throw error message if cd/dvd is not mounted
- converted neededforbuild to BuildRequires
- fixed error in cd/dvd handling (bug #144395)
 - add norootforbuild
- updated text (bug #115333) 
- removed test 
- fixed bug #104800 
- fixed update problem 
- forget one dvd-ram fix 
- wrong mountpoint, its dvdram instead of dvd-ram
- changed cd/dvd mounting 
- include the directory for ARCHIVES.gz in %files
- include ghosted ARCHIVES.gz in %files 
- some specfiles cleanup
- fixed insecure tmp file handling (bug #33794)
- fixed rm of wrong file
- added clear when using dialog
- clean up options
- -v uses now the version to search 
- changed specfile chown 
- pin is noarch
- fix /dvd/cdrom/cdrecorder mount
- fix messages before copy files, now in right order (bug #14637)
  
- fix remove tmp file at the end
- corrected typos (# 23264)
- new location for ARCHIVES.gz (# 22409), now /var/lib/pin/
- no sorting for main section, makes reading easier
- changed ARC_DIR to /usr/share/pin/
- uses now OUT_FILE_$$
- fixed root/user file permission bug
- cancel and no input fix, remove one cut
- added man page, usage info
- check options before grepfile
 
- fix output, now really sorted
- if ARCHIVES.gz not available, it will copied from CD/DVD
- created initial package

OBS-URL: https://build.opensuse.org/request/show/637551
OBS-URL: https://build.opensuse.org/package/show/utilities/pin?expand=0&rev=7
2018-09-24 14:31:37 +00:00

61 lines
1.8 KiB
RPMSpec

#
# spec file for package pin
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: pin
Version: 0.40
Release: 0
Summary: A tool for finding package information
License: GPL-2.0+
Group: Documentation/SUSE
Url: http://www.hennevogel.de/scripts/pin/
Source: pin
Source1: pin.1.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Pin - Package InformatioN. Pin searches the installed packages (rpm
-qi, -ql) and the ARCHIVES.gz file for the desired information. It
shows README, README.SuSE, and FAQ, when available.
%prep
:
%build
:
%install
mkdir -p %{buildroot}/%{_bindir}
install -m 755 %{SOURCE0} %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man1
install -m 644 %{SOURCE1} %{buildroot}/%{_mandir}/man1/pin.1.gz
install -d %{buildroot}/%{_localstatedir}/lib/%{name}
touch %{buildroot}/%{_localstatedir}/lib/%{name}/ARCHIVES.gz
%post
touch %{_localstatedir}/lib/%{name}/ARCHIVES.gz
%files
%defattr(-,root,root)
%{_bindir}/pin
%{_mandir}/man1/pin.1.gz
%dir %{_localstatedir}/lib/%{name}
%ghost %{_localstatedir}/lib/%{name}/ARCHIVES.gz
%changelog