]> git.pld-linux.org Git - packages/libcoyotl.git/blob - libcoyotl.spec
9a2b0288d2ac1e64a39b2071cff0d32e516e7422
[packages/libcoyotl.git] / libcoyotl.spec
1 Summary:        The Coyotl library defies easy classification -- much like it's namesake
2 Name:           libcoyotl
3 Version:        3.1.0
4 Release:        5
5 License:        GPL
6 Group:          Libraries
7 URL:            http://www.coyotegulch.com/products/libcoyotl/index.html
8 Source0:        http://www.coyotegulch.com/distfiles/%{name}-%{version}.tar.gz
9 # Source0-md5:  5c1d9cfce494f123f52c399b39925bdb
10 Patch0:         %{name}-gcc43.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  dos2unix
14 BuildRequires:  libpng-devel
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool
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
43 dos2unix -o libcoyotl/sortutil.h
44 %patch0 -p0
45
46 %build
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
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
74 %dir %{_docdir}/%{name}
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.035431 seconds and 2 git commands to generate.