]> git.pld-linux.org Git - packages/arts++.git/blob - arts++.spec
- builds now using gcc2, only fixing c++ left
[packages/arts++.git] / arts++.spec
1 Summary:        Library for handling ARTS data files
2 Name:           arts++
3 Version:        1.1.a8
4 Release:        1
5 Epoch:          0
6 License:        GPL
7 Group:          Libraries
8 Source0:        ftp://ftp.caida.org/pub/arts++/arts++-1-1-a8.tar.gz
9 # Source0-md5:  3527ba0fa7ab6fb579573969967d1059
10 BuildRequires:  perl-base
11 BuildRequires:  libtool
12 BuildRequires:  autoconf
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 arts++ is a set of C++ classes and applications for handling ARTS data
17 files produced by CAIDA software (cflowd and skitter).
18
19 %package devel
20 Summary:        Header files and develpment documentation for arts++
21 Group:          Development/Libraries
22 #Requires:      %{name} = %{epoch}:%{version}
23
24 %description devel
25 Header files and develpment documentation for arts++.
26
27 %package static
28 Summary:        Static arts++ library
29 Group:          Development/Libraries
30 Requires:       %{name}-devel = %{epoch}:%{version}
31
32 %description static
33 Static arts++ library.
34
35 %prep
36 %setup  -q -n %{name}-1-1-a8
37
38 %build
39 chmod u+w *.m4 configure
40 %{__libtoolize}
41 %{__aclocal}
42 %{__autoconf}
43 %configure \
44         --enable-shared
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_includedir}/net \
50         $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3}
51
52 perl -pi -e 's#/usr/include#\$\(includedir\)/%{name}#g' Makefile* */Makefile* */*/Makefile*
53 perl -pi -e 's#/usr/lib#\$\(libdir\)#g' Makefile* */Makefile* */*/Makefile*
54 perl -pi -e 's#/usr/bin#\$\(bindir\)#g' Makefile* */Makefile* */*/Makefile*
55 perl -pi -e 's#/usr/share/man#\$\(mandir\)#g' Makefile* */Makefile* */*/Makefile*
56
57 %{makeinstall}
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc ChangeLog doc/*.html
68 %attr(755,root,root) %{_bindir}/*
69 %attr(755,root,root) %{_libdir}/lib*.so.*
70
71 %files devel
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_libdir}/lib*.so
74 %{_libdir}/lib*.la
75 %{_includedir}/%{name}
76 %{_mandir}/man?/*
77
78 %files static
79 %defattr(644,root,root,755)
80 %{_libdir}/lib*.a
This page took 0.098125 seconds and 4 git commands to generate.