rpms/qwit/F-12 qwit.spec,NONE,1.1 sources,1.1,1.2

supercyper supercyper at fedoraproject.org
Fri Jul 2 06:12:38 UTC 2010


Author: supercyper

Update of /cvs/pkgs/rpms/qwit/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29597/F-12

Modified Files:
	sources 
Added Files:
	qwit.spec 
Log Message:



--- NEW FILE qwit.spec ---
Name:		qwit
Version:	1.1
Release:	0.2.beta%{?dist}
Summary:	Lightweight desktop client for Twitter microblogging service
Source0:	http://qwit.googlecode.com/files/%{name}-%{version}-beta-src.tar.bz2
URL:		http://code.google.com/p/%{name}/
Group:		Applications/Internet
License:	GPLv3+
BuildRequires:	qoauth-devel desktop-file-utils
Requires:	hicolor-icon-theme
%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}

%description
Qwit is a Qt4-based lightweight cross-platform client for Twitter. 

Some of its main features are: 
    * depends on Qt4 only;
    * KDE native look;
    * http-proxy support;
    * userpics caching;
    * clickable links in messages;
    * public, replies, custom user timelines, search;
    * caching messages between sessions;
    * replies, retweets and direct messages support;
    * customizable interface;
    * twitpic support;
    * customizable automatic update of all tabs;
    * url shorteners support;
    * multiple accounts support;
    * identi.ca, aitu.kz and other twitter-compatible services support;
    * OAuth support. 

%prep
%setup -q -n %{name}-%{version}-beta-src

%build
export PATH=%{_qt4_bindir}:$PATH
%{_qt4_qmake} PREFIX=%{_prefix}
make %{?_smp_mflags}

%install
make install INSTALL="install -p" INSTALL_ROOT=%{buildroot}

desktop-file-install \
--add-category="InstantMessaging" \
--remove-category="Internet" \
--delete-original  \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop

# fix wrong icon path
install -d %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
mv %{buildroot}%{_datadir}/icons/%{name}.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps

%clean
rm -rf %{buildroot}

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi

%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/*


%changelog
* Sun Jun 27 2010 Chen Lei <supercyper at 163.com> - 1.1-0.2.beta
- fix icon path
- drop Qt4 in summary

* Tue May 25 2010 Chen Lei <supercyper at 163.com> - 1.1-0.1.beta
- initial rpm build


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qwit/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	2 Jul 2010 04:50:41 -0000	1.1
+++ sources	2 Jul 2010 06:12:37 -0000	1.2
@@ -0,0 +1 @@
+b5d2985152413eaef6913a6e3fab8bc7  qwit-1.1-beta-src.tar.bz2



More information about the scm-commits mailing list