]>
Commit | Line | Data |
---|---|---|
1a216a53 | 1 | Summary: D - The Directory Lister |
d9e38328 | 2 | Summary(pl.UTF-8): D - wyświetlacz katalogów |
1a216a53 | 3 | Name: d |
4eb17bdb | 4 | Version: 1.2.0 |
cc7bd2f4 | 5 | Release: 4 |
6f0937c7 | 6 | License: GPL v2+ |
1a216a53 | 7 | Group: Applications/System |
8 | Source0: http://pages.xtn.net/~ecogburn/%{name}-%{version}.tar.bz2 | |
4eb17bdb | 9 | # Source0-md5: 7ce4ee18fd220588eab2c798e22b76a6 |
6f0937c7 JB |
10 | Patch0: %{name}-opt.patch |
11 | Patch1: %{name}-types.patch | |
12 | Patch2: %{name}-info.patch | |
1a216a53 | 13 | URL: http://pages.xtn.net/~ecogburn/d.html |
14 | BuildRequires: autoconf | |
15 | BuildRequires: automake | |
16 | BuildRequires: help2man | |
6f0937c7 JB |
17 | BuildRequires: libstdc++-devel |
18 | BuildRequires: texinfo | |
1a216a53 | 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 | ||
a2067a65 JR |
33 | %description -l pl.UTF-8 |
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 aktualnie 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 linii poleceń, | |
41 | jak także opcję color pozwalającą całkowicie zmienić kolory wyjście, | |
1a216a53 | 42 | podobnie jak w ls, ale w bardziej wygodnym pliku konfiguracyjnym. |
43 | ||
44 | %prep | |
45 | %setup -q | |
6f0937c7 JB |
46 | %patch0 -p1 |
47 | %patch1 -p1 | |
48 | %patch2 -p1 | |
1a216a53 | 49 | |
50 | %build | |
8a530204 | 51 | cp -f /usr/share/automake/config.sub . |
1a216a53 | 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 | ||
5ee1bc34 ER |
69 | %post -p /sbin/postshell |
70 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
1a216a53 | 71 | |
5ee1bc34 ER |
72 | %postun -p /sbin/postshell |
73 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
1a216a53 | 74 | |
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %doc README | |
78 | %attr(755,root,root) %{_bindir}/* | |
79 | %{_mandir}/man?/* | |
80 | %{_infodir}/%{name}* |