source: projects/specs/trunk/lib/libt/libtasn1/libtasn1-vl.spec @ 10264

Revision 10264, 5.3 KB checked in by iwamoto, 8 years ago (diff)

libtasn1: update to 4.8 with security fix

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: This is the ASN.1 library used in GNUTLS
4Name: libtasn1
5Version: 4.8
6Release: 1%{?_dist_release}
7License: LGPL
8Group: System Environment/Libraries
9URL: http://www.gnu.org/software/libtasn1/
10Source0: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz
11Patch1: libtasn1-3.4-rpath.patch
12BuildRequires: bison, gcc-c++, texinfo
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15Vendor: Project Vine
16Distribution: Vine Linux
17
18%description
19This is the ASN.1 library used in GNUTLS.
20
21%package devel
22Summary: Header files, libraries and development documentation for %{name}
23Group: Development/Libraries
24Requires: %{name} = %{version}-%{release}
25
26%description devel
27This package contains the header files, static libraries and development
28documentation for %{name}. If you like to develop programs using %{name},
29you will need to install %{name}-devel.
30
31%package -n compat32-%{name}
32Summary: This is the ASN.1 library used in GNUTLS
33Group: System Environment/Libraries
34Requires: %{name} = %{version}-%{release}
35
36%description -n compat32-%{name}
37This is the ASN.1 library used in GNUTLS.
38
39%package -n compat32-%{name}-devel
40Summary: Header files, libraries and development documentation for %{name}
41Group: Development/Libraries
42Requires: compat32-%{name} = %{version}-%{release}
43Requires: %{name}-devel = %{version}-%{release}
44
45%description -n compat32-%{name}-devel
46This package contains the header files, static libraries and development
47documentation for %{name}. If you like to develop programs using %{name},
48you will need to install %{name}-devel.
49
50%prep
51%setup -q
52%patch1 -p1 -b .rpath
53
54%build
55%configure --disable-static
56# libtasn1 likes to regenerate docs
57touch doc/stamp_docs
58make %{?_smp_mflags}
59
60%install
61rm -rf %{buildroot}
62make DESTDIR="$RPM_BUILD_ROOT" install
63rm -f %{buildroot}%{_infodir}/dir
64
65### Clean up buildroot
66rm -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
77rm -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
112* Mon May  9 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.8-1
113- new upstream release with security fix
114
115* Mon Dec 28 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.7-1
116- new upstream release   
117
118* Fri Aug 28 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.5-1
119- new upstream release 
120
121* Tue Feb  4 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.4-1
122- new upstream release
123- update patches
124- add Vendor/Distri tags
125
126* Thu Sep 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.14-1
127- new upstream release
128
129* Mon Jun 04 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.13-1
130- new upstream release
131
132* Thu Mar 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.12-1
133- new upstream release
134
135* Fri Nov 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.11-1
136- new upstream release
137
138* Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.9-1
139- Updated to release 2.9
140
141* Sat Oct 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.8-1
142- Updated to release 2.8
143
144* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.2-3
145- build with rpm-4.8.1-1 for pkg-config file
146
147* Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 2.2-2
148- added compat32 package for x86_64 arch support
149- added --disable-static %%configure option
150
151* Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2-1vl5
152- Updated to release 2.2
153
154* Sun Apr 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1-1vl5
155- Updated to release 2.1
156
157* Wed Apr 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0-1vl5
158- Updated to release 2.0
159- spec in UTF-8
160- fixed %files devel (comment out %{_bindir}/libtasn1-config)
161
162* Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8-1vl5
163- Updated to release 1.8
164- fixed %files devel (comment out %{_datadir}/aclocal/libtasn1.m4)
165
166* Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-1vl5
167- initial build for Vine
168
169* Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 0.3.9-1
170- Updated to release 0.3.9.
171
172* Sat Nov 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.8-1
173- Updated to release 0.3.8.
174
175* Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.5-1
176- Updated to release 0.3.5.
177
178* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1.2
179- Rebuild for Fedora Core 5.
180
181* Fri Mar 03 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1
182- Updated to release 0.3.0.
183
184* Sun Feb 12 2006 Dries Verachtert <dries@ulyssis.org> - 0.2.18-1
185- Updated to release 0.2.18.
186
187* Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.2.17-1
188- Updated to release 0.2.17.
189
190* Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.2.9-1
191- Updated to release 0.2.9.
192
193* Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 0.2.5-0
194- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.