quassel/quassel.spec

177 lines
4.9 KiB
RPMSpec
Raw Normal View History

2008-07-02 18:42:19 +00:00
Name: quassel
2009-09-04 12:43:29 +00:00
Summary: A modern distrubuted IRC system
Version: 0.6.1
2010-02-16 11:47:18 +00:00
Release: 1%{?dist}
2008-07-02 18:42:19 +00:00
License: GPLv2 or GPLv3
Group: Applications/Internet
URL: http://quassel-irc.org/
Source0: http://quassel-irc.org/pub/quassel-%{version}.tar.bz2
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Buildrequires: cmake
2008-07-02 18:42:19 +00:00
BuildRequires: desktop-file-utils
buildRequires: kdebase-workspace-devel
BuildRequires: kde-filesystem
BuildRequires: openssl-devel
BuildRequires: qt4-devel
Provides: %{name}-gui = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release}
2008-07-02 18:42:19 +00:00
%description
Quassel IRC is a modern, distributed IRC client,
meaning that one (or multiple) client(s) can attach
to and detach from a central core --
much like the popular combination of screen and a
text-based IRC client such as WeeChat, but graphical
%package common
Summary: Quassel common/shared files
Group: Applications/Internet
# not strictly required, but helps this get pulled out when
# someone removes %%name or %%name-client
Requires: %{name}-gui = %{version}-%{release}
# put here for convenience, instead of all subpkgs which
# provide %%{name}-gui
%{?_kde4_version:Requires: kdelibs4 >= %{_kde4_version}}
%{?_qt4_version:Requires: qt4 >= %{_qt4_version}}
BuildArch: noarch
%description common
%{summary}.
2008-07-02 18:42:19 +00:00
%package core
Summary: Quassel core component
Group: Applications/Internet
%description core
The Quassel IRC Core maintains a connection with the
server, and allows for multiple clients to connect
%package client
Summary: Quassel client
Group: Applications/Internet
Provides: %{name}-gui = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release}
2008-07-02 18:42:19 +00:00
%description client
Quassel client
2008-07-02 18:42:19 +00:00
%prep
2010-02-16 11:47:18 +00:00
%setup -q -n %{name}-%{version}
2008-07-02 18:42:19 +00:00
%build
2008-07-05 21:40:32 +00:00
mkdir build
pushd build
2009-04-14 23:40:24 +00:00
%{cmake_kde4} .. -DWANT_MONO=1 -DWITH_KDE=1
popd
make %{?_smp_mflags} -C build
2008-07-02 18:42:19 +00:00
%install
2009-04-14 23:40:24 +00:00
rm -rf $RPM_BUILD_ROOT
2008-07-02 18:42:19 +00:00
make install/fast DESTDIR=${RPM_BUILD_ROOT} -C build
2009-04-14 23:40:24 +00:00
# unpackaged files
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/quassel.png
2008-07-02 18:42:19 +00:00
%clean
2009-04-14 23:40:24 +00:00
rm -rf $RPM_BUILD_ROOT
2008-07-02 18:42:19 +00:00
%post common
2010-05-02 16:16:08 +00:00
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
2009-04-14 23:40:24 +00:00
%postun common
if [ $1 -eq 0 ] ; then
2010-05-02 16:16:08 +00:00
touch --no-create %{_kd4_iconsdir}/hicolor &> /dev/null
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
fi
%posttrans common
2010-05-02 16:16:08 +00:00
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
2009-04-14 23:40:24 +00:00
%files
2008-07-02 18:42:19 +00:00
%defattr(-,root,root,-)
%{_kde4_bindir}/quassel
2009-04-14 23:40:24 +00:00
%{_kde4_datadir}/applications/kde4/quassel.desktop
2008-07-02 18:42:19 +00:00
%files common
%defattr(-,root,root,-)
%doc COPYING README
%doc gpl-2.0.txt gpl-3.0.txt
%{_kde4_appsdir}/quassel/
%{_kde4_iconsdir}/hicolor/*/*/*
2008-07-02 18:42:19 +00:00
%files core
%defattr(-,root,root,-)
%doc COPYING README
%doc gpl-2.0.txt gpl-3.0.txt
%{_kde4_bindir}/quasselcore
2008-07-02 18:42:19 +00:00
2009-04-14 23:40:24 +00:00
%files client
2008-07-02 18:42:19 +00:00
%defattr(-,root,root,-)
%{_kde4_bindir}/quasselclient
2009-04-14 23:40:24 +00:00
%{_kde4_datadir}/applications/kde4/quasselclient.desktop
2008-07-02 18:42:19 +00:00
2008-07-02 18:42:19 +00:00
%changelog
* Sat May 01 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.6.1-1
- quassel-0.6.1
- -common subpkg
- add minimal qt4/kdelibs4 deps
2010-02-16 11:47:18 +00:00
* Mon Feb 15 2010 Steven Parrish <smparrish@gmail.com> - 0.5.2-1
- New bugfix release
* Wed Nov 25 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.5.0-2
- Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI)
2009-10-25 15:41:58 +00:00
* Fri Oct 23 2009 Steven M. Parrish <smparrish@gmail.com> - 0.5.0-1
- Official 0.5.0 release
2009-09-04 12:43:29 +00:00
* Thu Sep 03 2009 Steven M. Parrish <smparrish@gmail.com> - 0.5-0.1.rc1
- New release candidate
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Jun 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.4.1-2
- cleanup dir ownership
- optimize scriptlets
2009-04-25 19:35:46 +00:00
* Fri Apr 24 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.4.1-1
- New upstream release
2009-04-14 23:40:24 +00:00
2009-04-25 19:35:46 +00:00
* Tue Apr 13 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.4.0-2
- Enabled KDE integration
2009-02-20 20:20:51 +00:00
* Fri Feb 20 2009 Steven M. Parirsh <tuxbrewr@fedoraproject.org> 0.4.0-1
- New upstream release
2008-12-29 15:40:46 +00:00
* Mon Dec 29 2008 Steven M. Parrish <tuxbrewr@fedoraproject.org> 0.3.1-2
- Fix bug #477850
2008-11-28 14:06:09 +00:00
* Fri Nov 28 2008 Steven M. Parrish <smparrish@shallowcreek.net> 0.3.1-1
- New upstream release
2008-11-12 20:14:38 +00:00
* Wed Nov 12 2008 Steven M. Parrish <smparrish@shallowcreek.net> 0.3.0.3-1
- New upstream release fixes a security issue with CTCP handling in
- Quassel Core, that could potentially be exploited to send
- arbitrary IRC commands on your behalf.
* Tue Sep 16 2008 Steven M. Parrish <smparrish@shallowcreek.net> 0.3.0.1-1
2008-09-16 14:55:23 +00:00
- New upstream release
2008-07-05 21:40:32 +00:00
* Fri Jul 04 2008 Steven Parrish <smparrish@shallowcreek.net> 0.1.rc1
- New upstream release. Now uses cmake instead of qmake
2008-07-02 18:42:19 +00:00
* Wed Jul 02 2008 Steven Parrish <smparrish@shallowcreek.net> - 0.3.beta1
- Final spec for initial release to F9 and rawhide
* Tue Jun 24 2008 Steven Parrish <smparrish[at]shallowcreek.net>
- Revised spec file based on comments from package reviewer.
* Mon Jun 23 2008 Steven Parrish <smparrish[at]shallowcreek.net>
- initial RPM