Fix CFLAGS/LDFLAGS syntax
[platform/upstream/lrzsz.git] / Specfile.in
1 Summary: lzrz - sz, rz, and friends
2 Name: @PACKAGE@
3 Version: @VERSION@
4 Release: 0
5 Copyright: GPL
6 Group: Applications/Communications
7 Source: ftp://ftp.ohse.de/uwe/releases/@PACKAGE_VERSION@.tar.gz
8 BuildRoot: /var/tmp/lrzsz-root
9 Summary(de): lzrz - sz, rz und Co.
10 Summary(fr): lzrz - sz, rz, et consorts
11 Summary(tr): Modem protokolleri
12
13 %description
14 This collection of commands can be used to download and upload
15 files using the Z, X, and Y protocols.  Many terminal programs
16 (like minicom) make use of these programs to transfer files.
17
18 %description -l de
19 Diese Sammlung von Befehlen läßt sich zum Herunter- und 
20 Aufwärtsladen von Dateien anhand der Z-, X- und Y-Protokolle benutzen. 
21 Viele Terminalprogramme (wie Minicom) setzen diese Programme für die
22 Übertragung von Dateien ein. 
23
24 %description -l fr
25 Cet ensemble de commande sert à télécharger des fichiers en utilisant
26 les protocoles Z, X et Y. De nombreux programmes de terminal (comme
27 minicom) utilisent ces programmes pour transférer les fichiers.
28
29 %description -l tr
30 Bu komutlar topluluðu Z, X ve Y protokollerini kullanarak dosya aktarýmý
31 için kullanýlabilir. Pek çok uç birim programý (örneðin minicom) dosya
32 taþýmak için bu programlarý kullanýr.
33
34 %prep
35 %setup
36
37 %build
38 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --program-transform-name=s/l//
39 make
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 make prefix=$RPM_BUILD_ROOT/usr install
45
46 strip $RPM_BUILD_ROOT/usr/bin/{rb,rx,rz,sb,sx,sz}
47
48 %files
49 %defattr(-,root,root)
50 %doc AUTHORS COMPATABILITY ChangeLog NEWS README README.gettext TODO THANKS README.cvs README.isdn4linux README.systems README.tests
51 /usr/bin/sz
52 /usr/bin/sb
53 /usr/bin/sx
54 /usr/bin/rz
55 /usr/bin/rb
56 /usr/bin/rx
57 /usr/man/man1/sz.1
58 /usr/man/man1/rz.1
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %changelog
64 * Mon Dec 21 1998 Uwe Ohse <uwe@ohse.de>
65 - stole redhats specfile and hacked it.
66   Redhat people: "Upgraded to 0.12.14 and changed makefiles so 
67   gettext isnt built." is that kind of problem the author would
68   have liked to know.
69
70 * Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
71 - build root
72
73 * Thu May 07 1998 Prospector System <bugs@redhat.com>
74 - translations modified for de, fr, tr
75
76 * Tue Oct 21 1997 Donnie Barnes <djb@redhat.com>
77 - spec file cleanups 
78
79 * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
80 - built against glibc
81
82 * Wed Mar 5 1997 msf@redhat.com <Michael Fulbright>
83 - Upgraded to 0.12.14 and changed makefiles so gettext isnt built.
84