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

Revision 9719, 5.1 KB checked in by iwamoto, 9 years ago (diff)

libtasn1: update to 4.5

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.5
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* Fri Aug 28 2015 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 4.5-1
113- new upstream release 
114
115* Tue Feb  4 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.4-1
116- new upstream release
117- update patches
118- add Vendor/Distri tags
119
120* Thu Sep 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.14-1
121- new upstream release
122
123* Mon Jun 04 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.13-1
124- new upstream release
125
126* Thu Mar 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.12-1
127- new upstream release
128
129* Fri Nov 25 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.11-1
130- new upstream release
131
132* Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.9-1
133- Updated to release 2.9
134
135* Sat Oct 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.8-1
136- Updated to release 2.8
137
138* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.2-3
139- build with rpm-4.8.1-1 for pkg-config file
140
141* Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 2.2-2
142- added compat32 package for x86_64 arch support
143- added --disable-static %%configure option
144
145* Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2-1vl5
146- Updated to release 2.2
147
148* Sun Apr 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1-1vl5
149- Updated to release 2.1
150
151* Wed Apr 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0-1vl5
152- Updated to release 2.0
153- spec in UTF-8
154- fixed %files devel (comment out %{_bindir}/libtasn1-config)
155
156* Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8-1vl5
157- Updated to release 1.8
158- fixed %files devel (comment out %{_datadir}/aclocal/libtasn1.m4)
159
160* Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-1vl5
161- initial build for Vine
162
163* Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 0.3.9-1
164- Updated to release 0.3.9.
165
166* Sat Nov 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.8-1
167- Updated to release 0.3.8.
168
169* Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.5-1
170- Updated to release 0.3.5.
171
172* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1.2
173- Rebuild for Fedora Core 5.
174
175* Fri Mar 03 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1
176- Updated to release 0.3.0.
177
178* Sun Feb 12 2006 Dries Verachtert <dries@ulyssis.org> - 0.2.18-1
179- Updated to release 0.2.18.
180
181* Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.2.17-1
182- Updated to release 0.2.17.
183
184* Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.2.9-1
185- Updated to release 0.2.9.
186
187* Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 0.2.5-0
188- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.