File: pan.spec

package info (click to toggle)
pan 0.14.2.91-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 12,928 kB
  • ctags: 5,943
  • sloc: ansic: 81,518; sh: 2,953; makefile: 952
file content (139 lines) | stat: -rw-r--r-- 4,757 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
%define name	pan
%define version 0.14.2.91
%define release 1

Summary:   The Pan Newsreader
Name:      %{name}
Version:   %{version}
Release:   %{?_without_gtkspell:nospell}%{release}
Copyright: GPL
Group:     Applications/Internet
URL:       http://pan.rebelbase.com/
Source:    http://pan.rebelbase.com/download/releases/%{version}/SOURCE/%{name}-%{version}.tar.bz2
Packager:  Charles Kerr <charles@rebelbase.com>
Vendor:    ChimPanXi
Epoch:     1

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: glib2-devel >= 2.2.0
BuildRequires: gtk2-devel >= 2.2.0
BuildRequires: libxml2-devel >= 2.4.22
BuildRequires: gnet2-devel >= 2.0.4
BuildRequires: pcre-devel >= 4.0
%{!?_without_gtkspell:BuildRequires: gtkspell-devel >= 2.0.2}

Requires: glib2 >= 2.2.0
Requires: gtk2 >= 2.2.0
Requires: pango >= 1.2.0
Requires: libxml2 >= 2.4.22
Requires: gnet2 >= 2.0.4
Requires: pcre >= 4.0
%{!?_without_gtkspell:Requires: gtkspell >= 2.0.2}

Provides: %{name}

%description
Pan is a newsreader, loosely based on Agent and Gravity, which attempts
to be pleasant to use for new and advanced users alike. It has all the
typical features found in newsreaders and also supports offline newsreading,
sophisticated filtering, multiple connections, and a number of extra features
for power users and alt.binaries fans.  It's also the only Unix newsreader
to get a perfect score on the Good Net-Keeping Seal of Approval evalutions.
See http://pan.rebelbase.com/features/ for the whole sales pitch.

%prep
rm -rf $RPM_BUILD_ROOT
%setup
%build
%configure --program-prefix="" %{?_without_gtkspell:--disable-gtkspell}
make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS=-s
%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING CREDITS ChangeLog README ANNOUNCE.html
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/gnome/apps/Internet/%{name}.desktop
%{_datadir}/pixmaps/*


%changelog

* Thu Nov 27 2003 Charles Kerr <charles@rebelbase.com>
- Added FOO_REQUIRED to keep version numbers in sync with configure.in
- Added pcre and pcre-devel

* Thu Jul 31 2003 Christophe Lambin <chris@rebelbase.com>
- Merged nospell version into the main spec file. Build the 
  spell-disabled with 'rpmbuild --ba --without gtkspell pan.spec'
- Bumped gnet requirement to 2.0.4

  to build the spell packages by just doing 'rpmbuild  
* Sat Dec 6 2002 Charles Kerr <charles@rebelbase.com>
- Added pango requirement for 1.0.5 or higher.

* Sat Dec 4 2002 Charles Kerr <charles@rebelbase.com>
- Replaced ANNOUNCE with ANNOUNCE.html.
 
* Sat Oct 10 2002 Christophe Lambin <chris@rebelbase.com>
- Removed NEWS, since we maintain ANNOUNCE instead.

* Sat Aug 25 2002 Christophe Lambin <chris@rebelbase.com>
- Bumped gtkspell requirement to 2.0.2.

* Sat Aug 18 2002 Christophe Lambin <chris@rebelbase.com>
- Restrict to gtkspell 2.0.0 until 2.0.2 comes out.

* Wed Jul 10 2002 Christophe Lambin <chris@rebelbase.com>
- Added gtkspell.

* Sat May 1 2002 Christophe Lambin <chris@rebelbase.com>
- Added gtk2 dependencies.
- %configure option to avoid creating execs like 'iX86-distro-linux-pan'.

* Sat Apr 6 2002 Christophe Lambin <chris@rebelbase.com>
- removed explicit copy of gettext's Makefile.in.in to support gettext 0.11.x.

* Sat Sep 22 2001 Charles Kerr <charles@rebelbase.com>
- Added gdk-pixbuf and -devel to Requires and BuildRequires
- Updated gtk/glib and -devel requirements

* Sat Aug 18 2001 Christophe Lambin <chris@rebelbase.com>
- fixes for RH 7.1 + Ximian Gnome 1.4
- allow single tarball to be used for both pan & pan-images
- use gettext 0.10.35's Makefile.in.in for po since it gives us DESTDIR

* Thu Aug 9 2001 Charles Kerr <charles@rebelbase.com>
- removed some dependencies that are better left implicit

* Mon Apr 23 2001 Charles Kerr <charles@rebelbase.com>
- merged in improvements from rh, mdk, and polish versions of pan.spec

* Sun Jun 25 2000 Charles Kerr <charles@rebelbase.com>
- added Vendor
- updated the description to match the README desc & FAQ

* Mon Jan 24 2000 Simon Piette
- changed the build section to allow building RPMS on non-x86 archs

* Sun Dec 12 1999 Jason Leach <leach@wam.umd.edu>
- changed the Summary string
- updated the description to match the README desc

* Wed Dec 1 1999 Charles Kerr <charles@rebelbase.com>
- added "-ggdb3" to CFLAGS so that it'll be easier to read backtraces
  submitted in bug reports

* Thu Nov 4 1999 Jason Leach <leach@wam.umd.edu>
- added gtk+-1.2.6 requirement (1.2.3 definitely breaks, might as well
  make it newest gtk+)

* Tue Nov 2 1999 Jason Leach <leach@wam.umd.edu>
- made .spec.in file to auto-generate .spec

* Sat Sep 25 1999 Leland Elie <lelie@airmail.net>
- created spec file.