]> git.pld-linux.org Git - packages/d.git/blob - d.spec
f5903eae1382a7bd0866485b1e92f33beab3f2ba
[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 %{__aclocal}
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure
56
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
70
71 %postun
72 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
73
74 %files
75 %defattr(644,root,root,755)
76 %doc README
77 %attr(755,root,root) %{_bindir}/*
78 %{_mandir}/man?/*
79 %{_infodir}/%{name}*
This page took 0.051836 seconds and 2 git commands to generate.