You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgpdump/pgpdump.spec

39 lines
1.0 KiB

11 years ago
Name: pgpdump
Version: 0.28
Release: 1%{?dist}
Summary: PGP packet visualizer
License: MIT
URL: http://www.mew.org/~kazu/proj/pgpdump/
Source0: http://www.mew.org/~kazu/proj/pgpdump/%{name}-%{version}.tar.gz
# The patch being merged into upstream solved:
# 1. Wrong permissions like 555 but not 755, 444 but not 644.
# 2. RPM DESTDIR support
# 3. Preserve the timestamp when installing files.
Patch0: https://github.com/cicku/pgpdump/commit/1201ba18ff2981beb68f38ea817d0e8226950a85.patch
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
%description
pgpdump is a PGP packet visualizer which displays the packet format of
OpenPGP (RFC 4880) and PGP version 2 (RFC 1991).
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%files
%doc CHANGES COPYRIGHT README.md
%{_bindir}/pgpdump
%{_mandir}/man1/pgpdump.1*
%changelog
* Fri Aug 09 2013 Christopher Meng <rpm@cicku.me> - 0.28-1
- Initial Package.