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