Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 525bac68befe72303cdec284ea04a789 > files > 2

silky-0.5.5-2mdv2008.0.src.rpm

%define version 0.5.5
%define release %mkrel 2

Summary:	Secure chat client for SILC (Secure Internet Live Conferencing) protocol
Name:		silky
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		Networking/Chat
URL:		http://silky.sourceforge.net/
Source:		http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	libglade2.0-devel
BuildRequires:	silc-toolkit-devel >= 0.9.12-2mdk
BuildRequires:	ImageMagick desktop-file-utils
BuildRequires:	automake1.8
BuildRequires:	intltool gettext-devel cvs
BuildRequires:	libtool

%description
Silky is a secure chat client for SILC (Secure Internet Live
Conferencing) protocol, which is very similar to IRC in operation;
the main difference between SILC and IRC is encryption. Silky is
written in GTK+ toolkit.

%prep
%setup -q

%build
NOCONFIGURE=1 ./autogen.sh
%configure
%make -j1

%install
rm -rf %{buildroot}
# fwang: for some reason, @MKINSTALLDIRS@ does not get replaced
sed -i -e 's|@MKINSTALLDIRS@|../mkinstalldirs|' po/Makefile
%makeinstall_std gnomemenudir=%{_datadir}/applications

rm -rf %{buildroot}%{_prefix}/doc

# icons
mkdir -p %{buildroot}%{_iconsdir} %{buildroot}%{_miconsdir}
install -D -m 644       pixmaps/%{name}_logo_small.png %{buildroot}%{_liconsdir}/%{name}.png
convert -geometry 32x32 pixmaps/%{name}_logo_small.png %{buildroot}%{_iconsdir}/%{name}.png
convert -geometry 16x16 pixmaps/%{name}_logo_small.png %{buildroot}%{_miconsdir}/%{name}.png

desktop-file-install --vendor="" \
  --remove-category="Application" \
  --add-category="Network;IRCClient" \
  --add-category="X-MandrivaLinux-Internet-Chat" \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/applications/*

%find_lang %{name}

%post
%update_menus

%postun
%clean_menus

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README ReleaseNotes
#%config(noreplace) %{_sysconfdir}/silky
%{_bindir}/*
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%{_liconsdir}/%{name}.png
%{_iconsdir}/%{name}.png
%{_miconsdir}/%{name}.png


%changelog
* Sun May 27 2007 Funda Wang <fundawang@mandriva.org> 0.5.5-2mdv2008.0
+ Revision: 31736
- kill old menu
- BuildRequires intltool
- New tarball from svn
  dirty fix for MKINSTALLDIRS
- Rebuild for directfb 1.0


* Sun Dec 10 2006 Emmanuel Andry <eandry@mandriva.org> 0.5.5-1mdv2007.0
+ Revision: 94405
- New version 0.5.5
  xdg menu
  drop patch
- Import silky

* Thu May 26 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.5.2-2mdk
- Rebuild

* Sun Jan 02 2005 Abel Cheung <deaddog@mandrake.org> 0.5.2-1mdk
- First Mandrakelinux package
- P0: move config files to folder under /etc