|
|
0ce022d |
Name: dumpasn1
|
|
|
d50c01c |
Version: 20060622
|
|
|
ad2802f |
Release: 2%{?dist}
|
|
|
0ce022d |
Summary: ASN.1 object dump utility
|
|
|
0ce022d |
|
|
|
0ce022d |
Group: Development/Tools
|
|
|
0ce022d |
License: Public Domain
|
|
|
0ce022d |
URL: http://www.cs.auckland.ac.nz/~pgut001/
|
|
|
d74fa7d |
Source0: http://www.cs.auckland.ac.nz/~pgut001/%{name}.c
|
|
|
d74fa7d |
Source1: http://www.cs.auckland.ac.nz/~pgut001/%{name}.cfg
|
|
|
d74fa7d |
Patch0: http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_20030222-1.diff.gz
|
|
|
0ce022d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
0ce022d |
|
|
|
0ce022d |
BuildRequires: sed >= 3.95
|
|
|
0ce022d |
|
|
|
0ce022d |
%description
|
|
|
0ce022d |
dumpasn1 is an ASN.1 object dump program that will dump data encoded
|
|
|
0ce022d |
using any of the ASN.1 encoding rules in a variety of user-specified
|
|
|
0ce022d |
formats.
|
|
|
0ce022d |
|
|
|
0ce022d |
|
|
|
0ce022d |
%prep
|
|
|
0ce022d |
%setup -q -c -T
|
|
|
0ce022d |
install -pm 644 %{SOURCE0} .
|
|
|
0ce022d |
%patch0 -p1
|
|
|
0ce022d |
sed -i -e 's|\bgcc |\$(CC) \$(RPM_OPT_FLAGS) |' Makefile
|
|
|
0ce022d |
sed -i -e 's|/etc/dumpasn1/|%{_sysconfdir}/dumpasn1/|' dumpasn1.{c,1*}
|
|
|
0ce022d |
|
|
|
0ce022d |
|
|
|
0ce022d |
%build
|
|
|
0ce022d |
make %{?_smp_mflags} CC="%{__cc}"
|
|
|
0ce022d |
|
|
|
0ce022d |
|
|
|
0ce022d |
%install
|
|
|
0ce022d |
rm -rf $RPM_BUILD_ROOT
|
|
|
0ce022d |
install -Dpm 755 dumpasn1 $RPM_BUILD_ROOT%{_bindir}/dumpasn1
|
|
|
0ce022d |
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/dumpasn1/dumpasn1.cfg
|
|
|
0ce022d |
install -Dpm 644 dumpasn1.1 $RPM_BUILD_ROOT%{_mandir}/man1/dumpasn1.1
|
|
|
0ce022d |
|
|
|
0ce022d |
|
|
|
0ce022d |
%clean
|
|
|
0ce022d |
rm -rf $RPM_BUILD_ROOT
|
|
|
0ce022d |
|
|
|
0ce022d |
|
|
|
0ce022d |
%files
|
|
|
0ce022d |
%defattr(-,root,root,-)
|
|
|
0ce022d |
%doc debian/README.Debian debian/copyright
|
|
|
0ce022d |
%config(noreplace) %{_sysconfdir}/dumpasn1/
|
|
|
0ce022d |
%{_bindir}/dumpasn1
|
|
|
0ce022d |
%{_mandir}/man1/dumpasn1.1*
|
|
|
0ce022d |
|
|
|
0ce022d |
|
|
|
0ce022d |
%changelog
|
|
|
ad2802f |
* Thu Feb 8 2007 Ville Skyttä <ville.skytta at iki.fi> - 20060622-2
|
|
|
ad2802f |
- Update dumpasn1.cfg to 20070127.
|
|
|
ad2802f |
|
|
|
d50c01c |
* Tue Aug 22 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060622-1
|
|
|
d50c01c |
- Update to 20060622.
|
|
|
d50c01c |
|
|
|
9a76089 |
* Thu Feb 16 2006 Ville Skyttä <ville.skytta at iki.fi> - 20050404-2
|
|
|
9a76089 |
- Rebuild.
|
|
|
9a76089 |
|
|
|
d74fa7d |
* Mon Aug 15 2005 Ville Skyttä <ville.skytta at iki.fi> - 20050404-1
|
|
|
d74fa7d |
- Use macros more consistently (#165497).
|
|
|
d74fa7d |
|
|
|
0ce022d |
* Tue Aug 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 20050404-0.1
|
|
|
0ce022d |
- Update to 20050404.
|
|
|
0ce022d |
|
|
|
0ce022d |
* Sun May 29 2005 Ville Skyttä <ville.skytta at iki.fi> - 20030222-0.1
|
|
|
0ce022d |
- Rebuild for FC4.
|
|
|
0ce022d |
|
|
|
0ce022d |
* Mon Aug 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:20030222-0.fdr.1
|
|
|
0ce022d |
- First build, based on Debian package.
|