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