]>
Commit | Line | Data |
---|---|---|
988ba8f8 | 1 | Summary: The Coyotl library defies easy classification -- much like it's namesake |
2 | Name: libcoyotl | |
3 | Version: 3.1.0 | |
1ae93a8a | 4 | Release: 6 |
988ba8f8 | 5 | License: GPL |
6 | Group: Libraries | |
7 | URL: http://www.coyotegulch.com/products/libcoyotl/index.html | |
0a9a4d88 | 8 | Source0: http://www.coyotegulch.com/distfiles/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 5c1d9cfce494f123f52c399b39925bdb | |
d37c529e | 10 | Patch0: %{name}-gcc43.patch |
0e37ec4a AG |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
d90a71be | 13 | BuildRequires: dos2unix |
67d9268a | 14 | BuildRequires: libpng-devel |
15 | BuildRequires: libstdc++-devel | |
0e37ec4a | 16 | BuildRequires: libtool |
988ba8f8 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | The Coyotl library defies easy classification -- much like it's | |
21 | namesake. It collects several C++ tools that have proven useful in | |
22 | many of my programs, but which aren't "big enough" to warrant an | |
23 | individual library. | |
24 | ||
25 | %package devel | |
26 | Summary: libcoyotl headers and documentation | |
27 | Group: Development/Libraries | |
28 | Requires: %{name} = %{version}-%{release} | |
29 | ||
30 | %description devel | |
31 | libcoyotl libraries headers and documentation | |
32 | ||
33 | %package static | |
34 | Summary: libcoyotl static libraries | |
35 | Group: Development/Libraries | |
36 | Requires: %{name} = %{version}-%{release} | |
37 | ||
38 | %description static | |
39 | libcoyotl static libraries | |
40 | ||
41 | %prep | |
42 | %setup -q | |
d90a71be | 43 | dos2unix -o libcoyotl/sortutil.h |
67d9268a | 44 | %patch0 -p0 |
988ba8f8 | 45 | |
46 | %build | |
0e37ec4a AG |
47 | %{__libtoolize} |
48 | %{__aclocal} | |
49 | %{__autoconf} | |
50 | %{__automake} | |
988ba8f8 | 51 | %configure |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %attr(755,root,root) %{_bindir}/* | |
66 | %attr(755,root,root) %{_libdir}/lib*.so.* | |
67 | ||
68 | %files devel | |
69 | %defattr(644,root,root,755) | |
70 | %attr(755,root,root) %{_libdir}/*.so | |
71 | %{_libdir}/lib*.la | |
72 | %dir %{_includedir}/%{name} | |
73 | %{_includedir}/%{name}/*.h | |
5e73c20f | 74 | %dir %{_docdir}/%{name} |
988ba8f8 | 75 | %dir %{_docdir}/%{name}/api/ |
76 | %{_docdir}/%{name}/api/* | |
77 | ||
78 | %files static | |
79 | %defattr(644,root,root,755) | |
80 | %{_libdir}/lib*.a |