]> git.pld-linux.org Git - packages/dos2unix.git/blob - dos2unix.spec
- fixed Source0, md5sum
[packages/dos2unix.git] / dos2unix.spec
1 Summary:        dos2unix - DOS/MAC to UNIX text file format converter
2 Summary(fr):    Convertisseur de format de fichier texte
3 Summary(pl):    dos2unix - konwerter plików tekstowych z formatów DOS/MAC na UNIX
4 Summary(pt_BR): Conversor de formatos de arquivos texto
5 Summary(ru):    dos2unix - ËÏÎ×ÅÒÔÏÒ ÔÅËÓÔÏ×ÙÈ ÆÁÊÌÏ× DOS × ÆÏÒÍÁÔ UNIX
6 Summary(uk):    dos2unix - ËÏÎ×ÅÒÔÏÒ ÔÅËÓÔÏ×ÉÈ ÆÁÊ̦נDOS × ÆÏÒÍÁÔ UNIX
7 Summary(zh_CN): ×ª»»DOS»òMACÎı¾Îļþµ½UNIX¸ñʽ
8 Name:           dos2unix
9 Version:        3.1
10 Release:        15
11 License:        Freer than LGPL
12 Group:          Applications/Text
13 Source0:        http://www.go.dlr.de/linux/src/%{name}-%{version}.tar.gz
14 # Source0-md5:  25ff56bab202de63ea6f6c211c416e96
15 Patch0:         %{name}.patch
16 Patch1:         %{name}-segfault.patch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 A utility that converts plain text files in DOS/MAC format to UNIX
21 format.
22
23 %description -l fr
24 Dos2unix converti des fichier texte DOS ou MAC au format UNIX.
25
26 %description -l pl
27 Zestaw narzêdzi do konwersji plików tekstowych z formatów DOS/MAC na
28 format u¿ywany przez UNIX-a.
29
30 %description -l pt_BR
31 O dos2unix converte arquivos texto do DOS e MAC para o formato texto
32 do Unix.
33
34 %description -l ru
35 dos2unix - ËÏÎ×ÅÒÔÏÒ ÔÅËÓÔÏ×ÙÈ ÆÁÊÌÏ× DOS × ÆÏÒÍÁÔ UNIX.
36
37 %description -l uk
38 dos2unix - ËÏÎ×ÅÒÔÏÒ ÔÅËÓÔÏ×ÉÈ ÆÁÊ̦נDOS × ÆÏÒÍÁÔ UNIX.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44
45 %build
46 %{__cc} %{rpmcflags} -o dos2unix dos2unix.c
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
51
52 install dos2unix $RPM_BUILD_ROOT%{_bindir}
53 install dos2unix.1 $RPM_BUILD_ROOT%{_mandir}/man1
54
55 ln -sf dos2unix $RPM_BUILD_ROOT%{_bindir}/mac2unix
56
57 echo ".so dos2unix.1" > $RPM_BUILD_ROOT%{_mandir}/man1/mac2unix.1
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc COPYRIGHT
65 %attr(755,root,root) %{_bindir}/*
66 %{_mandir}/man1/*
This page took 0.069495 seconds and 3 git commands to generate.