]> git.pld-linux.org Git - packages/d.git/blob - d.spec
0de47b00f74bae627a553ead63dd89f591f34d1c
[packages/d.git] / d.spec
1 Summary:        D - The Directory Lister
2 Summary(pl.UTF-8):      D - wyświetlacz katalogów
3 Name:           d
4 Version:        1.2.0
5 Release:        4
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.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,
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.042532 seconds and 2 git commands to generate.