1 Summary: Dic is a simple, console-based disk catalogizer
2 Summary(hu.UTF-8): Dic egy egyszerű, konzolos lemez katalogizáló
8 Source0: http://downloads.sourceforge.net/dic/%{name}-%{version}.tar.bz2
9 # Source0-md5: c604751a05298dad2492189e1f31ec21
10 Source1: %{name}-bash-completion
11 URL: http://dic.sourceforge.net/
12 BuildRequires: python-devel >= 1:2.7
13 BuildRequires: rpm-pythonprov
14 BuildRequires: rpmbuild(macros) >= 1.710
15 Requires: python-modules
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Dic is a simple, console-based disk catalogizer. It can easily add
20 disks to the catalog, search in the catalog, search for files,
21 automatically retrieve found files without requiring you to manually
22 navigate through the source media, and more.
24 %description -l hu.UTF-8
25 Dic egy egyszerű, konzolos lemez katalogizáló. Könnyen adhatsz új
26 lemezeket a katalógushoz, kereshetsz a katalógusban, fájlok után,
27 automatikusan átmásolhatod a fájlokat kézi navigálás nélkül, stb.
29 %package -n mc-plugin-dic
30 Summary: Extfs plugin for Midnight Commander
31 Summary(hu.UTF-8): Extfs plugin Midnight Commander-hez
32 Group: Applications/Shells
33 Requires: %{name} = %{version}-%{release}
37 %description -n mc-plugin-dic
38 Extfs plugin for Midnight Commander. In the running Midnight Commander
41 %description -n mc-plugin-dic -l hu.UTF-8
42 Extfs plugin Midnight Commander-hez. A futó Midnight Commander-ben
43 gépeld be a "cd #mcdic" sort!
45 %package -n bash-completion-%{name}
46 Summary: bash-completion to dic
47 Summary(hu.UTF-8): Bash automatikus kiegészítés dic-hez
48 Group: Applications/Shells
49 Requires: %{name} = %{version}-%{release}
50 Requires: bash-completion
53 %description -n bash-completion-%{name}
54 Bash-completion to dic.
56 %description -n bash-completion-%{name} -l hu.UTF-8
57 Bash automatikus kiegészítés dic-hez.
66 rm -rf $RPM_BUILD_ROOT
69 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
70 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
73 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5}
74 cp -a man/dic.1 $RPM_BUILD_ROOT%{_mandir}/man1
75 cp -a man/dic.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
77 install -d $RPM_BUILD_ROOT%{_libexecdir}/mc/extfs.d
78 install -p build-2/scripts-2.7/mcdic $RPM_BUILD_ROOT%{_libexecdir}/mc/extfs.d
80 install -d $RPM_BUILD_ROOT/etc/bash_completion.d
81 cp -a %{SOURCE1} $RPM_BUILD_ROOT/etc/bash_completion.d/dic
84 rm -rf $RPM_BUILD_ROOT
87 %defattr(644,root,root,755)
88 %doc AUTHORS ChangeLog NEWS README
89 %dir %{_sysconfdir}/dic
90 %{_mandir}/man1/dic.1.*
91 %{_mandir}/man5/dic.conf.5.*
93 %attr(755,root,root) %{_bindir}/*dic
96 %files -n mc-plugin-dic
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libexecdir}/mc/extfs.d/mcdic
100 %files -n bash-completion-%{name}
101 %defattr(644,root,root,755)
102 /etc/bash_completion.d/%{name}