1 Summary: Library for handling ARTS data files
2 Summary(pl): Biblioteka do obs³ugi plików danych ARTS
9 Source0: ftp://ftp.caida.org/pub/arts++/arts++-1-1-a9.tar.gz
10 # Source0-md5: 210dc2110d0177a98d15c557ee97fe4f
11 Patch0: %{name}-gcc3.patch
12 Patch1: %{name}-nolibs.patch
13 Patch2: %{name}-printf.patch
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.4d
18 BuildRequires: perl-base
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _includedir %{_prefix}/include/%{name}
24 arts++ is a set of C++ classes and applications for handling ARTS data
25 files produced by CAIDA software (cflowd and skitter).
28 arts++ to zbiór klas C++ i aplikacji do obs³ugi plików danych ARTS
29 tworzonych przez oprogramowanie CAIDA (cflowd i skitter).
32 Summary: Header files and development documentation for arts++
33 Summary(pl): Pliki nag³ówkowe i dokumentacja programisty dla arts++
34 Group: Development/Libraries
35 Requires: %{name} = %{epoch}:%{version}-%{release}
36 Requires: libstdc++-devel
39 Header files and development documentation for arts++.
41 %description devel -l pl
42 Pliki nag³ówkowe i dokumentacja programisty dla arts++.
45 Summary: Static arts++ library
46 Summary(pl): Statyczna biblioteka arts++
47 Group: Development/Libraries
48 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
51 Static arts++ library.
53 %description static -l pl
54 Statyczna biblioteka arts++.
57 %setup -q -n %{name}-1-1-a9
62 find . -name Makefile.in | xargs \
63 %{__perl} -pi -e 's/(\@(include|lib|bin|man)dir\@)/\$(DESTDIR)$1/g;
64 s/-m 444/-m 644/g;s/-m 555/-m 755/g'
66 %{__perl} -pi -e 's/-m 644//' classes/src/Makefile.in
67 %{__perl} -pi -e 's/manl/man1/;s/\.l$/\.1/' apps/*/Makefile.in
68 %{__perl} -pi -e 's/l LOCAL/1 LOCAL/' apps/*/*.man
71 chmod u+w *.m4 configure
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT%{_includedir}
84 DESTDIR=$RPM_BUILD_ROOT
87 rm -rf $RPM_BUILD_ROOT
89 %post -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
93 %defattr(644,root,root,755)
94 %doc ChangeLog doc/*.html
95 %attr(755,root,root) %{_bindir}/*
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/lib*.so
106 %defattr(644,root,root,755)