|
Lines 1-15
Link Here
|
| 1 |
Name: html2text |
1 |
Name: html2text |
| 2 |
Version: 1.3.2a |
2 |
Version: 1.3.2a |
| 3 |
Release: alt1 |
3 |
Release: alt1.1 |
| 4 |
|
4 |
|
| 5 |
Summary: An HTML-to-text converter |
5 |
Summary: An HTML-to-text converter |
| 6 |
License: GPL |
6 |
License: GPL |
| 7 |
Group: Text tools |
7 |
Group: Text tools |
| 8 |
Url: http://userpage.fu-berlin.de/~mbayer/tools/%name.html |
8 |
Url: http://www.mbayer.de/html2text/ |
|
|
9 |
Packager: Dmitry V. Levin <ldv@altlinux.org> |
| 9 |
|
10 |
|
| 10 |
Source: ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/%name-%version.tar.bz2 |
11 |
Source: ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/%name-%version.tar.bz2 |
|
|
12 |
Patch: last_char.patch |
| 11 |
|
13 |
|
| 12 |
BuildRequires: gcc-c++ |
14 |
# Automatically added by buildreq on Sun Aug 28 2005 |
|
|
15 |
BuildRequires: gcc-c++ libstdc++-devel |
| 13 |
|
16 |
|
| 14 |
%description |
17 |
%description |
| 15 |
html2text is a command line utility that converts HTML documents into |
18 |
html2text is a command line utility that converts HTML documents into |
|
Lines 34-51
Link Here
|
| 34 |
|
37 |
|
| 35 |
%prep |
38 |
%prep |
| 36 |
%setup -q |
39 |
%setup -q |
| 37 |
gunzip *.[15].gz |
40 |
%__gzip -d *.[15].gz |
|
|
41 |
%patch -p1 |
| 38 |
|
42 |
|
| 39 |
%build |
43 |
%build |
| 40 |
./configure |
44 |
%configure |
| 41 |
%make_build DEBUG="$RPM_OPT_FLAGS" |
45 |
%make_build DEBUG="%optflags" |
| 42 |
bzip2 -9kf CHANGES |
46 |
%__bzip2 -9kf CHANGES |
| 43 |
|
47 |
|
| 44 |
%install |
48 |
%install |
| 45 |
mkdir -p $RPM_BUILD_ROOT%prefix/bin |
49 |
%__mkdir_p %buildroot%_bindir |
| 46 |
%__install -pD -m755 %name $RPM_BUILD_ROOT%_bindir/%name |
50 |
%__install -pD -m755 %name %buildroot%_bindir/%name |
| 47 |
%__install -pD -m644 %name.1 $RPM_BUILD_ROOT%_man1dir/%name.1 |
51 |
%__install -pD -m644 %name.1 %buildroot%_man1dir/%name.1 |
| 48 |
%__install -pD -m644 %{name}rc.5 $RPM_BUILD_ROOT%_man5dir/%{name}rc.5 |
52 |
%__install -pD -m644 %{name}rc.5 %buildroot%_man5dir/%{name}rc.5 |
| 49 |
|
53 |
|
| 50 |
%files |
54 |
%files |
| 51 |
%_bindir/* |
55 |
%_bindir/* |
|
Lines 53-58
Link Here
|
| 53 |
%doc CHANGES.bz2 CREDITS KNOWN_BUGS README RELEASE_NOTES TODO |
57 |
%doc CHANGES.bz2 CREDITS KNOWN_BUGS README RELEASE_NOTES TODO |
| 54 |
|
58 |
|
| 55 |
%changelog |
59 |
%changelog |
|
|
60 |
* Wed Sep 07 2005 php-coder <php-coder@altlinux.ru> 1.3.2a-alt1.1 |
| 61 |
- NMU |
| 62 |
- The last char of Bulgarian alphabet now displayed (#7452) |
| 63 |
- Added Packager tag |
| 64 |
- Changed %%Url |
| 65 |
- Updated BuildRequires |
| 66 |
- Spec cleanup |
| 67 |
|
| 56 |
* Sun Feb 27 2005 Dmitry V. Levin <ldv@altlinux.org> 1.3.2a-alt1 |
68 |
* Sun Feb 27 2005 Dmitry V. Levin <ldv@altlinux.org> 1.3.2a-alt1 |
| 57 |
- Packaged for ALT Linux, based on spec from |
69 |
- Packaged for ALT Linux, based on spec from |
| 58 |
http://userpage.fu-berlin.de/~mbayer/tools/html2text.spec |
70 |
http://userpage.fu-berlin.de/~mbayer/tools/html2text.spec |