]> git.pld-linux.org Git - packages/d.git/blame - d.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/d.git] / d.spec
CommitLineData
1a216a53 1Summary: D - The Directory Lister
d9e38328 2Summary(pl.UTF-8): D - wyświetlacz katalogów
1a216a53 3Name: d
4eb17bdb 4Version: 1.2.0
cc7bd2f4 5Release: 4
6f0937c7 6License: GPL v2+
1a216a53 7Group: Applications/System
8Source0: http://pages.xtn.net/~ecogburn/%{name}-%{version}.tar.bz2
4eb17bdb 9# Source0-md5: 7ce4ee18fd220588eab2c798e22b76a6
6f0937c7
JB
10Patch0: %{name}-opt.patch
11Patch1: %{name}-types.patch
12Patch2: %{name}-info.patch
1a216a53 13URL: http://pages.xtn.net/~ecogburn/d.html
14BuildRequires: autoconf
15BuildRequires: automake
16BuildRequires: help2man
6f0937c7
JB
17BuildRequires: libstdc++-devel
18BuildRequires: texinfo
1a216a53 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22D is an alternative to ls and its long format output. It optimizes the
23output to create more space for the filename and reduce the chance of
24wrap around. It also has a --dirs-first option to always print
25directories before regular files regardless of the current sort
26option. Those familiar with Midnight Commander will recognize this
27behavior. It allows for system and user configuration files, which can
28specify several options that are available on the command line, as
29well as the 'color' option which can be used to completely customize
30the colorization of output, like ls but in a more convenient
31configuration file.
32
a2067a65
JR
33%description -l pl.UTF-8
34D jest alternatywą dla ls i jego długiego wyjścia. Optymalizuje
35wyjście by uzyskać więcej miejsca na nazwę plików i redukuje
36prawdopodobieństwo zawinięcia listingu. Posiada także opcję
37--dirs-first wypisującą zawsze katalogi przed normalnymi plikami
38niezależnie od aktualnie ustawionych opcji sortowania. Pozwala na
39pliki konfiguracyjne w systemie oraz na koncie użytkownika,
40pozwalające ustawić kilkanaście opcji dostępnych z linii poleceń,
41jak także opcję color pozwalającą całkowicie zmienić kolory wyjście,
1a216a53 42podobnie 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 51cp -f /usr/share/automake/config.sub .
1a216a53 52%{__aclocal}
53%{__autoconf}
54%{__autoheader}
55%{__automake}
56%configure
57
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66%clean
67rm -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}*
This page took 0.081255 seconds and 4 git commands to generate.