forked from pool/quassel
Accepting request 290031 from KDE:Extra
- Version bump to 0.12-beta1: * Various fixes all around * Add support for KF5 so build with its integration - Reenable qca2 crypto - Enable snorenotify support OBS-URL: https://build.opensuse.org/request/show/290031 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/quassel?expand=0&rev=24
This commit is contained in:
commit
5985e6dd94
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:99a191b8bc2a410f7020b890ec57e0be49313f539da9f4843675bb108b0f4504
|
|
||||||
size 2875387
|
|
3
quassel-0.12-beta1.tar.bz2
Normal file
3
quassel-0.12-beta1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9bdedea4b334d7d9a4b79acde42ed80f16a077300346a310bd7d74873d7c8599
|
||||||
|
size 3626759
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 6 21:10:57 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version bump to 0.12-beta1:
|
||||||
|
* Various fixes all around
|
||||||
|
* Add support for KF5 so build with its integration
|
||||||
|
- Reenable qca2 crypto
|
||||||
|
- Enable snorenotify support
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 8 11:39:24 UTC 2015 - dimstar@opensuse.org
|
Thu Jan 8 11:39:24 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
42
quassel.spec
42
quassel.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package quassel
|
# spec file for package quassel
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,25 +16,34 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define realver 0.12-beta1
|
||||||
Name: quassel
|
Name: quassel
|
||||||
Version: 0.11.0
|
Version: 0.12~beta1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Modern, cross-platform, distributed IRC client
|
Summary: Modern, cross-platform, distributed IRC client
|
||||||
License: GPL-2.0 or GPL-3.0
|
License: GPL-2.0 or GPL-3.0
|
||||||
Group: Productivity/Networking/IRC
|
Group: Productivity/Networking/IRC
|
||||||
Url: http://%{name}-irc.org/
|
Url: http://quassel-irc.org/
|
||||||
Source: http://%{name}-irc.org/pub/%{name}-%{version}.tar.bz2
|
Source: http://%{name}-irc.org/pub/%{name}-%{realver}.tar.bz2
|
||||||
Source1: service.%{name}core
|
Source1: service.%{name}core
|
||||||
Source2: sysconfig.%{name}core
|
Source2: sysconfig.%{name}core
|
||||||
Source3: logrotate.%{name}core
|
Source3: logrotate.%{name}core
|
||||||
Source4: %{name}.SuSEfirewall2
|
Source4: %{name}.SuSEfirewall2
|
||||||
Source5: quassel-rpmlintrc
|
Source5: quassel-rpmlintrc
|
||||||
# Package/enable https://github.com/TheOneRing/Snorenotify
|
|
||||||
BuildRequires: cmake >= 2.8.10
|
BuildRequires: cmake >= 2.8.10
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: kconfigwidgets-devel
|
||||||
|
BuildRequires: kcoreaddons-devel
|
||||||
|
BuildRequires: kf5-filesystem
|
||||||
|
BuildRequires: knotifications-devel
|
||||||
|
BuildRequires: knotifyconfig-devel
|
||||||
|
BuildRequires: ktextwidgets-devel
|
||||||
|
BuildRequires: kxmlgui-devel
|
||||||
BuildRequires: phonon4qt5-devel
|
BuildRequires: phonon4qt5-devel
|
||||||
|
BuildRequires: snorenotify-qt5-devel
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: pkgconfig(Qt5CLucene)
|
BuildRequires: pkgconfig(Qt5CLucene)
|
||||||
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
||||||
@ -51,6 +60,7 @@ BuildRequires: pkgconfig(Qt5WebKit)
|
|||||||
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
BuildRequires: pkgconfig(Qt5WebKitWidgets)
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
BuildRequires: pkgconfig(Qt5Widgets)
|
||||||
BuildRequires: pkgconfig(dbusmenu-qt5)
|
BuildRequires: pkgconfig(dbusmenu-qt5)
|
||||||
|
BuildRequires: pkgconfig(qca2-qt5)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
@ -144,7 +154,7 @@ available.
|
|||||||
This contains common parts shared by %{name} and %{name}-client
|
This contains common parts shared by %{name} and %{name}-client
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}-%{realver}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
FAKE_BUILDDATE=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
FAKE_BUILDDATE=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
||||||
@ -152,19 +162,17 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/common/main.cpp src/common/quassel.
|
|||||||
FAKE_BUILDTIME=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
|
FAKE_BUILDTIME=$(LC_ALL=C date -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
|
||||||
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/common/main.cpp src/common/quassel.cpp
|
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/common/main.cpp src/common/quassel.cpp
|
||||||
|
|
||||||
%cmake \
|
%cmake_kf5 -d build -- -DUSE_QT5=ON -DWITH_WEBKIT=ON -DWITH_KDE=ON
|
||||||
-DUSE_QT5=ON \
|
|
||||||
-DWITH_WEBKIT=ON
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%kf5_makeinstall -C build
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}core
|
install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}core
|
||||||
install -d -m 755 %{buildroot}%{_sbindir}
|
install -d -m 755 %{buildroot}%{_sbindir}
|
||||||
mkdir -p %{buildroot}%{_unitdir}
|
mkdir -p %{buildroot}%{_unitdir}
|
||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/quasselcore.service
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/quasselcore.service
|
||||||
# Provide SUSE policy symlink /usr/sbin/rcFOO -> /etc/init.d/FOO
|
# Provide SUSE policy symlink /usr/sbin/rcFOO -> service
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcquasselcore
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcquasselcore
|
||||||
install -D -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.quasselcore
|
install -D -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.quasselcore
|
||||||
install -d -m 751 %{buildroot}%{_localstatedir}/log/%{name}
|
install -d -m 751 %{buildroot}%{_localstatedir}/log/%{name}
|
||||||
@ -203,6 +211,7 @@ install -D -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog README
|
%doc AUTHORS ChangeLog README
|
||||||
%{_datadir}/applications/%{name}client.desktop
|
%{_datadir}/applications/%{name}client.desktop
|
||||||
|
%{_datadir}/knotifications5/%{name}.notifyrc
|
||||||
%{_bindir}/%{name}client
|
%{_bindir}/%{name}client
|
||||||
|
|
||||||
%files core
|
%files core
|
||||||
@ -220,10 +229,15 @@ install -D -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.
|
|||||||
%files base
|
%files base
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/pixmaps/%{name}.png
|
%{_datadir}/pixmaps/%{name}.png
|
||||||
%dir %{_datadir}/apps
|
%dir %{_datadir}/%{name}
|
||||||
%dir %{_datadir}/apps/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_datadir}/apps/%{name}
|
|
||||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||||
%{_datadir}/icons/hicolor/*/status/%{name}-*.png
|
%{_datadir}/icons/hicolor/*/status/%{name}-*.png
|
||||||
|
%{_datadir}/icons/hicolor/*/status/irc-channel-joined.png
|
||||||
|
%{_datadir}/icons/hicolor/*/status/irc-channel-parted.png
|
||||||
|
%{_datadir}/icons/hicolor/*/actions/im-user-away.png
|
||||||
|
%{_datadir}/icons/hicolor/*/actions/im-user-offline.png
|
||||||
|
%{_datadir}/icons/hicolor/*/actions/im-user.png
|
||||||
|
%{_datadir}/icons/hicolor/scalable/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user