|
@@ -1,16 +1,19 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
Summary: This is the ASN.1 library used in GNUTLS
|
|
Summary: This is the ASN.1 library used in GNUTLS
|
|
Name: libtasn1
|
|
Name: libtasn1
|
|
-Version: 2.14
|
|
|
|
|
|
+Version: 3.4
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: LGPL
|
|
License: LGPL
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
-URL: http://josefsson.org/libtasn1/
|
|
|
|
|
|
+URL: http://www.gnu.org/software/libtasn1/
|
|
|
|
+Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
|
|
|
|
+Patch1: libtasn1-3.4-rpath.patch
|
|
|
|
+BuildRequires: bison, gcc-c++, texinfo
|
|
|
|
|
|
-Source: http://josefsson.org/gnutls/releases/libtasn1/libtasn1-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-
|
|
|
|
-BuildRequires: bison, gcc-c++
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
%description
|
|
%description
|
|
This is the ASN.1 library used in GNUTLS.
|
|
This is the ASN.1 library used in GNUTLS.
|
|
@@ -46,14 +49,17 @@ you will need to install %{name}-devel.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch1 -p1 -b .rpath
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --disable-static
|
|
%configure --disable-static
|
|
|
|
+# libtasn1 likes to regenerate docs
|
|
|
|
+touch doc/stamp_docs
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
-%makeinstall
|
|
|
|
|
|
+make DESTDIR="$RPM_BUILD_ROOT" install
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
rm -f %{buildroot}%{_infodir}/dir
|
|
|
|
|
|
### Clean up buildroot
|
|
### Clean up buildroot
|
|
@@ -103,6 +109,11 @@ rm -rf %{buildroot}
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Feb 4 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.4-1
|
|
|
|
+- new upstream release
|
|
|
|
+- update patches
|
|
|
|
+- add Vendor/Distri tags
|
|
|
|
+
|
|
* Thu Sep 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.14-1
|
|
* Thu Sep 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.14-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|