New upstream release
This commit is contained in:
parent
c9a0eb707a
commit
a266e0629a
109
quassel.spec
109
quassel.spec
|
@ -1,22 +1,24 @@
|
||||||
Name: quassel
|
Name: quassel
|
||||||
Summary: A modern distrubuted IRC system
|
Summary: A modern distrubuted IRC system
|
||||||
Version: 0.5.2
|
Version: 0.6.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: GPLv2 or GPLv3
|
License: GPLv2 or GPLv3
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
URL: http://quassel-irc.org/
|
URL: http://quassel-irc.org/
|
||||||
Source0: http://quassel-irc.org/system/files/quassel-%{version}.tar.bz2
|
Source0: http://quassel-irc.org/pub/quassel-%{version}.tar.bz2
|
||||||
Source1: %{name}.desktop
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
Source2: %{name}core.desktop
|
|
||||||
Source3: %{name}client.desktop
|
|
||||||
Source4: %{name}.png
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
||||||
|
|
||||||
Requires: qt-sqlite, openssl
|
Buildrequires: cmake
|
||||||
BuildRequires: qt-devel, openssl-devel, kdebase-workspace-devel
|
|
||||||
BuildRequires: cmake, kde-filesystem
|
|
||||||
BuildRequires: desktop-file-utils
|
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}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Quassel IRC is a modern, distributed IRC client,
|
Quassel IRC is a modern, distributed IRC client,
|
||||||
|
@ -25,6 +27,20 @@ to and detach from a central core --
|
||||||
much like the popular combination of screen and a
|
much like the popular combination of screen and a
|
||||||
text-based IRC client such as WeeChat, but graphical
|
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}.
|
||||||
|
|
||||||
%package core
|
%package core
|
||||||
Summary: Quassel core component
|
Summary: Quassel core component
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
|
@ -35,79 +51,76 @@ server, and allows for multiple clients to connect
|
||||||
%package client
|
%package client
|
||||||
Summary: Quassel client
|
Summary: Quassel client
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
|
Provides: %{name}-gui = %{version}-%{release}
|
||||||
|
Requires: %{name}-common = %{version}-%{release}
|
||||||
%description client
|
%description client
|
||||||
Quassel client
|
Quassel client
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
pushd build
|
||||||
%{cmake_kde4} .. -DWANT_MONO=1 -DWITH_KDE=1
|
%{cmake_kde4} .. -DWANT_MONO=1 -DWITH_KDE=1
|
||||||
make
|
popd
|
||||||
|
|
||||||
|
make %{?_smp_mflags} -C build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
make install/fast DESTDIR=${RPM_BUILD_ROOT} -C build
|
||||||
|
|
||||||
cd build
|
# unpackaged files
|
||||||
make install DESTDIR=${RPM_BUILD_ROOT}
|
rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/quassel.png
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post common
|
||||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
|
||||||
|
|
||||||
%postun
|
%postun common
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null
|
touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans common
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
|
||||||
|
|
||||||
%post client
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
||||||
|
|
||||||
%postun client
|
|
||||||
if [ $1 -eq 0 ] ; then
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%posttrans client
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%attr(755,root,root) %{_bindir}/quassel
|
%{_kde4_bindir}/quassel
|
||||||
%doc COPYING gpl-2.0.txt gpl-3.0.txt README
|
|
||||||
%{_kde4_appsdir}/quassel/
|
|
||||||
/usr/share/icons/hicolor/48x48/apps/quassel.png
|
|
||||||
# pixmaps dir is deprecated, not needed anymore -- Rex
|
|
||||||
/usr/share/pixmaps/quassel.png
|
|
||||||
%{_kde4_datadir}/applications/kde4/quassel.desktop
|
%{_kde4_datadir}/applications/kde4/quassel.desktop
|
||||||
|
|
||||||
|
%files common
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING README
|
||||||
|
%doc gpl-2.0.txt gpl-3.0.txt
|
||||||
|
%{_kde4_appsdir}/quassel/
|
||||||
|
%{_kde4_iconsdir}/hicolor/*/*/*
|
||||||
|
|
||||||
%files core
|
%files core
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%attr(755,root,root) %{_bindir}/quasselcore
|
%doc COPYING README
|
||||||
%doc COPYING gpl-2.0.txt gpl-3.0.txt README
|
%doc gpl-2.0.txt gpl-3.0.txt
|
||||||
|
%{_kde4_bindir}/quasselcore
|
||||||
|
|
||||||
%files client
|
%files client
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%attr(755,root,root) %{_bindir}/quasselclient
|
%{_kde4_bindir}/quasselclient
|
||||||
%doc COPYING gpl-2.0.txt gpl-3.0.txt README
|
|
||||||
%{_kde4_appsdir}/quassel/
|
|
||||||
/usr/share/icons/hicolor/48x48/apps/quassel.png
|
|
||||||
/usr/share/pixmaps/quassel.png
|
|
||||||
%{_kde4_datadir}/applications/kde4/quasselclient.desktop
|
%{_kde4_datadir}/applications/kde4/quasselclient.desktop
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
||||||
|
|
||||||
* Mon Feb 15 2010 Steven Parrish <smparrish@gmail.com> - 0.5.2-1
|
* Mon Feb 15 2010 Steven Parrish <smparrish@gmail.com> - 0.5.2-1
|
||||||
- New bugfix release
|
- New bugfix release
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue