]> git.pld-linux.org Git - SPECS.git/blob - pan.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / pan.spec
1 #
2 # TODO: consider gtk3 version
3 #
4 # Conditional build:
5 %bcond_without  gtkspell        # no spelling checker
6
7 Summary:        A USENET newsreader for GNOME
8 Summary(es.UTF-8):      Uno leitor USENET para el GNOME
9 Summary(pl.UTF-8):      Czytnik USENET dla GNOME
10 Summary(pt_BR.UTF-8):   Um leitor USENET para o GNOME
11 Name:           pan
12 Version:        0.135
13 Release:        1
14 Epoch:          1
15 License:        GPL v2
16 Group:          Applications/News
17 Source0:        http://pan.rebelbase.com/download/releases/%{version}/source/%{name}-%{version}.tar.bz2
18 # Source0-md5:  0dc527d4abd663eaebcf39bf4ad0116e
19 Patch0:         %{name}-desktop.patch
20 Patch1:         glib.patch
21 URL:            http://pan.rebelbase.com/
22 BuildRequires:  autoconf >= 2.54
23 BuildRequires:  automake
24 BuildRequires:  gettext-tools
25 BuildRequires:  gmime-devel >= 2.4.0
26 BuildRequires:  gtk+2-devel >= 2:2.16.0
27 BuildRequires:  glib2-devel >= 2.32.0
28 %{?with_gtkspell:BuildRequires: gtkspell-devel >= 2.0.7}
29 BuildRequires:  intltool >= 0.35.5
30 BuildRequires:  pkgconfig
31 BuildRequires:  sed >= 4.0
32 # sr@Latn vs. sr@latin
33 Conflicts:      glibc-misc < 6:2.7
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 PAN is Pimp Ass Newsreader. Its goal is to make a user-friendly and
38 powerful USENET newsreader for GNOME. Its user interface is based
39 loosely on popular newsreaders for Windows. This is alpha software, so
40 don't expect everything to work correctly or even at all.
41
42 %description -l pl.UTF-8
43 Celem programu PAN jest umożliwienie użytkownikowi prostego i
44 efektywnego czytania wiadomości USENET w środowisku GNOME. Interfejs
45 użytkownika jest podobny do tych znanych z Windows.
46
47 %description -l pt_BR.UTF-8
48 Pan é um leitor de Usenet News fácil e poderoso para o GNOME Ele tem
49 muitas características que facilitam ler e postar, mostrando e
50 salvando anexos e leitura "offline".
51
52 %prep
53 %setup -q
54 %patch0 -p1
55 %patch1 -p1
56
57 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
58 mv -f po/sr@{Latn,latin}.po
59
60 %build
61 %{__intltoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure \
67         --disable-silent-rules \
68         --with%{!?with_gtkspell:out}-gtkspell
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %find_lang %{name}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README TODO
86 %attr(755,root,root) %{_bindir}/pan
87 %{_desktopdir}/pan.desktop
88 %{_pixmapsdir}/pan.png
This page took 2.84381 seconds and 3 git commands to generate.