]> git.pld-linux.org Git - packages/pspp.git/blob - pspp.spec
- up to 0.10.2
[packages/pspp.git] / pspp.spec
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.10.2
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Science
8 Source0:        http://ftp.gnu.org/gnu/pspp/%{name}-%{version}.tar.gz
9 # Source0-md5:  9c5a3295d59b07a9a4462148371723ae
10 Patch0:         %{name}-info.patch
11 Patch1:         perl-no-dot-in-inc.patch
12 URL:            http://www.gnu.org/software/pspp/
13 BuildRequires:  cairo-devel >= 1.5
14 BuildRequires:  gettext-devel
15 BuildRequires:  gsl-devel >= 1.13
16 BuildRequires:  gtk+2-devel >= 2:2.24
17 BuildRequires:  gtksourceview2-devel >= 2.2
18 BuildRequires:  libxml2-devel >= 2.0
19 BuildRequires:  ncurses-devel
20 BuildRequires:  openssl-devel
21 BuildRequires:  pango-devel >= 1:1.22
22 BuildRequires:  perl-base >= 5.005_03
23 BuildRequires:  pkgconfig
24 BuildRequires:  postgresql-devel
25 BuildRequires:  readline-devel
26 BuildRequires:  texinfo
27 BuildRequires:  zlib-devel
28 Requires:       %{name}-libs = %{version}-%{release}
29 Requires:       cairo >= 1.5
30 Requires:       gtk+2 >= 2:2.24
31 Requires:       gtksourceview2 >= 2.2
32 Requires:       pango >= 1:1.22
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 GNU PSPP is a program for statistical analysis of sampled data. It is
37 a Free replacement for the proprietary program SPSS, and appears very
38 similar to it with a few exceptions.
39
40 %description -l pl.UTF-8
41 GNU PSPP to program do analizy statystycznej danych próbkowanych. Jest
42 to wolnodostępny zamiennik własnościowego programu SPSS; jest do niego
43 dosyć podobny z kilkoma wyjątkami.
44
45 %package libs
46 Summary:        GNU PSPP libraries and command line tools
47 Group:          Applications/Science
48 Requires:       gsl >= 1.13
49 Conflicts:      pspp < 0.8.5-1
50
51 %description libs
52 GNU PSP libraries command line tools
53
54 %prep
55 %setup -q
56 %patch0 -p1
57 %patch1 -p1
58
59 %build
60 %configure \
61         --disable-static \
62         --with-openssl \
63         --with-packager="PLD Linux (http://pld-linux.org)"
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 # API not exported
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/pspp/lib{pspp,pspp-core}.{la,so}
75
76 %find_lang %{name}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/pspp
84 %attr(755,root,root) %{_bindir}/psppire
85 %{_datadir}/pspp
86 %{_datadir}/appdata/pspp.appdata.xml
87 %{_desktopdir}/pspp.desktop
88 %{_iconsdir}/hicolor/*/apps/pspp.*
89 %{_iconsdir}/hicolor/*/mimetypes/application-x-spss-*.png
90 %{_infodir}/pspp.info*
91 %{_infodir}/pspp-dev.info*
92 %{_mandir}/man1/pspp.1*
93 %{_mandir}/man1/psppire.1*
94
95 %files libs
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog NEWS ONEWS README THANKS TODO
98 %attr(755,root,root) %{_bindir}/pspp-convert
99 %attr(755,root,root) %{_bindir}/pspp-dump-sav
100 %dir %{_libdir}/pspp
101 %attr(755,root,root) %{_libdir}/pspp/libpspp-%{version}.so
102 %attr(755,root,root) %{_libdir}/pspp/libpspp-core-%{version}.so
103 %{_mandir}/man1/pspp-convert.1*
104 %{_mandir}/man1/pspp-dump-sav.1*
This page took 0.050785 seconds and 3 git commands to generate.