This repository was archived by the owner on Jul 10, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpan.spec.in
143 lines (111 loc) · 4.92 KB
/
pan.spec.in
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
140
141
142
143
%define name pan
%define version @VERSION@
%define release 1
Summary: The Pan Newsreader
Name: %{name}
Version: %{version}
Release: %{?_without_gtkspell:nospell}%{release}
License: GPL
Group: Applications/Internet
URL: http://pan.rebelbase.com/
Source: http://pan.rebelbase.com/download/releases/%{version}/source/%{name}-%{version}.tar.bz2
Vendor: ChimPanXi
Epoch: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: glib2-devel >= @GLIB_REQUIRED@
BuildRequires: gmime-devel >= @GMIME_REQUIRED@
BuildRequires: gtk2-devel >= @GTK_REQUIRED@
%{!?_without_gtkspell:BuildRequires: gtkspell-devel >= @GTKSPELL_REQUIRED@}
Requires: glib2 >= @GLIB_REQUIRED@
Requires: gmime >= @GMIME_REQUIRED@
Requires: gtk2 >= @GTK_REQUIRED@
%{!?_without_gtkspell:Requires: gtkspell >= @GTKSPELL_REQUIRED@}
Provides: %{name}
%description
Pan is a newsreader which attempts to be pleasant to new and advanced
users alike. It has all the typical features found in newsreaders and
also has powerful filtering, handles large binaries newsgroups well,
supports multiple servers transparently, allows for offline reading,
and more. It's also the only Unix newsreader to get a perfect score on
the Good Net-Keeping Seal of Approval evalutions.
%prep
%setup -q
%build
%configure --program-prefix="" %{?_without_gtkspell:--without-gtkspell}
make CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
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 ChangeLog README
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/*
%changelog
* Tue Aug 15 2006 Charles Kerr <charles@rebelbase.com>
- fixed rpmlint mixed-use-of-spaces-and-tabs by removing an aberant tab.
- fixed rpmlint macro-in-%%changelog by escaping the percents.
- fixed rpmlint setup-not-quiet by adding -q to setup.
- fixed rpmlint hardcoded-packager-tag warning by removing the packager tag.
- fixed rpmlint rpm-buildroot-usage and no-cleaning-of-buildroot
warnings by moving rm -rf RPM_BUILD_ROOT from prep to install.
* Sun Nov 28 2004 Charles Kerr <charles@rebelbase.com>
- removed gnet requirement
* 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.