Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > 03e0f0c3db1baa90b37d8d37b221dda3 > files > 2

pcmanx-gtk2-1.1-1.mga2.src.rpm

%define version 1.1
%define release %mkrel 1

Summary:   	User-friendly telnet client designed for BBS browsing
Name:      	pcmanx-gtk2
Version:   	%{version}
Release:   	%{release}
License: 	GPLv2+
Group:    	Networking/Other
Source0:	http://pcmanx-gtk2.googlecode.com/files/%{name}-%{version}.tar.xz
Url:       	http://code.google.com/p/pcmanx-gtk2/
BuildRequires:	gtk2-devel desktop-file-utils
BuildRequires:	libx11-devel libxft-devel
BuildRequires:	freetype2-devel fontconfig-devel
BuildRequires:	intltool gettext-devel
BuildRequires:	imagemagick
Provides:	pcmanx = %{version}-%{release}
Obsoletes:	pcmanx-pure-gtk2

%description
An easy-to-use telnet client mainly targets BBS users.
PCMan X is a newly developed GPL'd version of PCMan, a full-featured famous BBS
client formerly designed for MS Windows only.
It aimed to be an easy-to-use yet full-featured telnet client facilitating BBS
browsing with the ability to process double-byte characters.

%prep
%setup -q -n %name-%version

%build
%configure2_5x --enable-static --disable-shared
%make

%install
rm -fr %buildroot
%makeinstall_std

desktop-file-install --vendor="" \
	--remove-category="Application" \
	--add-category="RemoteAccess" \
	--remove-key='Encoding' \
	--dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
	$RPM_BUILD_ROOT%{_datadir}/applications/*

rm -f %buildroot%_libdir/*
%find_lang pcmanx

%files -f pcmanx.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/pcmanx
%{_datadir}/pcmanx
%{_mandir}/man1/pcmanx.1*
%{_datadir}/pixmaps/pcmanx.svg
%{_datadir}/applications/*.desktop

%clean
rm -rf %{buildroot}




%changelog

* Mon Jan 30 2012 yochenhsieh <yochenhsieh> 1.1-1.mga2
+ Revision: 203221
- new version 1.1
- new version 1.1

* Fri Sep 16 2011 fwang <fwang> 1.0-1.mga2
+ Revision: 144168
- update file list
- new version 1.0

* Fri Apr 08 2011 ennael <ennael> 0.3.9-2.mga1
+ Revision: 82276
- clean spec file
- imported package pcmanx-gtk2