source: projects/specs/trunk/lib/libt/libtasn1_214/libtasn1_214-vl.spec @ 8266

Revision 8266, 3.6 KB checked in by iwamoto, 10 years ago (diff)

libtasn1_214: add compat package

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