[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
[8265] | 2 | |
---|
[521] | 3 | Summary: This is the ASN.1 library used in GNUTLS |
---|
| 4 | Name: libtasn1 |
---|
[8265] | 5 | Version: 3.4 |
---|
[2012] | 6 | Release: 1%{?_dist_release} |
---|
[521] | 7 | License: LGPL |
---|
| 8 | Group: System Environment/Libraries |
---|
[8265] | 9 | URL: http://www.gnu.org/software/libtasn1/ |
---|
| 10 | Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz |
---|
| 11 | Patch1: libtasn1-3.4-rpath.patch |
---|
| 12 | BuildRequires: bison, gcc-c++, texinfo |
---|
[521] | 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[8265] | 15 | Vendor: Project Vine |
---|
| 16 | Distribution: Vine Linux |
---|
[521] | 17 | |
---|
| 18 | %description |
---|
| 19 | This is the ASN.1 library used in GNUTLS. |
---|
| 20 | |
---|
| 21 | %package devel |
---|
| 22 | Summary: Header files, libraries and development documentation for %{name} |
---|
| 23 | Group: Development/Libraries |
---|
| 24 | Requires: %{name} = %{version}-%{release} |
---|
| 25 | |
---|
| 26 | %description devel |
---|
| 27 | This package contains the header files, static libraries and development |
---|
| 28 | documentation for %{name}. If you like to develop programs using %{name}, |
---|
| 29 | you will need to install %{name}-devel. |
---|
| 30 | |
---|
| 31 | %package -n compat32-%{name} |
---|
| 32 | Summary: This is the ASN.1 library used in GNUTLS |
---|
| 33 | Group: System Environment/Libraries |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
| 35 | |
---|
| 36 | %description -n compat32-%{name} |
---|
| 37 | This is the ASN.1 library used in GNUTLS. |
---|
| 38 | |
---|
| 39 | %package -n compat32-%{name}-devel |
---|
| 40 | Summary: Header files, libraries and development documentation for %{name} |
---|
| 41 | Group: Development/Libraries |
---|
| 42 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 43 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 44 | |
---|
| 45 | %description -n compat32-%{name}-devel |
---|
| 46 | This package contains the header files, static libraries and development |
---|
| 47 | documentation for %{name}. If you like to develop programs using %{name}, |
---|
| 48 | you will need to install %{name}-devel. |
---|
| 49 | |
---|
| 50 | %prep |
---|
| 51 | %setup -q |
---|
[8265] | 52 | %patch1 -p1 -b .rpath |
---|
[521] | 53 | |
---|
| 54 | %build |
---|
| 55 | %configure --disable-static |
---|
[8265] | 56 | # libtasn1 likes to regenerate docs |
---|
| 57 | touch doc/stamp_docs |
---|
[521] | 58 | make %{?_smp_mflags} |
---|
| 59 | |
---|
| 60 | %install |
---|
| 61 | rm -rf %{buildroot} |
---|
[8265] | 62 | make DESTDIR="$RPM_BUILD_ROOT" install |
---|
[521] | 63 | rm -f %{buildroot}%{_infodir}/dir |
---|
| 64 | |
---|
| 65 | ### Clean up buildroot |
---|
| 66 | rm -f %{buildroot}%{_libdir}/*.la |
---|
| 67 | |
---|
| 68 | %post -p /sbin/ldconfig |
---|
| 69 | |
---|
| 70 | %postun -p /sbin/ldconfig |
---|
| 71 | |
---|
| 72 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 73 | |
---|
| 74 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 75 | |
---|
| 76 | %clean |
---|
| 77 | rm -rf %{buildroot} |
---|
| 78 | |
---|
| 79 | %files |
---|
| 80 | %defattr(-, root, root, 0755) |
---|
| 81 | %doc AUTHORS ChangeLog COPYING* NEWS README THANKS |
---|
| 82 | %doc %{_mandir}/man1/asn1* |
---|
| 83 | %{_libdir}/*.so.* |
---|
| 84 | %{_bindir}/asn1Coding |
---|
| 85 | %{_bindir}/asn1Decoding |
---|
| 86 | %{_bindir}/asn1Parser |
---|
| 87 | |
---|
| 88 | %files devel |
---|
| 89 | %defattr(-, root, root, 0755) |
---|
| 90 | %doc doc/*.ps doc/TODO |
---|
| 91 | %{_includedir}/*.h |
---|
| 92 | %{_libdir}/*.so |
---|
| 93 | #%{_bindir}/libtasn1-config |
---|
| 94 | %{_libdir}/pkgconfig/libtasn1.pc |
---|
| 95 | #%{_datadir}/aclocal/libtasn1.m4 |
---|
| 96 | %{_infodir}/libtasn1* |
---|
| 97 | %{_mandir}/man3/*asn1* |
---|
| 98 | |
---|
| 99 | # compat32 |
---|
| 100 | %if %{build_compat32} |
---|
| 101 | %files -n compat32-%{name} |
---|
| 102 | %defattr(-, root, root, 0755) |
---|
| 103 | %{_libdir}/*.so.* |
---|
| 104 | |
---|
| 105 | %files -n compat32-%{name}-devel |
---|
| 106 | %defattr(-, root, root, 0755) |
---|
| 107 | %{_libdir}/*.so |
---|
| 108 | %{_libdir}/pkgconfig/libtasn1.pc |
---|
| 109 | %endif |
---|
| 110 | |
---|
| 111 | %changelog |
---|
[8265] | 112 | * Tue Feb 4 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.4-1 |
---|
| 113 | - new upstream release |
---|
| 114 | - update patches |
---|
| 115 | - add Vendor/Distri tags |
---|
| 116 | |
---|
[6860] | 117 | * Thu Sep 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.14-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[6271] | 120 | * Mon Jun 04 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.13-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[5955] | 123 | * Thu Mar 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.12-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[5188] | 126 | * Fri Nov 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.11-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[2335] | 129 | * Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.9-1 |
---|
| 130 | - Updated to release 2.9 |
---|
| 131 | |
---|
[2012] | 132 | * Sat Oct 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.8-1 |
---|
| 133 | - Updated to release 2.8 |
---|
| 134 | |
---|
[1858] | 135 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.2-3 |
---|
| 136 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 137 | |
---|
[521] | 138 | * Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 2.2-2 |
---|
| 139 | - added compat32 package for x86_64 arch support |
---|
| 140 | - added --disable-static %%configure option |
---|
| 141 | |
---|
| 142 | * Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2-1vl5 |
---|
| 143 | - Updated to release 2.2 |
---|
| 144 | |
---|
| 145 | * Sun Apr 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1-1vl5 |
---|
| 146 | - Updated to release 2.1 |
---|
| 147 | |
---|
| 148 | * Wed Apr 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0-1vl5 |
---|
| 149 | - Updated to release 2.0 |
---|
| 150 | - spec in UTF-8 |
---|
| 151 | - fixed %files devel (comment out %{_bindir}/libtasn1-config) |
---|
| 152 | |
---|
| 153 | * Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8-1vl5 |
---|
| 154 | - Updated to release 1.8 |
---|
| 155 | - fixed %files devel (comment out %{_datadir}/aclocal/libtasn1.m4) |
---|
| 156 | |
---|
| 157 | * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-1vl5 |
---|
| 158 | - initial build for Vine |
---|
| 159 | |
---|
| 160 | * Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 0.3.9-1 |
---|
| 161 | - Updated to release 0.3.9. |
---|
| 162 | |
---|
| 163 | * Sat Nov 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.8-1 |
---|
| 164 | - Updated to release 0.3.8. |
---|
| 165 | |
---|
| 166 | * Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.5-1 |
---|
| 167 | - Updated to release 0.3.5. |
---|
| 168 | |
---|
| 169 | * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1.2 |
---|
| 170 | - Rebuild for Fedora Core 5. |
---|
| 171 | |
---|
| 172 | * Fri Mar 03 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1 |
---|
| 173 | - Updated to release 0.3.0. |
---|
| 174 | |
---|
| 175 | * Sun Feb 12 2006 Dries Verachtert <dries@ulyssis.org> - 0.2.18-1 |
---|
| 176 | - Updated to release 0.2.18. |
---|
| 177 | |
---|
| 178 | * Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.2.17-1 |
---|
| 179 | - Updated to release 0.2.17. |
---|
| 180 | |
---|
| 181 | * Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.2.9-1 |
---|
| 182 | - Updated to release 0.2.9. |
---|
| 183 | |
---|
| 184 | * Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 0.2.5-0 |
---|
| 185 | - Initial package. (using DAR) |
---|