-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpinfo.spec.in
88 lines (69 loc) · 2.09 KB
/
pinfo.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
Summary: Lynx-style info browser
Summary(pl): Przêgl±darka info w stylu lynksa
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1
Group: Utilities/System
Group(pl): Narzêdzia/System
Copyright: GPL
Vendor: Bas Zoetekouw <[email protected]>
Source: https://github.com/baszoetekouw/pinfo
BuildRoot: /tmp/%{name}-%{version}-root
%define _prefix /usr
%define _sysconfdir /etc
%define _datedir %{_prefix}/share
%define _bindir %{_prefix}/bin
%define _mandir %(if [ "%{_target_vendor}" == "pld" ]; then echo "%{_prefix}/share/man"; else echo "%{_prefix}/share/man"; fi)
%description
Pinfo is a curses based lynx-style info browser.
%description -l pl
Pinfo jest przegl±dark± dokumentów info podobn± do lynksa.
%prep
echo "%{_mandir}"
%setup -q
%build
LDFLAGS="-s"; export LDFLAGS
%configure \
--without-included-gettext
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
ChangeLog NEWS AUTHORS README
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc *.gz
%attr(755,root,root) %{_bindir}/pinfo
%config %verify(not md5 size mtime) %{_sysconfdir}/pinforc
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/*
%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/*
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/*
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/*
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/*
%{_mandir}/man1/*
%changelog
* Mon May 3 1999 Artur Frysiak <[email protected]>
[0.5.2-1]
- added de and sv locale
* Fri Apr 16 1999 Artur Frysiak <[email protected]>
[0.4.9-1]
- added --with-readline to ./configure
- added pinforc and polish locale to %%files
* Sat Apr 10 1999 Artur Frysiak <[email protected]>
[0.4.8-1]
- added --sysconfdir=/etc to ./configure
* Thu Mar 25 1999 Tomasz K³oczko <[email protected]>
[0.3.5-1]
- fixed passing $RPM_OPT_FLAGS.
* Mon Mar 23 1999 Micha³ Kuratczyk <[email protected]>
[0.3.1-1]
- upgraded to 0.3.1
* Sun Mar 21 1999 Micha³ Kuratczyk <[email protected]>
[0.2.4-1]
- upgraded to 0.2.4
* Fri Mar 19 1999 Micha³ Kuratczyk <[email protected]>
[0.2.3-1]
- initial RPM release