Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
8d86bd54
Commit
8d86bd54
authored
7 years ago
by
Ghislain MARY
Browse files
Options
Download
Patches
Plain Diff
Fix RPM packaging.
parent
2baaa1ae
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/rpm/liblinphone.spec.cmake
+12
-8
build/rpm/liblinphone.spec.cmake
with
12 additions
and
8 deletions
build/rpm/liblinphone.spec.cmake
+
12
−
8
View file @
8d86bd54
...
...
@@ -8,6 +8,8 @@
%define pkg_name %{?_with_bc:bc-liblinphone}%{!?_with_bc:liblinphone}
%{?_with_bc: %define _prefix /opt/belledonne-communications}
%define pkg_prefix %{?_with_bc:bc-}%{!?_with_bc:}
# re-define some directories for older RPMBuild versions which don't. This messes up the doc/ dir
# taken from https://fedoraproject.org/wiki/Packaging:RPMMacros?rd=Packaging/RPMMacros
%define _datarootdir %{_prefix}/share
...
...
@@ -31,6 +33,13 @@ License: GPL
URL: http://www.linphone.org
Source0: %{name}-%{version}%{?build_number_ext}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: %{pkg_prefix}bctoolbox
Requires: %{pkg_prefix}ortp
Requires: %{pkg_prefix}mediastreamer
Requires: %{pkg_prefix}belle-sip
Requires: %{pkg_prefix}belr
%description
liblinphone is the voip sdk used by Linphone
...
...
@@ -77,25 +86,20 @@ rm -rf $RPM_BUILD_ROOT
%files
%
defattr
(
-,root,root
)
%doc AUTHORS ChangeLog COPYING NEWS README.md TODO
%{_bindir}/linphonec
%{_bindir}/linphonecsh
%{_bindir}/lp-auto-answer
%{_bindir}/lp-test-ecc
%{_libdir}/*.so.*
#%{_mandir}/*
%{_datadir}/linphone
%{_datadir}/sounds/linphone
%{_datadir}/Linphone/rootca.pem
%files devel
%
defattr
(
-,root,root
)
%{_bindir}/*
%{_includedir}/linphone
%{_includedir}/linphone++
%{_libdir}/*.a
%{_libdir}/*.so
#
%{_docdir}
%{_docdir}
%{_datadir}/Linphone/cmake/*.cmake
%{_datadir}/
libl
inphone
_tester
%{_datadir}/
L
inphone
Cxx/cmake/*.cmake
%changelog
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets