File: gnomba.spec

package info (click to toggle)
gnomba 0.6.2-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,144 kB
  • ctags: 6,855
  • sloc: ansic: 31,481; sh: 488; makefile: 276; sed: 93
file content (63 lines) | stat: -rw-r--r-- 1,420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Summary:	Gnome Samba Browser
Summary(pl):	Przegldarka zasobw SMB
Name:		gnomba
Version:	0.6.2
Release:	1
Copyright:	GPL
#Group: 		Utilities/Network
Group:		Networking/Utilities
Group(pl):	Sieciowe/Narzdzia
Source:		http://gnomba.darkcorner.net/tars/%{name}-%{version}.tar.gz
URL:		http://gnomba.darkcorner.net
BuildRoot:	/tmp/%{name}-%{version}-root

%define	prefix	/usr
%define		_prefix		/usr
%define		_sysconfdir	/etc

%description
gnomba is a GUI network browser using the smb protocol.  It allows users
to browse workgroups, machines, and shares in a "Network Neighborhood."

%description -l pl
Gnomba jest przegldark zasobw sieciowych wykorzystujac protok smb. Pozwala
na przegldanie grup, komputerw i zasobw w "Otoczeniu sieciowym"

%prep
%setup

%build
unset LINGUAS 
CFLAGS=$RPM_OPT_FLAGS
export CXXFLAGS LINGUAS

%configure \
    --datadir=%{_prefix}/share
    
make LIBDIR=%{_sysconfdir}
     
%install
rm -rf $RPM_BUILD_ROOT


make \
    DESTDIR=$RPM_BUILD_ROOT \
    gnulocaledir=$RPM_BUILD_ROOT%{_prefix}/share/locale \
    install

gzip -9nf README COPYING ChangeLog
strip $RPM_BUILD_ROOT%{_prefix}/bin/gnomba


%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc {README,COPYING,ChangeLog}.gz
%attr(755,root,root) %{_prefix}/bin/gnomba
%{_prefix}/man/*
%{_prefix}/share/locale/*
%{_prefix}/share/gnome/apps/Internet/gnomba.desktop
%{_prefix}/share/pixmaps/gnome-gnomba.png