rpms/pcmanx-gtk2/FC-6 pcmanx-gtk2.spec, NONE, 1.1 pcmanx.desktop, NONE, 1.1 sources, 1.1, 1.2
Shidai Liu (leo)
fedora-extras-commits at redhat.com
Mon Apr 16 18:29:04 UTC 2007
Author: leo
Update of /cvs/extras/rpms/pcmanx-gtk2/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22825
Modified Files:
sources
Added Files:
pcmanx-gtk2.spec pcmanx.desktop
Log Message:
Initial import
--- NEW FILE pcmanx-gtk2.spec ---
# Source package is generated using:
# 1. svn co https://svn.csie.net/pcmanx/trunk pcmanx-gtk2
# 2. tar czvf pcmanx-gtk2.tar.gz pcmanx-gtk2
%define alphatag 336svn
Summary: Telnet client designed for BBS browsing
Name: pcmanx-gtk2
Version: 0.3.5
Release: 9.%{alphatag}%{?dist}
License: GPL
Group: Applications/Internet
Source0: http://pcmanx.csie.net/release/pcmanx-gtk2.tar.gz
Source1: pcmanx.desktop
URL: http://pcmanx.csie.net
BuildRequires: gtk2-devel desktop-file-utils gettext libnotify-devel
# required for generating configure script
BuildRequires: gettext-devel libtool intltool
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%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}
########################################################################
# automake 1.10 fails without config.rpath.
# Check the following code and see if it can be removed.
for f in `ls -d %{_datadir}/automake-1.* | sort -g -k 2 -t .` ; do
automakever=`echo $f | sed -e 's|%{_datadir}/automake-||'`
done
eval %{__sed} -i.orig -e \'s\|-1\\\.9\|-$automakever\|\' autogen.sh
%{__sed} -i -e 's|set -x|set -e -x|' autogen.sh
touch config.rpath
########################################################################
./autogen.sh
#autoreconf -fi
%build
%configure --enable-libnotify
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL="install -c -p" DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category Network %{SOURCE1}
# remove the original one
rm -f $RPM_BUILD_ROOT/%{_datadir}/applications/pcmanx.desktop
%find_lang pcmanx
#remove .la .so files
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
rm $RPM_BUILD_ROOT/%{_libdir}/*.so
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f pcmanx.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS TODO
%dir %{_datadir}/pcmanx
%{_bindir}/*
%{_libdir}/libpcmanx*
%{_datadir}/applications/*
%{_datadir}/pcmanx/*
%{_datadir}/pixmaps/*.png
%changelog
* Sat Apr 14 2007 Leo, Shidai Liu <sdl.web at gmail.com> 0.3.5-9.336svn
- remove README. Its content is not useful for end users
* Sat Apr 14 2007 Leo, Shidai Liu <sdl.web at gmail.com> 0.3.5-8.336svn
- fix build in rawhide (automake 1.10)
- use svn revision number instead of checkout date
* Fri Apr 6 2007 Leo, Shidai Liu <sdl.web at gmail.com> 0.3.5-7.20070406svn
- fix svn build
- svn 20070406
* Fri Mar 30 2007 Leo, Shidai Liu <sdl.web at gmail.com> 0.3.5-6.20070330svn
- svn 20070330
- enable libnotify support
* Sat Jan 13 2007 Shidai Liu, Leo <sdl.web at gmail.com> 0.3.5-5
- Remove X-Fedora category in desktop file
* Sat Jan 13 2007 Shidai Liu, Leo <sdl.web at gmail.com> 0.3.5-4
- Add gettext to BuildRequires
- remove deprecated categories in desktop file
* Fri Jan 12 2007 Shidai Liu, Leo <sdl.web at gmail.com> 0.3.5-3
- fix debuginfo rpm issues
- fix desktop file issues
- remove unnecessary update-desktop-database scriptlets (no Mimetypes entry in desktop file)
* Fri Jan 12 2007 Shidai Liu, Leo <sdl.web at gmail.com> 0.3.5-2
- Move desktop-file-utils to BuildRequires
* Wed Jan 10 2007 Shidai Liu, Leo <sdl.web at gmail.com> 0.3.5-1
- Initial build
--- NEW FILE pcmanx.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=PCManX
Exec=pcmanx
Icon=pcmanx
Type=Application
Terminal=false
GenericName=PCMan X BBS Client
GenericName[zh_TW]=PCMan X BBS é£ç·è»é«
GenericName[zh_CN]=PCMan X BBS è¿çº¿è½¯ä»¶
Comment=PCMan X BBS Client
Comment[zh_TW]=PCMan X BBS é£ç·è»é«
Comment[zh_CN]=PCMan X BBS è¿çº¿è½¯ä»¶
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/pcmanx-gtk2/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 16 Apr 2007 15:43:21 -0000 1.1
+++ sources 16 Apr 2007 18:28:30 -0000 1.2
@@ -0,0 +1 @@
+4be1a6f2ec82064128ee4c0addf4faed pcmanx-gtk2.tar.gz
More information about the scm-commits
mailing list