]> git.pld-linux.org Git - packages/dic.git/blame - dic.spec
- unconditional noarch subpackages
[packages/dic.git] / dic.spec
CommitLineData
3d87a45b
ZU
1Summary: Dic is a simple, console-based disk catalogizer
2Summary(hu.UTF-8): Dic egy egyszerű, konzolos lemez katalogizáló
3Name: dic
4Version: 0.7
3501ba11 5Release: 9
3d87a45b
ZU
6License: GPL v2
7Group: Applications
2ff4a3b9 8Source0: http://downloads.sourceforge.net/dic/%{name}-%{version}.tar.bz2
3d87a45b 9# Source0-md5: c604751a05298dad2492189e1f31ec21
e174f4a8 10Source1: %{name}-bash-completion
3d87a45b 11URL: http://dic.sourceforge.net/
40c86390 12BuildRequires: python-devel >= 1:2.7
3d87a45b 13BuildRequires: rpm-pythonprov
fd5ee289 14BuildRequires: rpmbuild(macros) >= 1.710
3d87a45b 15Requires: python-modules
3d87a45b
ZU
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
6ad82abd
ZU
19Dic is a simple, console-based disk catalogizer. It can easily add
20disks to the catalog, search in the catalog, search for files,
21automatically retrieve found files without requiring you to manually
22navigate through the source media, and more.
3d87a45b
ZU
23
24%description -l hu.UTF-8
6ad82abd
ZU
25Dic egy egyszerű, konzolos lemez katalogizáló. Könnyen adhatsz új
26lemezeket a katalógushoz, kereshetsz a katalógusban, fájlok után,
27automatikusan á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
30Summary: Extfs plugin for Midnight Commander
31Summary(hu.UTF-8): Extfs plugin Midnight Commander-hez
f93f86c6 32Group: Applications/Shells
7ed60583 33Requires: %{name} = %{version}-%{release}
f93f86c6 34Requires: mc
2ff4a3b9 35Obsoletes: dic-dic
887588e2 36
2ff4a3b9 37%description -n mc-plugin-dic
f93f86c6
ZU
38Extfs plugin for Midnight Commander. In the running Midnight Commander
39type "cd #mcdic".
887588e2 40
2ff4a3b9 41%description -n mc-plugin-dic -l hu.UTF-8
f93f86c6
ZU
42Extfs plugin Midnight Commander-hez. A futó Midnight Commander-ben
43gépeld be a "cd #mcdic" sort!
887588e2 44
ee097a9d 45%package -n bash-completion-%{name}
e174f4a8
ZU
46Summary: bash-completion to dic
47Summary(hu.UTF-8): Bash automatikus kiegészítés dic-hez
48Group: Applications/Shells
ee097a9d
ER
49Requires: %{name} = %{version}-%{release}
50Requires: bash-completion
45633410 51BuildArch: noarch
e174f4a8 52
ee097a9d 53%description -n bash-completion-%{name}
e174f4a8
ZU
54Bash-completion to dic.
55
ee097a9d 56%description -n bash-completion-%{name} -l hu.UTF-8
e174f4a8
ZU
57Bash 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
66rm -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
73install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5}
40c86390
ER
74cp -a man/dic.1 $RPM_BUILD_ROOT%{_mandir}/man1
75cp -a man/dic.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
3d87a45b 76
2e6a6047 77install -d $RPM_BUILD_ROOT%{_libexecdir}/mc/extfs.d
3501ba11 78install -p build-2/scripts-2.7/mcdic $RPM_BUILD_ROOT%{_libexecdir}/mc/extfs.d
887588e2 79
ee097a9d 80install -d $RPM_BUILD_ROOT/etc/bash_completion.d
40c86390 81cp -a %{SOURCE1} $RPM_BUILD_ROOT/etc/bash_completion.d/dic
e174f4a8 82
3d87a45b
ZU
83%clean
84rm -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}
This page took 0.094796 seconds and 4 git commands to generate.