Accepting request 750676 from multimedia:libs
Remove conflict between current libdbus-c++-devel and libdbus-c++-glib-devel. OBS-URL: https://build.opensuse.org/request/show/750676 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdbus-c++?expand=0&rev=14
This commit is contained in:
commit
75f93f232d
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
||||
<multibuild>
|
||||
<package>glib</package>
|
||||
<package>docs</package>
|
||||
</multibuild>
|
@ -1,2 +1 @@
|
||||
libdbus-c++-1-1
|
||||
libdbus-c++-glib-1-1
|
||||
|
104
libdbus-c++-api-docs.changes
Normal file
104
libdbus-c++-api-docs.changes
Normal file
@ -0,0 +1,104 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 07:34:29 UTC 2019 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Remove conflict between current libdbus-c++-devel and
|
||||
libdbus-c++-glib-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 22 00:37:29 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Drop -Werror=date-time, it is not supported by older GCCs, and
|
||||
newer ones support SOURCE_DATE_EPOCH
|
||||
- Conflict older devel packages, to avoid file conflicts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 00:54:46 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Split package into base, glib and docs package using _multibuild.
|
||||
The glib flavor depends on gtkmm, but the base package is
|
||||
sufficient for building most of the distribution, most notably
|
||||
ffado/jack and its dependees.
|
||||
- Drop libdbus-c++-nodocdatetime.patch, doxygen honors SOURCE_DATE_EPOCH
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 10 14:00:47 UTC 2017 - davejplater@gmail.com
|
||||
|
||||
- Update libdbus-c++-nodocdatetime.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 15:23:02 UTC 2017 - davejplater@gmail.com
|
||||
|
||||
- Update to git snapshot 0.9.1+git20170322 to fix ffado gcc7 build.
|
||||
- Added libdbus-c++-gcc7.patch.
|
||||
- Added libdbus-c++-sover.patch.
|
||||
- Removed patch libdbus-c++-gcc47.patch.
|
||||
- Upstream changes:
|
||||
Fixed undefined ssize_t for clang-3.8.0 on FreeBSD
|
||||
Fix copying containers
|
||||
link to expat on linux
|
||||
configure.ac: declare this version 0.9.1pw
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 16 18:04:30 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Update groups, summaries, descriptions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 18:52:44 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Use the standardized patch tag line as described at
|
||||
https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 13:12:38 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Stop exporting CFLAGS and CXXFLAGS, no longer needed due to
|
||||
changes in libsigc++.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:52:06 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Use url for source
|
||||
- Remove conditions for unsupported releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 20 21:00:19 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
- Export CFLAGS="%{optflags} -std=gnu++11" and
|
||||
CXXFLAGS="%{optflags} -std=gnu++11". Fix build with updated MM
|
||||
stack.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 10:03:24 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Add libdbus-c++-glibmm-2.43.patch: Fix build with glibmm 2.4,
|
||||
which has the bind_property macro defined already.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 23 14:03:27 UTC 2013 - coolo@suse.com
|
||||
|
||||
- pthread is needed for the test app - not just on i586
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 20 07:33:35 UTC 2012 - davejplater@gmail.com
|
||||
|
||||
- Created libdbus-c++-gcc47.patch to fix a gcc 47 build error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 12 08:42:55 UTC 2012 - davejplater@gmail.com
|
||||
|
||||
- Added baselibs.conf for 32 bit compat libs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 11 11:53:09 UTC 2012 - davejplater@gmail.com
|
||||
|
||||
- Added libdbus-c++-noreturn.patch to fix rpmlint error, will be
|
||||
reported upstream as the comment in the source file suggests that
|
||||
the developer hasn't decided what to do about it yet.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 25 08:20:55 UTC 2012 - davejplater@gmail.com
|
||||
|
||||
- Created package dbus-c++ for ffado svn build.
|
||||
- See bnc#747391 & bnc#736115
|
||||
|
104
libdbus-c++-glib.changes
Normal file
104
libdbus-c++-glib.changes
Normal file
@ -0,0 +1,104 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 07:34:29 UTC 2019 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Remove conflict between current libdbus-c++-devel and
|
||||
libdbus-c++-glib-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 22 00:37:29 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Drop -Werror=date-time, it is not supported by older GCCs, and
|
||||
newer ones support SOURCE_DATE_EPOCH
|
||||
- Conflict older devel packages, to avoid file conflicts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 00:54:46 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Split package into base, glib and docs package using _multibuild.
|
||||
The glib flavor depends on gtkmm, but the base package is
|
||||
sufficient for building most of the distribution, most notably
|
||||
ffado/jack and its dependees.
|
||||
- Drop libdbus-c++-nodocdatetime.patch, doxygen honors SOURCE_DATE_EPOCH
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 10 14:00:47 UTC 2017 - davejplater@gmail.com
|
||||
|
||||
- Update libdbus-c++-nodocdatetime.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 27 15:23:02 UTC 2017 - davejplater@gmail.com
|
||||
|
||||
- Update to git snapshot 0.9.1+git20170322 to fix ffado gcc7 build.
|
||||
- Added libdbus-c++-gcc7.patch.
|
||||
- Added libdbus-c++-sover.patch.
|
||||
- Removed patch libdbus-c++-gcc47.patch.
|
||||
- Upstream changes:
|
||||
Fixed undefined ssize_t for clang-3.8.0 on FreeBSD
|
||||
Fix copying containers
|
||||
link to expat on linux
|
||||
configure.ac: declare this version 0.9.1pw
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 16 18:04:30 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Update groups, summaries, descriptions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 18:52:44 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Use the standardized patch tag line as described at
|
||||
https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 13:12:38 UTC 2016 - zaitor@opensuse.org
|
||||
|
||||
- Stop exporting CFLAGS and CXXFLAGS, no longer needed due to
|
||||
changes in libsigc++.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 19:52:06 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Use url for source
|
||||
- Remove conditions for unsupported releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 20 21:00:19 UTC 2015 - zaitor@opensuse.org
|
||||
|
||||
- Export CFLAGS="%{optflags} -std=gnu++11" and
|
||||
CXXFLAGS="%{optflags} -std=gnu++11". Fix build with updated MM
|
||||
stack.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 10:03:24 UTC 2015 - dimstar@opensuse.org
|
||||
|
||||
- Add libdbus-c++-glibmm-2.43.patch: Fix build with glibmm 2.4,
|
||||
which has the bind_property macro defined already.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 23 14:03:27 UTC 2013 - coolo@suse.com
|
||||
|
||||
- pthread is needed for the test app - not just on i586
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 20 07:33:35 UTC 2012 - davejplater@gmail.com
|
||||
|
||||
- Created libdbus-c++-gcc47.patch to fix a gcc 47 build error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 12 08:42:55 UTC 2012 - davejplater@gmail.com
|
||||
|
||||
- Added baselibs.conf for 32 bit compat libs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 11 11:53:09 UTC 2012 - davejplater@gmail.com
|
||||
|
||||
- Added libdbus-c++-noreturn.patch to fix rpmlint error, will be
|
||||
reported upstream as the comment in the source file suggests that
|
||||
the developer hasn't decided what to do about it yet.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 25 08:20:55 UTC 2012 - davejplater@gmail.com
|
||||
|
||||
- Created package dbus-c++ for ffado svn build.
|
||||
- See bnc#747391 & bnc#736115
|
||||
|
@ -1,25 +0,0 @@
|
||||
Index: doc/foot.html
|
||||
===================================================================
|
||||
--- doc/foot.html.orig 2016-09-24 11:03:56.000000000 +0200
|
||||
+++ doc/foot.html 2017-04-10 15:51:55.951931300 +0200
|
||||
@@ -10,7 +10,6 @@
|
||||
<table><tr>
|
||||
<td></td>
|
||||
<td class="copyright">Copyright ©$year DBus-C++ Project</td>
|
||||
- <td class="generated">Docs generated $datetime</td>
|
||||
</tr></table>
|
||||
</div>
|
||||
|
||||
Index: doc/Doxyfile.in
|
||||
===================================================================
|
||||
--- doc/Doxyfile.in.orig 2016-09-24 11:03:56.000000000 +0200
|
||||
+++ doc/Doxyfile.in 2017-04-10 15:54:18.748279756 +0200
|
||||
@@ -836,7 +836,7 @@ HTML_STYLESHEET = @srcdir@/dbus-c
|
||||
# page will contain the date and time when the page was generated. Setting
|
||||
# this to NO can help when comparing the output of multiple runs.
|
||||
|
||||
-HTML_TIMESTAMP = YES
|
||||
+HTML_TIMESTAMP = NO
|
||||
|
||||
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
|
||||
# files or namespaces will be aligned in HTML using tables. If set to
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 07:34:29 UTC 2019 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Remove conflict between current libdbus-c++-devel and
|
||||
libdbus-c++-glib-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 22 00:37:29 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Drop -Werror=date-time, it is not supported by older GCCs, and
|
||||
newer ones support SOURCE_DATE_EPOCH
|
||||
- Conflict older devel packages, to avoid file conflicts.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 00:54:46 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Split package into base, glib and docs package using _multibuild.
|
||||
The glib flavor depends on gtkmm, but the base package is
|
||||
sufficient for building most of the distribution, most notably
|
||||
ffado/jack and its dependees.
|
||||
- Drop libdbus-c++-nodocdatetime.patch, doxygen honors SOURCE_DATE_EPOCH
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 10 14:00:47 UTC 2017 - davejplater@gmail.com
|
||||
|
||||
|
177
libdbus-c++.spec
177
libdbus-c++.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libdbus-c++
|
||||
# spec file for package libdbus
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -12,31 +12,48 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
|
||||
%if "%{flavor}" == "glib"
|
||||
%bcond_with docs
|
||||
%bcond_without glib
|
||||
%global psuffix -glib
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "docs"
|
||||
%bcond_without docs
|
||||
%bcond_with glib
|
||||
%global psuffix -api-docs
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == ""
|
||||
%bcond_with docs
|
||||
%bcond_with glib
|
||||
%endif
|
||||
|
||||
%define sname libdbus-c++
|
||||
|
||||
%define _rev e3455d20fc0b6e00bce7668fbd9b165fdc8a7040
|
||||
%define sover 1
|
||||
# Html documentation build causes cycles
|
||||
%define buildoc 0
|
||||
|
||||
Name: libdbus-c++
|
||||
Name: libdbus-c++%{?psuffix}
|
||||
Version: 0.9.1+git20170322
|
||||
Release: 0
|
||||
Summary: C++ Interface for DBus
|
||||
License: LGPL-2.1+
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://dbus-cplusplus.sourceforge.net/index.html
|
||||
URL: http://dbus-cplusplus.sourceforge.net/index.html
|
||||
#Source0: http://sourceforge.net/projects/dbus-cplusplus/files/dbus-c%%2B%%2B/%%{version}/%%{name}-%%{version}.tar.gz
|
||||
Source0: https://github.com/andreas-volz/dbus-cplusplus/archive/%{_rev}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/andreas-volz/dbus-cplusplus/archive/%{_rev}.tar.gz#/%{sname}-%{version}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM libdbus-c++-noreturn.patch davejplater@gmail.com -- Fix no return from function
|
||||
Patch0: libdbus-c++-noreturn.patch
|
||||
# PATCH-FIX-UPSTREAM libdbus-c++-pthread.patch davejplater@gmail.com -- Get ffado to build with libdbus-c++
|
||||
Patch1: libdbus-c++-pthread.patch
|
||||
# PATCH-FIX-OPENSUSE libdbus-c++-nodocdatetime.patch davejplater@gmail.com -- No current date / time allowed in docs?
|
||||
Patch2: libdbus-c++-nodocdatetime.patch
|
||||
# PATCH-FIX-UPSTREAM libdbus-c++-glibmm-2.43.patch dimstar@opensuse.org -- Fix build with glibmm2 2.43.x+
|
||||
Patch4: libdbus-c++-glibmm-2.43.patch
|
||||
# PATCH-FIX-UPSTREAM libdbus-c++-gcc7.patch davejplater@gmail.com -- Fix gcc7 build errors
|
||||
@ -46,50 +63,50 @@ Patch6: libdbus-c++-sover.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
%if %{buildoc} == 1
|
||||
%if %{with docs}
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: graphviz-gnome
|
||||
%endif
|
||||
%if %{with glib}
|
||||
BuildRequires: gtkmm2-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
%endif
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
# ecore
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if "%{flavor}" == "docs"
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
DBus-c++ provides a C++ API for D-BUS. The library has
|
||||
a glib and an ecore mainloop integration. It also offers an
|
||||
optional own main loop.
|
||||
|
||||
%package -n libdbus-c++-1-%{sover}
|
||||
%package -n libdbus-c++%{?psuffix}-1-%{sover}
|
||||
Summary: C++ Interface for D-Bus
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libdbus-c++-1-%{sover}
|
||||
%description -n libdbus-c++%{?psuffix}-1-%{sover}
|
||||
DBus-c++ provides a C++ API for D-BUS. The library has
|
||||
a glib and an ecore mainloop integration. It also offers an
|
||||
optional own main loop. The libdbus-c++ library.
|
||||
|
||||
%package -n libdbus-c++-glib-1-%{sover}
|
||||
Summary: Glib integration for libdbus-c++
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libdbus-c++-glib-1-%{sover}
|
||||
DBus-c++ provides a C++ API for D-BUS. The library has
|
||||
a glib and an ecore mainloop integration. It also offers an
|
||||
optional own main loop. The glib libdbus-c++ library.
|
||||
optional own main loop.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libdbus-c++
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libdbus-c++-1-%{sover} = %{version}
|
||||
Requires: libdbus-c++-glib-1-%{sover} = %{version}
|
||||
Requires: libdbus-c++%{?psuffix}-1-%{sover} = %{version}
|
||||
Recommends: libdbus-c++-api-docs
|
||||
Conflicts: libdbus-c++-devel < %{version}-%{release}
|
||||
%if 0%{?suse_version} <= 1500
|
||||
%if %{with glib}
|
||||
Requires: libdbus-c++-devel = %{version}-%{release}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
DBus-c++ provides a C++ API for D-BUS. The library has
|
||||
@ -100,86 +117,78 @@ libdbus-c++.
|
||||
|
||||
%prep
|
||||
%setup -q -n dbus-cplusplus-%{_rev}
|
||||
#-n dbus-cplusplus-%%{_rev}
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch4 -p1
|
||||
%patch5
|
||||
%patch6
|
||||
|
||||
%build
|
||||
export SOVER="%{sover}:0:0"
|
||||
#%%{sover}
|
||||
# --enable-doxygen-docs -fpermissive
|
||||
./bootstrap
|
||||
#./autogen.sh
|
||||
%if 1 == 0
|
||||
%define gcc_version 7
|
||||
export CC=gcc-7
|
||||
export CPP=cpp-7
|
||||
export CXX=g++-7
|
||||
%endif
|
||||
export LDFLAGS="$LDFLAGS -lexpat -lpthread"
|
||||
%if 0%{?gcc_version} > 5
|
||||
export CXXFLAGS="%{optflags} --std=c++11 -fPIC -Werror=date-time"
|
||||
%else
|
||||
export LDFLAGS="$LDFLAGS -lexpat -lpthread -pie"
|
||||
export CFLAGS="%{optflags} -fPIC"
|
||||
export CXXFLAGS="%{optflags} --std=c++11 -fPIC"
|
||||
./bootstrap
|
||||
%configure \
|
||||
--disable-ecore \
|
||||
--enable-static=no \
|
||||
%if %{without glib}
|
||||
--disable-glib \
|
||||
%endif
|
||||
%configure --disable-ecore --enable-static=no \
|
||||
%if %{buildoc} == 1
|
||||
--enable-doxygen-docs \
|
||||
%if %{with docs}
|
||||
--enable-doxygen-docs \
|
||||
%else
|
||||
--disable-doxygen-docs \
|
||||
--disable-doxygen-docs \
|
||||
--enable-tests \
|
||||
--enable-examples
|
||||
%endif
|
||||
--enable-tests \
|
||||
--enable-examples
|
||||
|
||||
%if "%{flavor}" == "docs"
|
||||
make %{?_smp_mflags} -C doc
|
||||
%else
|
||||
make %{?_smp_mflags}
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if "%{flavor}" == "docs"
|
||||
%fdupes -s doc/
|
||||
|
||||
%else
|
||||
%make_install
|
||||
dos2unix -k AUTHORS
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
%if %{buildoc} == 1
|
||||
%fdupes -s doc/
|
||||
|
||||
# Remove files packaged in the base flavor
|
||||
%if "%{flavor}" == "glib"
|
||||
rm %{buildroot}%{_bindir}/*
|
||||
rm -Rf %{buildroot}%{_includedir}
|
||||
rm -Rf %{buildroot}%{_libdir}/libdbus-c++-1.so*
|
||||
rm -Rf %{buildroot}%{_libdir}/pkgconfig/dbus-c++-1.pc
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%post -n libdbus-c++-glib-1-%{sover} -p /sbin/ldconfig
|
||||
%post -n libdbus-c++%{?psuffix}-1-%{sover} -p /sbin/ldconfig
|
||||
%postun -n libdbus-c++%{?psuffix}-1-%{sover} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdbus-c++-glib-1-%{sover} -p /sbin/ldconfig
|
||||
%if "%{flavor}" == "docs"
|
||||
%files
|
||||
%doc doc/html doc/img
|
||||
%else
|
||||
|
||||
%post -n libdbus-c++-1-%{sover} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libdbus-c++-1-%{sover} -p /sbin/ldconfig
|
||||
|
||||
%files -n libdbus-c++-1-%{sover}
|
||||
%defattr(755,root,root)
|
||||
%{_libdir}/libdbus-c++-1.so.%{sover}
|
||||
%{_libdir}/libdbus-c++-1.so.%{sover}.0.0
|
||||
|
||||
%files -n libdbus-c++-glib-1-%{sover}
|
||||
%defattr(755,root,root)
|
||||
%{_libdir}/libdbus-c++-glib-1.so.%{sover}
|
||||
%{_libdir}/libdbus-c++-glib-1.so.%{sover}.0.0
|
||||
|
||||
# TODO: Separate the two lib's devel packages. There's only one set of headers though.
|
||||
# FIXME: Every html file contains date and time, must be fixed before docs are included.
|
||||
# FIXME: Add this to %%doc when fixed "doc/html doc/img" maybe a separate doc package.
|
||||
%files -n libdbus-c++%{?psuffix}-1-%{sover}
|
||||
%{_libdir}/libdbus-c++%{?psuffix}-1.so.%{sover}*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%if %{buildoc} == 1
|
||||
%doc AUTHORS COPYING README TODO doc/html doc/img
|
||||
%else
|
||||
%doc AUTHORS COPYING README TODO
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == ""
|
||||
%license COPYING
|
||||
%doc AUTHORS README TODO
|
||||
%{_bindir}/dbusxx-xml2cpp
|
||||
%{_bindir}/dbusxx-introspect
|
||||
%{_libdir}/libdbus-c++-1.so
|
||||
%{_libdir}/libdbus-c++-glib-1.so
|
||||
%{_includedir}/dbus-c++-1
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
# doc/html doc/img
|
||||
%endif
|
||||
|
||||
%{_libdir}/libdbus-c++%{?psuffix}-1.so
|
||||
%{_libdir}/pkgconfig/*%{?psuffix}*.pc
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user