]> git.pld-linux.org Git - packages/pspp.git/blob - pspp.spec
- rebuild with gsl 2.4
[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.8.5
5 Release:        3
6 License:        GPL v3+
7 Group:          Applications/Science
8 Source0:        http://ftp.gnu.org/gnu/pspp/%{name}-%{version}.tar.gz
9 # Source0-md5:  7600234a8a968c513a2e5c5dbecfc392
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:       %{name}-libs = %{version}-%{release}
28 Requires:       cairo >= 1.5
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 %package libs
45 Summary:        GNU PSPP libraries and command line tools
46 Group:          Applications/Science
47 Requires:       gsl >= 1.13
48 Conflicts:      pspp < 0.8.5-1
49
50 %description libs
51 GNU PSP libraries command line tools
52
53 %prep
54 %setup -q
55 %patch0 -p1
56
57 %build
58 %configure \
59         --disable-static \
60         --with-openssl \
61         --with-packager="PLD Linux (http://pld-linux.org)"
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 # API not exported
72 %{__rm} $RPM_BUILD_ROOT%{_libdir}/pspp/lib{pspp,pspp-core}.{la,so}
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/pspp
82 %attr(755,root,root) %{_bindir}/psppire
83 %{_datadir}/pspp
84 %{_datadir}/appdata/pspp.appdata.xml
85 %{_desktopdir}/pspp.desktop
86 %{_iconsdir}/hicolor/*/apps/pspp.*
87 %{_iconsdir}/hicolor/*/mimetypes/application-x-spss-*.png
88 %{_infodir}/pspp.info*
89 %{_infodir}/pspp-dev.info*
90 %{_mandir}/man1/pspp.1*
91 %{_mandir}/man1/psppire.1*
92
93 %files libs
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog NEWS ONEWS README THANKS TODO
96 %attr(755,root,root) %{_bindir}/pspp-convert
97 %attr(755,root,root) %{_bindir}/pspp-dump-sav
98 %dir %{_libdir}/pspp
99 %attr(755,root,root) %{_libdir}/pspp/libpspp-%{version}.so
100 %attr(755,root,root) %{_libdir}/pspp/libpspp-core-%{version}.so
101 %{_mandir}/man1/pspp-convert.1*
102 %{_mandir}/man1/pspp-dump-sav.1*
This page took 0.101988 seconds and 3 git commands to generate.