Browse Source

libtasn1: update to 3.4

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8265 ec354946-7b23-47d6-9f5a-488ba84defc7
iwamoto 10 years ago
parent
commit
28b1d76178
1 changed files with 17 additions and 6 deletions
  1. 17 6
      lib/libt/libtasn1/libtasn1-vl.spec

+ 17 - 6
lib/libt/libtasn1/libtasn1-vl.spec

@@ -1,16 +1,19 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+
 Summary: This is the ASN.1 library used in GNUTLS
 Name: libtasn1
-Version: 2.14
+Version: 3.4
 Release: 1%{?_dist_release}
 License: LGPL
 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
-
-BuildRequires: bison, gcc-c++
+Vendor: Project Vine
+Distribution: Vine Linux
 
 %description
 This is the ASN.1 library used in GNUTLS.
@@ -46,14 +49,17 @@ you will need to install %{name}-devel.
 
 %prep
 %setup -q
+%patch1 -p1 -b .rpath
 
 %build
 %configure --disable-static
+# libtasn1 likes to regenerate docs
+touch doc/stamp_docs
 make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
-%makeinstall
+make DESTDIR="$RPM_BUILD_ROOT" install
 rm -f %{buildroot}%{_infodir}/dir
 
 ### Clean up buildroot
@@ -103,6 +109,11 @@ rm -rf %{buildroot}
 %endif
 
 %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
 - new upstream release