]>
Commit | Line | Data |
---|---|---|
b68d06e7 JB |
1 | Summary: GNU PSPP - program for statistical analysis of sampled data |
2 | Summary(pl.UTF-8): GNU PSPP - program do analizy statystycznej danych próbkowanych | |
3 | Name: pspp | |
4 | Version: 0.8.4 | |
dd62ebb7 | 5 | Release: 2 |
b68d06e7 JB |
6 | License: GPL v3+ |
7 | Group: Applications/Science | |
8 | Source0: http://ftp.gnu.org/gnu/pspp/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 85b7729751ebe427fb71a362b71cdfd9 | |
10 | Patch0: %{name}-info.patch | |
11 | URL: http://www.gnu.org/software/pspp/ | |
12 | BuildRequires: cairo-devel >= 1.5 | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: gsl-devel >= 1.13 | |
15 | BuildRequires: gtk+2-devel >= 2:2.24 | |
16 | BuildRequires: gtksourceview2-devel >= 2.2 | |
17 | BuildRequires: libxml2-devel >= 2.0 | |
18 | BuildRequires: ncurses-devel | |
19 | BuildRequires: openssl-devel | |
20 | BuildRequires: pango-devel >= 1:1.22 | |
21 | BuildRequires: perl-base >= 5.005_03 | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: postgresql-devel | |
24 | BuildRequires: readline-devel | |
25 | BuildRequires: texinfo | |
26 | BuildRequires: zlib-devel | |
27 | Requires: cairo >= 1.5 | |
28 | Requires: gsl >= 1.13 | |
29 | Requires: gtk+2 >= 2:2.24 | |
30 | Requires: gtksourceview2 >= 2.2 | |
31 | Requires: pango >= 1:1.22 | |
32 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
33 | ||
34 | %description | |
35 | GNU PSPP is a program for statistical analysis of sampled data. It is | |
36 | a Free replacement for the proprietary program SPSS, and appears very | |
37 | similar to it with a few exceptions. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | GNU PSPP to program do analizy statystycznej danych próbkowanych. Jest | |
41 | to wolnodostępny zamiennik własnościowego programu SPSS; jest do niego | |
42 | dosyć podobny z kilkoma wyjątkami. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | %patch0 -p1 | |
47 | ||
48 | %build | |
49 | %configure \ | |
50 | --disable-static | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
59 | # API not exported | |
60 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/pspp/lib{pspp,pspp-core}.{la,so} | |
61 | ||
62 | %find_lang %{name} | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files -f %{name}.lang | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS ChangeLog NEWS ONEWS README THANKS TODO | |
70 | %attr(755,root,root) %{_bindir}/pspp | |
71 | %attr(755,root,root) %{_bindir}/pspp-convert | |
72 | %attr(755,root,root) %{_bindir}/pspp-dump-sav | |
73 | %attr(755,root,root) %{_bindir}/psppire | |
74 | %dir %{_libdir}/pspp | |
75 | %attr(755,root,root) %{_libdir}/pspp/libpspp-%{version}.so | |
76 | %attr(755,root,root) %{_libdir}/pspp/libpspp-core-%{version}.so | |
77 | %{_datadir}/pspp | |
78 | %{_datadir}/appdata/pspp.appdata.xml | |
79 | %{_desktopdir}/pspp.desktop | |
80 | %{_iconsdir}/hicolor/*/apps/pspp.* | |
81 | %{_iconsdir}/hicolor/*/mimetypes/application-x-spss-*.png | |
82 | %{_infodir}/pspp.info* | |
83 | %{_infodir}/pspp-dev.info* | |
84 | %{_mandir}/man1/pspp-convert.1* | |
85 | %{_mandir}/man1/pspp-dump-sav.1* |