]>
Commit | Line | Data |
---|---|---|
d94bcc8f AM |
1 | Summary: Library for handling ARTS data files |
2 | Name: arts++ | |
3 | Version: 1.1.a8 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Libraries | |
7 | Source0: ftp://ftp.caida.org/pub/arts++/arts++-1-1-a8.tar.gz | |
8 | # Source0-md5: d41d8cd98f00b204e9800998ecf8427e | |
9 | BuildRequires: motif-devel | |
10 | BuildRequires: XFree86-devel | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | arts++ is a set of C++ classes and applications for handling ARTS data | |
15 | files produced by CAIDA software (cflowd and skitter). | |
16 | ||
17 | %package devel | |
18 | Summary: Header files and develpment documentation for arts++ | |
19 | Group: Development/Libraries | |
20 | Requires: %{name} = %{epoch}:%{version} | |
21 | ||
22 | %description devel | |
23 | Header files and develpment documentation for arts++. | |
24 | ||
25 | %package static | |
26 | Summary: Static arts++ library | |
27 | Group: Development/Libraries | |
28 | Requires: %{name}-devel = %{epoch}:%{version} | |
29 | ||
30 | %description static | |
31 | Static arts++ library. | |
32 | ||
33 | %prep | |
34 | %setup -q -n %{name}-1-1-a8 | |
35 | ||
36 | %build | |
37 | install %{_datadir}/automake/config.* . | |
38 | %configure2_13 | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_includedir}/net \ | |
44 | $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3} | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %post -p /sbin/ldconfig | |
50 | %postun -p /sbin/ldconfig | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc README CHANGES CREDITS | |
58 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
59 | ||
60 | %files devel | |
61 | %defattr(644,root,root,755) | |
62 | %attr(755,root,root) %{_libdir}/lib*.so | |
63 | %{_includedir}/*.h | |
64 | %{_includedir}/net/*.h | |
65 | %{_mandir}/man?/* | |
66 | ||
67 | %files static | |
68 | %defattr(644,root,root,755) | |
69 | %{_libdir}/lib*.a |