Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
de742e46
Commit
de742e46
authored
10 years ago
by
Simon Piette
Committed by
Tristan Matthews
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
rpm: build kde with video
Refs #51879 Change-Id: Ic53bebb360864a785f79f50679146affc1889d03
parent
f1bdf28c
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/build-system/rpm/sflphone.spec
+10
-14
10 additions, 14 deletions
tools/build-system/rpm/sflphone.spec
with
10 additions
and
14 deletions
tools/build-system/rpm/sflphone.spec
+
10
−
14
View file @
de742e46
...
...
@@ -24,9 +24,7 @@ BuildRequires: libnotify-devel check-devel rarian-compat ilbc-devel
BuildRequires: evolution-data-server-devel gnome-common libsndfile-devel
# KDE requires
BuildRequires: cmake kdepimlibs-devel
%if 0%{?fedora} > 18
BuildRequires: perl-podlators
%endif
%if %{with video} && 0%{?fedora} < 18
BuildRequires: libudev-devel
%endif
...
...
@@ -66,14 +64,12 @@ pushd plugins
make %{?_smp_mflags}
popd
# Compile kde client (only without video)
%if ! %{with video}
pushd kde
sed -i '/^[^#]add_subdirectory.*test/s/^[^#]/#/' src/CMakeLists.txt
./config.sh --prefix=%{_prefix}
cd build
make %{?_smp_mflags}
popd
%endif
# Compile gnome client
pushd gnome
./autogen.sh
...
...
@@ -139,19 +135,19 @@ protocols.
This package includes the Gnome client
%endif
%package kde
%package kde
-video
Summary: KDE interface for SFLphone
Group: Applications/Internet
Requires: %{name}-common
%description kde
%description kde
-video
SFLphone is a robust standards-compliant enterprise software phone,
for desktop and embedded systems. It is designed to handle
several hundreds of calls a day. It supports both SIP and IAX2
protocols.
This package includes the KDE client
%endif
%package plugins
Summary: Plugins (address book) for SFLphone
...
...
@@ -165,7 +161,6 @@ protocols.
This package includes the address book plugin.
%install
rm -rf %{buildroot}
pushd daemon
...
...
@@ -183,14 +178,12 @@ popd
%find_lang sflphone --with-gnome
# Handling desktop file
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%if ! %{with video}
# KDE install
pushd kde/build
make install DESTDIR=$RPM_BUILD_ROOT
popd
%find_lang sflphone-client-kde --with-kde -f sflphone-client-kde
%find_lang sflphone-kde --with-kde -f sflphone-kde
%endif
%if %{with video}
%pre gnome-video
...
...
@@ -220,6 +213,9 @@ if [ "$1" -eq 0 ] ; then
fi
%endif
%post kde-video -p /usr/sbin/ldconfig
%postun kde-video -p /usr/sbin/ldconfig
%if %{with video}
%files common-video
%else
...
...
@@ -251,22 +247,22 @@ fi
%files plugins
%{_libdir}/sflphone/plugins/libevladdrbook.so
%if ! %{with video}
%files kde -f sflphone-kde -f sflphone-client-kde
%files kde-video -f sflphone-kde -f sflphone-client-kde
%{_bindir}/sflphone-client-kde
%{_datadir}/kde4/apps/sflphone-client-kde
%{_datadir}/config.kcfg/sflphone-client-kde.kcfg
%{_datadir}/applications/kde4
#%doc %{_datadir}/doc/HTML/*/sflphone-client-kde
%doc %{_mandir}/man1/*kde*
%{_datadir}/icons/hicolor
%{_libdir}/libksflphone.so*
%{_libdir}/libqtsflphone.so*
%exclude %{_includedir}/kde4/ksflphone/*.h
%exclude %{_includedir}/qtsflphone/*.h
%endif
%changelog
* Wed Jul 23 2014 Simon Piette <simon.piette@savoirfairelinux.com> - 1.4.1-2
- Always build kde package
* Tue Jul 15 2014 Tristan Matthews <tristan.matthews@savoirfairelinux.com> - 1.4.1-1
- Start development of 1.4.1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment