]>
Commit | Line | Data |
---|---|---|
3d87a45b ZU |
1 | Summary: Dic is a simple, console-based disk catalogizer |
2 | Summary(hu.UTF-8): Dic egy egyszerű, konzolos lemez katalogizáló | |
3 | Name: dic | |
4 | Version: 0.7 | |
3501ba11 | 5 | Release: 9 |
3d87a45b ZU |
6 | License: GPL v2 |
7 | Group: Applications | |
2ff4a3b9 | 8 | Source0: http://downloads.sourceforge.net/dic/%{name}-%{version}.tar.bz2 |
3d87a45b | 9 | # Source0-md5: c604751a05298dad2492189e1f31ec21 |
e174f4a8 | 10 | Source1: %{name}-bash-completion |
3d87a45b | 11 | URL: http://dic.sourceforge.net/ |
40c86390 | 12 | BuildRequires: python-devel >= 1:2.7 |
3d87a45b | 13 | BuildRequires: rpm-pythonprov |
fd5ee289 | 14 | BuildRequires: rpmbuild(macros) >= 1.710 |
3d87a45b | 15 | Requires: python-modules |
3d87a45b ZU |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
6ad82abd ZU |
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. | |
3d87a45b ZU |
23 | |
24 | %description -l hu.UTF-8 | |
6ad82abd ZU |
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. | |
3d87a45b | 28 | |
2ff4a3b9 | 29 | %package -n mc-plugin-dic |
887588e2 ZU |
30 | Summary: Extfs plugin for Midnight Commander |
31 | Summary(hu.UTF-8): Extfs plugin Midnight Commander-hez | |
f93f86c6 | 32 | Group: Applications/Shells |
7ed60583 | 33 | Requires: %{name} = %{version}-%{release} |
f93f86c6 | 34 | Requires: mc |
2ff4a3b9 | 35 | Obsoletes: dic-dic |
887588e2 | 36 | |
2ff4a3b9 | 37 | %description -n mc-plugin-dic |
f93f86c6 ZU |
38 | Extfs plugin for Midnight Commander. In the running Midnight Commander |
39 | type "cd #mcdic". | |
887588e2 | 40 | |
2ff4a3b9 | 41 | %description -n mc-plugin-dic -l hu.UTF-8 |
f93f86c6 ZU |
42 | Extfs plugin Midnight Commander-hez. A futó Midnight Commander-ben |
43 | gépeld be a "cd #mcdic" sort! | |
887588e2 | 44 | |
ee097a9d | 45 | %package -n bash-completion-%{name} |
e174f4a8 ZU |
46 | Summary: bash-completion to dic |
47 | Summary(hu.UTF-8): Bash automatikus kiegészítés dic-hez | |
48 | Group: Applications/Shells | |
ee097a9d ER |
49 | Requires: %{name} = %{version}-%{release} |
50 | Requires: bash-completion | |
45633410 | 51 | BuildArch: noarch |
e174f4a8 | 52 | |
ee097a9d | 53 | %description -n bash-completion-%{name} |
e174f4a8 ZU |
54 | Bash-completion to dic. |
55 | ||
ee097a9d | 56 | %description -n bash-completion-%{name} -l hu.UTF-8 |
e174f4a8 ZU |
57 | Bash automatikus kiegészítés dic-hez. |
58 | ||
3d87a45b ZU |
59 | %prep |
60 | %setup -q | |
61 | ||
62 | %build | |
0a017ec9 | 63 | %py_build |
3d87a45b ZU |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
0a017ec9 | 67 | %py_install |
3d87a45b ZU |
68 | |
69 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} | |
70 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
71 | %py_postclean | |
72 | ||
73 | install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5} | |
40c86390 ER |
74 | cp -a man/dic.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
75 | cp -a man/dic.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5 | |
3d87a45b | 76 | |
2e6a6047 | 77 | install -d $RPM_BUILD_ROOT%{_libexecdir}/mc/extfs.d |
3501ba11 | 78 | install -p build-2/scripts-2.7/mcdic $RPM_BUILD_ROOT%{_libexecdir}/mc/extfs.d |
887588e2 | 79 | |
ee097a9d | 80 | install -d $RPM_BUILD_ROOT/etc/bash_completion.d |
40c86390 | 81 | cp -a %{SOURCE1} $RPM_BUILD_ROOT/etc/bash_completion.d/dic |
e174f4a8 | 82 | |
3d87a45b ZU |
83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %files | |
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.* | |
92 | %{_sysconfdir}/dic/* | |
93 | %attr(755,root,root) %{_bindir}/*dic | |
94 | %{py_sitescriptdir}/* | |
887588e2 | 95 | |
2ff4a3b9 | 96 | %files -n mc-plugin-dic |
887588e2 | 97 | %defattr(644,root,root,755) |
2e6a6047 | 98 | %attr(755,root,root) %{_libexecdir}/mc/extfs.d/mcdic |
f93f86c6 | 99 | |
ee097a9d | 100 | %files -n bash-completion-%{name} |
e174f4a8 | 101 | %defattr(644,root,root,755) |
ee097a9d | 102 | /etc/bash_completion.d/%{name} |