]>
Commit | Line | Data |
---|---|---|
1 | Summary: A WorldForge client library | |
2 | Summary(pl.UTF-8): Biblioteka kliencka WorldForge | |
3 | Name: eris | |
4 | Version: 1.3.8 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/worldforge/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: faf7c6d8237af53b93856c356a2de137 | |
10 | URL: http://www.worldforge.org/dev/eng/libraries/eris | |
11 | BuildRequires: Atlas-C++-devel >= 0.5.98 | |
12 | BuildRequires: skstream-devel >= 0.3.5 | |
13 | BuildRequires: wfmath-devel >= 0.3.2 | |
14 | BuildRequires: libsigc++-devel | |
15 | Requires: Atlas-C++ >= 0.5.98 | |
16 | Obsoletes: eris-poll-glib | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Eris is designed to simplify client development (and avoid repeating | |
21 | the same work several times), by providing a common system to deal | |
22 | with the back end tasks. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Eris została zaprojektowana w celu uproszczenia zarządzania klientem | |
26 | (i uniknięcia powtarzania tej samej pracy wielokrotnie) poprzez | |
27 | dostarczenie wspólnego systemu do obslugi zadań backendu. | |
28 | ||
29 | %package devel | |
30 | Summary: Header files for WorldForge client library | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki klienckiej WorldForge | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | Requires: Atlas-C++-devel | |
35 | Requires: skstream-devel | |
36 | Requires: wfmath-devel | |
37 | ||
38 | %description devel | |
39 | Header files for WorldForge client library. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Pliki nagłówkowe biblioteki klienckiej WorldForge. | |
43 | ||
44 | %package static | |
45 | Summary: Static WorldForge client library | |
46 | Summary(pl.UTF-8): Statyczna biblioteka kliencka WorldForge | |
47 | Group: Development/Libraries | |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | Static WorldForge client library. | |
52 | ||
53 | %description static -l pl.UTF-8 | |
54 | Statyczna biblioteka kliencka WorldForge. | |
55 | ||
56 | %prep | |
57 | %setup -q | |
58 | ||
59 | %build | |
60 | %configure \ | |
61 | --enable-static | |
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS CHANGES-1.4 ChangeLog NEWS README TODO | |
79 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
80 | ||
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %attr(755,root,root) %{_libdir}/lib*.so | |
84 | %{_libdir}/lib*.la | |
85 | %{_includedir}/* | |
86 | %{_pkgconfigdir}/* | |
87 | ||
88 | %files static | |
89 | %defattr(644,root,root,755) | |
90 | %{_libdir}/lib*.a |