Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 29f2e21d992e111488a9f636c1295600 > files > 3

lostirc-0.4.6-10.fc15.src.rpm

Name:           lostirc
Version:        0.4.6
Release:        10%{?dist}
Summary:        Simple IRC client for X11

Group:          Applications/Internet
License:        GPLv2+
URL:            http://lostirc.sourceforge.net
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0:         lostirc-0.4.6-FTBFS.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gtkmm24-devel, gettext, desktop-file-utils


%description
Lostirc is a simple, yet very useful IRC-client. It has features such as 
tab-autocompletion, multiple server support, automatic joining of 
servers/channels and DCC sending which should cover the needs of most 
people. The client is 100% keyboard-controllable, and uses the gtkmm GUI 
library

%prep
%setup -q
%patch0 -p1 -b .ftbfs
sed -i 's|Icon=%{name}.png|Icon=%{name}|g' %{name}.desktop


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

desktop-file-install --vendor="" --delete-original \
  --remove-category="Application" --add-category="GTK;IRCClient;" \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications        \
  $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop


%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README
%{_bindir}/%{name}
%{_datadir}/pixmaps/*.png
%{_datadir}/applications/*.desktop
%{_mandir}/man1/*


%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Fri Jan 22 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.6-9
- Fix desktop file (#487830)

* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Mon Sep  8 2008 Christoph Wickert <fedora@christoph-wickert.de> - 0.4.6-6
- Fix FTBFS bug (#440921)

* Thu Aug  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.6-5
- fix license tag

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.6-4
- Autorebuild for GCC 4.3

* Mon Sep 24 2007 Jesse Keating <jkeating@redhat.com> - 0.4.6-3
- Bump release for upgrade path

* Thu May 31 2007 Damien Durand <splinux@fedoraproject.org> - 0.4.6-2
- Fixed source0 url

* Thu Apr 03 2007 Damien Durand <splinux@fedoraproject.org> - 0.4.6-1
- Initial RPM release