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

Revision 9897, 5.2 KB checked in by iwamoto, 8 years ago (diff)

libtasn1: update to 4.7

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