]> git.pld-linux.org Git - packages/libcoyotl.git/blame - libcoyotl.spec
- release 6 (by relup.sh)
[packages/libcoyotl.git] / libcoyotl.spec
CommitLineData
988ba8f8 1Summary: The Coyotl library defies easy classification -- much like it's namesake
2Name: libcoyotl
3Version: 3.1.0
1ae93a8a 4Release: 6
988ba8f8 5License: GPL
6Group: Libraries
7URL: http://www.coyotegulch.com/products/libcoyotl/index.html
0a9a4d88 8Source0: http://www.coyotegulch.com/distfiles/%{name}-%{version}.tar.gz
9# Source0-md5: 5c1d9cfce494f123f52c399b39925bdb
d37c529e 10Patch0: %{name}-gcc43.patch
0e37ec4a
AG
11BuildRequires: autoconf
12BuildRequires: automake
d90a71be 13BuildRequires: dos2unix
67d9268a 14BuildRequires: libpng-devel
15BuildRequires: libstdc++-devel
0e37ec4a 16BuildRequires: libtool
988ba8f8 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20The Coyotl library defies easy classification -- much like it's
21namesake. It collects several C++ tools that have proven useful in
22many of my programs, but which aren't "big enough" to warrant an
23individual library.
24
25%package devel
26Summary: libcoyotl headers and documentation
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29
30%description devel
31libcoyotl libraries headers and documentation
32
33%package static
34Summary: libcoyotl static libraries
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37
38%description static
39libcoyotl static libraries
40
41%prep
42%setup -q
d90a71be 43dos2unix -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
55rm -rf $RPM_BUILD_ROOT
56
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
60%clean
61rm -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
This page took 0.073317 seconds and 4 git commands to generate.