]> git.pld-linux.org Git - SPECS.git/blob - dic.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / dic.spec
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
5 Release:        9
6 License:        GPL v2
7 Group:          Applications
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)
17
18 %description
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.
23
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.
28
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}
34 Requires:       mc
35 Obsoletes:      dic-dic
36
37 %description -n mc-plugin-dic
38 Extfs plugin for Midnight Commander. In the running Midnight Commander
39 type "cd #mcdic".
40
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!
44
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
51 BuildArch:      noarch
52
53 %description -n bash-completion-%{name}
54 Bash-completion to dic.
55
56 %description -n bash-completion-%{name} -l hu.UTF-8
57 Bash automatikus kiegészítés dic-hez.
58
59 %prep
60 %setup -q
61
62 %build
63 %py_build
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 %py_install
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}
74 cp -a man/dic.1 $RPM_BUILD_ROOT%{_mandir}/man1
75 cp -a man/dic.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
76
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
79
80 install -d $RPM_BUILD_ROOT/etc/bash_completion.d
81 cp -a %{SOURCE1} $RPM_BUILD_ROOT/etc/bash_completion.d/dic
82
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}/*
95
96 %files -n mc-plugin-dic
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libexecdir}/mc/extfs.d/mcdic
99
100 %files -n bash-completion-%{name}
101 %defattr(644,root,root,755)
102 /etc/bash_completion.d/%{name}
This page took 0.08967 seconds and 3 git commands to generate.