]> git.pld-linux.org Git - packages/arts++.git/blame - arts++.spec
- tabs in preamble
[packages/arts++.git] / arts++.spec
CommitLineData
d94bcc8f 1Summary: Library for handling ARTS data files
d6512644 2Summary(pl.UTF-8): Biblioteka do obsługi plików danych ARTS
d94bcc8f 3Name: arts++
45b9d4e1 4Version: 1.1.a12
d94bcc8f 5Release: 1
f7610c14 6Epoch: 0
d94bcc8f
AM
7License: GPL
8Group: Libraries
45b9d4e1 9Source0: http://www.caida.org/tools/utilities/arts/download/%{name}-%{version}.tar.gz
10# Source0-md5: bb0afcc952c4cf5864342b68380f9ffc
a0ff0850 11Patch0: %{name}-nolibs.patch
12Patch1: %{name}-printf.patch
45b9d4e1 13URL: http://www.caida.org/tools/utilities/arts/
f7610c14 14BuildRequires: autoconf
ea908161 15BuildRequires: automake
27f31f5b 16BuildRequires: flex
5e3c4cb3
JB
17BuildRequires: libstdc++-devel
18BuildRequires: libtool >= 2:1.4d
ea908161 19BuildRequires: perl-base
d94bcc8f
AM
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
5e3c4cb3
JB
22%define _includedir %{_prefix}/include/%{name}
23
d94bcc8f
AM
24%description
25arts++ is a set of C++ classes and applications for handling ARTS data
26files produced by CAIDA software (cflowd and skitter).
27
de4f8cca
JR
28%description -l pl.UTF-8
29arts++ to zbiór klas C++ i aplikacji do obsługi plików danych ARTS
ea908161
JB
30tworzonych przez oprogramowanie CAIDA (cflowd i skitter).
31
d94bcc8f 32%package devel
ea908161 33Summary: Header files and development documentation for arts++
d6512644 34Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja programisty dla arts++
d94bcc8f 35Group: Development/Libraries
d6d69994 36Requires: %{name} = %{epoch}:%{version}-%{release}
5e3c4cb3 37Requires: libstdc++-devel
d94bcc8f
AM
38
39%description devel
ea908161
JB
40Header files and development documentation for arts++.
41
de4f8cca
JR
42%description devel -l pl.UTF-8
43Pliki nagłówkowe i dokumentacja programisty dla arts++.
d94bcc8f
AM
44
45%package static
46Summary: Static arts++ library
d6512644 47Summary(pl.UTF-8): Statyczna biblioteka arts++
d94bcc8f 48Group: Development/Libraries
d6d69994 49Requires: %{name}-devel = %{epoch}:%{version}-%{release}
d94bcc8f
AM
50
51%description static
52Static arts++ library.
53
de4f8cca 54%description static -l pl.UTF-8
ea908161
JB
55Statyczna biblioteka arts++.
56
d94bcc8f 57%prep
45b9d4e1 58%setup -q
a0ff0850 59%patch0 -p1
5e3c4cb3 60%patch1 -p1
5e3c4cb3
JB
61
62find . -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'
65
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
d94bcc8f
AM
69
70%build
f7610c14
AM
71chmod u+w *.m4 configure
72%{__libtoolize}
73%{__aclocal}
74%{__autoconf}
75%configure \
76 --enable-shared
d94bcc8f
AM
77%{__make}
78
79%install
80rm -rf $RPM_BUILD_ROOT
5e3c4cb3 81install -d $RPM_BUILD_ROOT%{_includedir}
f7610c14 82
5e3c4cb3
JB
83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
d94bcc8f
AM
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
899d1c56 89%post -p /sbin/ldconfig
90%postun -p /sbin/ldconfig
ea908161 91
d94bcc8f
AM
92%files
93%defattr(644,root,root,755)
f7610c14
AM
94%doc ChangeLog doc/*.html
95%attr(755,root,root) %{_bindir}/*
ea908161 96%attr(755,root,root) %{_libdir}/lib*.so.*.*
5e3c4cb3 97%{_mandir}/man1/*.1*
d94bcc8f
AM
98
99%files devel
100%defattr(644,root,root,755)
101%attr(755,root,root) %{_libdir}/lib*.so
f7610c14 102%{_libdir}/lib*.la
5e3c4cb3 103%{_includedir}
d94bcc8f
AM
104
105%files static
106%defattr(644,root,root,755)
107%{_libdir}/lib*.a
This page took 0.112853 seconds and 4 git commands to generate.