]> git.pld-linux.org Git - packages/arts++.git/blob - arts++.spec
- just printf, /usr/bin/printf is no more
[packages/arts++.git] / arts++.spec
1 Summary:        Library for handling ARTS data files
2 Summary(pl):    Biblioteka do obs³ugi plików danych ARTS
3 Name:           arts++
4 Version:        1.1.a9
5 Release:        1
6 Epoch:          0
7 License:        GPL
8 Group:          Libraries
9 Source0:        ftp://ftp.caida.org/pub/arts++/arts++-1-1-a9.tar.gz
10 # Source0-md5:  210dc2110d0177a98d15c557ee97fe4f
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  perl-base
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 arts++ is a set of C++ classes and applications for handling ARTS data
19 files produced by CAIDA software (cflowd and skitter).
20
21 %description -l pl
22 arts++ to zbiór klas C++ i aplikacji do obs³ugi plików danych ARTS
23 tworzonych przez oprogramowanie CAIDA (cflowd i skitter).
24
25 %package devel
26 Summary:        Header files and development documentation for arts++
27 Summary(pl):    Pliki nag³ówkowe i dokumentacja programisty dla arts++
28 Group:          Development/Libraries
29 Requires:       %{name} = %{epoch}:%{version}-%{release}
30
31 %description devel
32 Header files and development documentation for arts++.
33
34 %description devel -l pl
35 Pliki nag³ówkowe i dokumentacja programisty dla arts++.
36
37 %package static
38 Summary:        Static arts++ library
39 Summary(pl):    Statyczna biblioteka arts++
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
42
43 %description static
44 Static arts++ library.
45
46 %description static -l pl
47 Statyczna biblioteka arts++.
48
49 %prep
50 %setup -q -n %{name}-1-1-a9
51
52 %build
53 chmod u+w *.m4 configure
54 %{__libtoolize}
55 %{__aclocal}
56 %{__autoconf}
57 %configure \
58         --enable-shared
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_includedir}/net \
64         $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man3}
65
66 perl -pi -e 's#/usr/include#\$\(includedir\)/%{name}#g' Makefile* */Makefile* */*/Makefile*
67 perl -pi -e 's#/usr/lib#\$\(libdir\)#g' Makefile* */Makefile* */*/Makefile*
68 perl -pi -e 's#/usr/bin#\$\(bindir\)#g' Makefile* */Makefile* */*/Makefile*
69 perl -pi -e 's#/usr/share/man#\$\(mandir\)#g' Makefile* */Makefile* */*/Makefile*
70
71 %makeinstall
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc ChangeLog doc/*.html
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/lib*.so.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib*.so
88 %{_libdir}/lib*.la
89 %{_includedir}/%{name}
90 %{_mandir}/man?/*
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/lib*.a
This page took 0.067229 seconds and 3 git commands to generate.