]>
Commit | Line | Data |
---|---|---|
1d94bd40 | 1 | Summary: Simple Samba Commander |
b0c6724e | 2 | Summary(pl.UTF-8): Konsolowa przeglądarka otoczenia sieciowego |
1d94bd40 | 3 | Name: smbc |
40b3231b | 4 | Version: 1.2.2 |
02b52778 | 5 | Release: 3 |
1d94bd40 | 6 | License: GPL |
b87fb62f | 7 | Group: Applications/Networking |
bb95be31 | 8 | Source0: http://dl.sourceforge.net/smbc/%{name}-%{version}.tgz |
40b3231b | 9 | # Source0-md5: f5c1a16ea0378d96cb27e8d96229e8ad |
d7989f43 | 10 | Source1: %{name}.desktop |
bb95be31 | 11 | URL: http://smbc.airm.net/ |
1d94bd40 | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
619a8631 | 14 | BuildRequires: gettext-tools |
1d94bd40 | 15 | BuildRequires: libsmbclient-devel >= 3.0 |
16 | BuildRequires: libtool | |
17 | BuildRequires: ncurses-devel | |
ad1a7c06 | 18 | BuildRequires: popt-devel |
fcc84f98 | 19 | BuildRequires: sed >= 4.0 |
406165d7 | 20 | BuildRequires: texinfo |
4c60b404 | 21 | Requires: samba |
1d94bd40 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | Simple Samba Commander is a text mode SMBnet commander. In SMBC, you | |
26 | can browse the local network or you can use the search function to | |
27 | find the files. You can also download and upload files or all | |
28 | directories to your computer or create remote and local directories. | |
29 | SMBC has a resume function and supports UTF-8 characters. | |
30 | ||
43341a59 JR |
31 | %description -l pl.UTF-8 |
32 | Simple Samba Commander jest prostą tekstową przeglądarką sieci opartej | |
33 | o protokół SMB. Za pomocą SMBC można przeglądać sieć lokalną lub w | |
34 | poszukiwaniu konkretnego pliku wykorzystać funkcję wyszukiwania. | |
35 | Dostępna jest również funkcja pobierania oraz wysyłania plików jak i | |
36 | całych katalogów. SMBC zawiera funkcje automatycznego wznawiania | |
37 | połączenia, obsługę wielu języków wspiera również standard kodowania | |
38 | znaków UTF8. | |
1d94bd40 | 39 | |
40 | %prep | |
518acf6c | 41 | %setup -q |
40b3231b | 42 | rm -rf src/CVS |
fcc84f98 | 43 | sed -i 's@<curses.h>@<ncurses/curses.h>@' src/* |
1d94bd40 | 44 | |
45 | %build | |
46 | %{__gettextize} | |
47 | %{__libtoolize} | |
48 | %{__aclocal} | |
49 | %{__autoconf} | |
50 | %{__autoheader} | |
51 | %{__automake} | |
52 | ||
53 | %configure | |
54 | ||
55 | %{__make} | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
988d6a64 | 59 | %{__make} install \ |
b87fb62f | 60 | DESTDIR=$RPM_BUILD_ROOT |
988d6a64 | 61 | |
62 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
d7989f43 | 63 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
1d94bd40 | 64 | |
ffd77bfe JB |
65 | %find_lang %{name} |
66 | ||
1d94bd40 | 67 | %clean |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
3d979e0a ER |
70 | %post -p /sbin/postshell |
71 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
988d6a64 | 72 | |
3d979e0a ER |
73 | %postun -p /sbin/postshell |
74 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
988d6a64 | 75 | |
ffd77bfe | 76 | %files -f %{name}.lang |
1d94bd40 | 77 | %defattr(644,root,root,755) |
78 | %doc FAQ README doc/sample.smbcrc | |
79 | %attr(755,root,root) %{_bindir}/* | |
518acf6c | 80 | %{_desktopdir}/%{name}.desktop |
988d6a64 | 81 | %{_infodir}/*.info* |
82 | %{_mandir}/man1/smbc.* | |
83 | %{_mandir}/man1/smbcrc.* |