]> git.pld-linux.org Git - SPECS.git/blob - wfmath.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / wfmath.spec
1 %define libsuffix -0.3
2 Summary:        A math library
3 Summary(pl.UTF-8):      Biblioteka matematyczna
4 Name:           wfmath
5 Version:        0.3.7
6 Release:        0.1
7 License:        GPL
8 Group:          Libraries
9 Source0:        http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2
10 # Source0-md5:  5aacc166ba647b7c58ae41afceb3b083
11 URL:            http://www.worldforge.org/dev/eng/libraries/wfmath
12 BuildRequires:  automake
13 BuildRequires:  libstdc++-devel >= 2.95.2
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This is the WorldForge math library. The primary focus of %{name} is
18 geometric objects.
19
20 %description -l pl.UTF-8
21 Biblioteka matematyczna WorldForge. Skupia się głównie na obiektach
22 geometrycznych.
23
24 %package devel
25 Summary:        Header files for WorldForge math library
26 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki matematycznej WorldForge
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29 Requires:       libstdc++-devel >= 2.95.2
30
31 %description devel
32 Header files for WorldForge math library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki matematycznej WorldForge.
36
37 %package static
38 Summary:        Static WorldForge math library
39 Summary(pl.UTF-8):      Statyczna biblioteka matematyczne WorldForge
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static WorldForge math library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka matematyczne WorldForge.
48
49 %prep
50 %setup -q
51
52 %build
53 cp -f /usr/share/automake/config.sub .
54 %configure \
55         --enable-static
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README TODO
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
73 %attr(755,root,root) %ghost %{_libdir}/libwfmath*.so.4
74
75 %files devel
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/lib*.so
78 %{_libdir}/lib*.la
79 %{_includedir}/%{name}%{libsuffix}
80 %{_pkgconfigdir}/*
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/lib*.a
This page took 0.382774 seconds and 3 git commands to generate.