rpms/nettle/devel nettle-1.15-Makefile.in.patch, NONE, 1.1 nettle.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ian Weller (ianweller) fedora-extras-commits at redhat.com
Wed Feb 20 03:13:09 UTC 2008


Author: ianweller

Update of /cvs/pkgs/rpms/nettle/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17404/devel

Modified Files:
	.cvsignore sources 
Added Files:
	nettle-1.15-Makefile.in.patch nettle.spec 
Log Message:
initial import of nettle

nettle-1.15-Makefile.in.patch:

--- NEW FILE nettle-1.15-Makefile.in.patch ---
diff -up nettle-1.15/Makefile.in.orig nettle-1.15/Makefile.in
--- nettle-1.15/Makefile.in.orig	2008-02-09 21:23:11.000000000 -0600
+++ nettle-1.15/Makefile.in	2008-02-09 21:23:28.000000000 -0600
@@ -230,7 +230,7 @@ config.m4: config.m4.in config.status
 
 # Installation
 # FIXME: Use mkinstalldirs.
-install-here: install-info install-headers libnettle.a $(SHLIBINSTALL)
+install-here: install-headers libnettle.a $(SHLIBINSTALL)
 	$(MKDIR_P) $(DESTDIR)$(libdir)
 	$(INSTALL_DATA) libnettle.a $(DESTDIR)$(libdir)
 
@@ -268,7 +268,7 @@ install-headers: $(INSTALL_HEADERS)
 	  fi ; done
 
 # Uninstall
-uninstall-here: uninstall-info uninstall-headers uninstall-shared
+uninstall-here: uninstall-headers uninstall-shared
 	rm -f $(DESTDIR)$(libdir)/libnettle.a
 
 uninstall-headers:


--- NEW FILE nettle.spec ---
Name:           nettle
Version:        1.15
Release:        3%{?dist}
Summary:        A low-level cryptographic library

Group:          Development/Libraries
License:        LGPLv2+
URL:            http://www.lysator.liu.se/~nisse/nettle/
Source0:        http://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
Patch0:         nettle-1.15-Makefile.in.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gmp-devel
BuildRequires:  m4

Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info


%package devel
Summary:        Development headers for a low-level cryptographic library
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Provides:       %{name}-static = %{version}-%{release}

%description
Nettle is a cryptographic library that is designed to fit easily in more
or less any context: In crypto toolkits for object-oriented languages
(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
kernel space.

%description devel
Nettle is a cryptographic library that is designed to fit easily in more
or less any context: In crypto toolkits for object-oriented languages
(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
kernel space.  This package contains kernel headers and a static library.


%prep
%setup -q
%patch0 -p1 -b Makefile.in


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
/usr/bin/iconv -f iso8859-1 -t utf-8 README > README.conv && /bin/mv -f README.conv README
/usr/bin/iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && /bin/mv -f ChangeLog.conv ChangeLog
/usr/bin/iconv -f iso8859-1 -t utf-8 nettle.info > nettle.info.conv && /bin/mv -f nettle.info.conv nettle.info
mkdir -p $RPM_BUILD_ROOT%{_infodir}
install -p -m 644 nettle.info $RPM_BUILD_ROOT%{_infodir}/


%check
make check

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_infodir}/nettle.info.gz
%{_bindir}/nettle-lfib-stream
%{_bindir}/pkcs1-conv
%{_bindir}/sexp-conv

%files devel
%defattr(-,root,root,-)
%doc descore.README nettle.html nettle.pdf
%{_includedir}/nettle
%{_libdir}/libnettle.a

%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :

%preun
if [ $1 = 0 ]; then
  /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
fi



%changelog
* Mon Feb 18 2008 Ian Weller <ianweller at gmail.com> 1.15-3
- Added provides -static to -devel

* Sun Feb 17 2008 Ian Weller <ianweller at gmail.com> 1.15-2
- Removed redundant requires
- Removed redundant documentation between packages
- Fixed license tag
- Fixed -devel description
- Added the static library back to -devel
- Added make clean

* Fri Feb 08 2008 Ian Weller <ianweller at gmail.com> 1.15-1
- First package build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/nettle/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Feb 2008 17:29:30 -0000	1.1
+++ .cvsignore	20 Feb 2008 03:12:32 -0000	1.2
@@ -0,0 +1 @@
+nettle-1.15.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/nettle/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Feb 2008 17:29:30 -0000	1.1
+++ sources	20 Feb 2008 03:12:32 -0000	1.2
@@ -0,0 +1 @@
+6b0fd004359660b65ff3eca77b3d5fa6  nettle-1.15.tar.gz




More information about the fedora-extras-commits mailing list