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

Revision 2335, 4.4 KB checked in by kudoh, 13 years ago (diff)
Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2Summary: This is the ASN.1 library used in GNUTLS
3Name: libtasn1
4Version: 2.9
5Release: 1%{?_dist_release}
6License: LGPL
7Group: System Environment/Libraries
8URL: http://josefsson.org/libtasn1/
9
10Source: http://josefsson.org/gnutls/releases/libtasn1/libtasn1-%{version}.tar.gz
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires: bison, gcc-c++
14
15%description
16This is the ASN.1 library used in GNUTLS.
17
18%package devel
19Summary: Header files, libraries and development documentation for %{name}
20Group: Development/Libraries
21Requires: %{name} = %{version}-%{release}
22
23%description devel
24This package contains the header files, static libraries and development
25documentation for %{name}. If you like to develop programs using %{name},
26you will need to install %{name}-devel.
27
28%package -n compat32-%{name}
29Summary: This is the ASN.1 library used in GNUTLS
30Group: System Environment/Libraries
31Requires: %{name} = %{version}-%{release}
32
33%description -n compat32-%{name}
34This is the ASN.1 library used in GNUTLS.
35
36%package -n compat32-%{name}-devel
37Summary: Header files, libraries and development documentation for %{name}
38Group: Development/Libraries
39Requires: compat32-%{name} = %{version}-%{release}
40Requires: %{name}-devel = %{version}-%{release}
41
42%description -n compat32-%{name}-devel
43This package contains the header files, static libraries and development
44documentation for %{name}. If you like to develop programs using %{name},
45you will need to install %{name}-devel.
46
47%prep
48%setup -q
49
50%build
51%configure --disable-static
52make %{?_smp_mflags}
53
54%install
55rm -rf %{buildroot}
56%makeinstall
57rm -f %{buildroot}%{_infodir}/dir
58
59### Clean up buildroot
60rm -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
71rm -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* Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.9-1
107- Updated to release 2.9
108
109* Sat Oct 9 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.8-1
110- Updated to release 2.8
111
112* Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> - 2.2-3
113- build with rpm-4.8.1-1 for pkg-config file
114
115* Sat Jun 27 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 2.2-2
116- added compat32 package for x86_64 arch support
117- added --disable-static %%configure option
118
119* Sat May 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.2-1vl5
120- Updated to release 2.2
121
122* Sun Apr 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.1-1vl5
123- Updated to release 2.1
124
125* Wed Apr 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 2.0-1vl5
126- Updated to release 2.0
127- spec in UTF-8
128- fixed %files devel (comment out %{_bindir}/libtasn1-config)
129
130* Wed Jan 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.8-1vl5
131- Updated to release 1.8
132- fixed %files devel (comment out %{_datadir}/aclocal/libtasn1.m4)
133
134* Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3-1vl5
135- initial build for Vine
136
137* Tue Apr 17 2007 Dries Verachtert <dries@ulyssis.org> - 0.3.9-1
138- Updated to release 0.3.9.
139
140* Sat Nov 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.8-1
141- Updated to release 0.3.8.
142
143* Tue Sep 26 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.5-1
144- Updated to release 0.3.5.
145
146* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1.2
147- Rebuild for Fedora Core 5.
148
149* Fri Mar 03 2006 Dries Verachtert <dries@ulyssis.org> - 0.3.0-1
150- Updated to release 0.3.0.
151
152* Sun Feb 12 2006 Dries Verachtert <dries@ulyssis.org> - 0.2.18-1
153- Updated to release 0.2.18.
154
155* Fri Nov 11 2005 Dries Verachtert <dries@ulyssis.org> - 0.2.17-1
156- Updated to release 0.2.17.
157
158* Mon May 17 2004 Dag Wieers <dag@wieers.com> - 0.2.9-1
159- Updated to release 0.2.9.
160
161* Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 0.2.5-0
162- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.