]> git.pld-linux.org Git - packages/dic.git/blame - dic.spec
BR: rpmbuild(macros) >= 1.710
[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
b95c4426 5Release: 7
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
ER
51%if "%{_rpmversion}" >= "5"
52BuildArch: noarch
53%endif
e174f4a8 54
ee097a9d 55%description -n bash-completion-%{name}
e174f4a8
ZU
56Bash-completion to dic.
57
ee097a9d 58%description -n bash-completion-%{name} -l hu.UTF-8
e174f4a8
ZU
59Bash automatikus kiegészítés dic-hez.
60
3d87a45b
ZU
61%prep
62%setup -q
63
64%build
0a017ec9 65%py_build
3d87a45b
ZU
66
67%install
68rm -rf $RPM_BUILD_ROOT
0a017ec9 69%py_install
3d87a45b
ZU
70
71%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
72%py_comp $RPM_BUILD_ROOT%{py_sitedir}
73%py_postclean
74
75install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5}
40c86390
ER
76cp -a man/dic.1 $RPM_BUILD_ROOT%{_mandir}/man1
77cp -a man/dic.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
3d87a45b 78
2ff4a3b9 79install -d $RPM_BUILD_ROOT%{_libdir}/mc/extfs.d
40c86390 80install -p build/scripts-2.7/mcdic $RPM_BUILD_ROOT%{_libdir}/mc/extfs.d
887588e2 81
ee097a9d 82install -d $RPM_BUILD_ROOT/etc/bash_completion.d
40c86390 83cp -a %{SOURCE1} $RPM_BUILD_ROOT/etc/bash_completion.d/dic
e174f4a8 84
3d87a45b
ZU
85%clean
86rm -rf $RPM_BUILD_ROOT
87
88%files
89%defattr(644,root,root,755)
90%doc AUTHORS ChangeLog NEWS README
91%dir %{_sysconfdir}/dic
92%{_mandir}/man1/dic.1.*
93%{_mandir}/man5/dic.conf.5.*
94%{_sysconfdir}/dic/*
95%attr(755,root,root) %{_bindir}/*dic
96%{py_sitescriptdir}/*
887588e2 97
2ff4a3b9 98%files -n mc-plugin-dic
887588e2 99%defattr(644,root,root,755)
2ff4a3b9 100%attr(755,root,root) %{_libdir}/mc/extfs.d/mcdic
f93f86c6 101
ee097a9d 102%files -n bash-completion-%{name}
e174f4a8 103%defattr(644,root,root,755)
ee097a9d 104/etc/bash_completion.d/%{name}
This page took 0.057835 seconds and 4 git commands to generate.