]> git.pld-linux.org Git - packages/d.git/blob - d.spec
- refresh config.sub
[packages/d.git] / d.spec
1 Summary:        D - The Directory Lister
2 Summary(pl):    D - wy¶wietlacz katalogów
3 Name:           d
4 Version:        1.2.0
5 Release:        3
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://pages.xtn.net/~ecogburn/%{name}-%{version}.tar.bz2
9 # Source0-md5:  7ce4ee18fd220588eab2c798e22b76a6
10 Patch0:         %{name}-opt.patch
11 Patch1:         %{name}-types.patch
12 Patch2:         %{name}-info.patch
13 URL:            http://pages.xtn.net/~ecogburn/d.html
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  help2man
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  texinfo
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 D is an alternative to ls and its long format output. It optimizes the
23 output to create more space for the filename and reduce the chance of
24 wrap around. It also has a --dirs-first option to always print
25 directories before regular files regardless of the current sort
26 option. Those familiar with Midnight Commander will recognize this
27 behavior. It allows for system and user configuration files, which can
28 specify several options that are available on the command line, as
29 well as the 'color' option which can be used to completely customize
30 the colorization of output, like ls but in a more convenient
31 configuration file.
32
33 %description -l pl
34 D jest alternatyw± dla ls i jego d³ugiego wyj¶cia. Optymalizuje
35 wyj¶cie by uzyskaæ wiêcej miejsca na nazwê plików i redukuje
36 prawdopodobieñstwo zawiniêcia listingu. Posiada tak¿e opcjê
37 --dirs-first wypisuj±c± zawsze katalogi przed normalnymi plikami
38 niezale¿nie od akutalnie ustawionych opcji sortowania. Pozwala na
39 pliki konfiguracyjne w systemie oraz na koncie u¿ytkownika,
40 pozwalaj±ce ustawiæ kilkana¶cie opcji dostêpnych z lini poleceñ, jak
41 tak¿e opcjê color pozwalaj±c± ca³kowicie zmieniæ kolory wyjscie,
42 podobnie jak w ls, ale w bardziej wygodnym pliku konfiguracyjnym.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47 %patch1 -p1
48 %patch2 -p1
49
50 %build
51 cp -f /usr/share/automake/config.sub .
52 %{__aclocal}
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
71
72 %postun
73 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
74
75 %files
76 %defattr(644,root,root,755)
77 %doc README
78 %attr(755,root,root) %{_bindir}/*
79 %{_mandir}/man?/*
80 %{_infodir}/%{name}*
This page took 0.068748 seconds and 3 git commands to generate.