Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > 700d955c10028b3fc7fda67f684dd9c3 > files > 2

dbus-c++-0.9.0-9.mga6.src.rpm

%define api 1
%define major 0
%define libname %mklibname %name %api %major
%define libecore %mklibname %name-ecore %api %major
%define libglib %mklibname %name-glib %api %major
%define develname %mklibname -d %name

Summary:	Native C++ bindings for D-Bus
Name:		dbus-c++
Version:	0.9.0
Release:	%mkrel 9
Group:		System/Libraries
License:	LGPLv2+
URL:		http://sourceforge.net/apps/mediawiki/dbus-cplusplus/index.php?title=Main_Page
Source0:	http://downloads.sourceforge.net/dbus-cplusplus/libdbus-c++-%{version}.tar.gz
Patch0:		libdbus-c++-0.9.0-link.patch
Patch1:		libdbus-c++-0.9.0-gcc47.patch
# from fedora: fix a build problem
Patch2:		dbus-c++-macro_collision.patch
BuildRequires: pkgconfig(dbus-1) >= 0.60
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtkmm-2.4)
BuildRequires: libexpat-devel

%description
Native C++ bindings for D-Bus for use in C++ programs.

%package -n %libname
Group:		System/Libraries
Summary:	Native C++ bindings for D-Bus

%description -n %libname
Native C++ bindings for D-Bus for use in C++ programs.

%package -n %libecore
Group:		System/Libraries
Summary:	Ecore integration for %name

%description -n %libecore
Ecore integration for %name.

%package -n %libglib
Group:		System/Libraries
Summary:	Glib integration for %name

%description -n %libglib
Glib integration for %name.

%package	-n %develname
Summary:	Development files for %{name}
Group:		Development/C
Requires:	%{libname} = %{version}-%{release}
Requires:	%{libecore} = %{version}-%{release}
Requires:	%{libglib} = %{version}-%{release}
Requires:	%name >= %version-%release
Provides:	%name-devel = %{version}-%{release}

%description	-n %develname
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q -n lib%{name}-%{version}
%patch0 -p0
%patch1 -p0
%patch2 -p1

# fix build with new automake 1.13
sed -i -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' configure.ac

%build
autoreconf -fi
CXXFLAGS="%{optflags} -std=gnu++11" \
%configure2_5x --disable-static
%make

%install
%makeinstall_std
rm -f %{buildroot}%{_libdir}/*.la

%files
%doc COPYING AUTHORS
%{_bindir}/dbusxx-introspect
%{_bindir}/dbusxx-xml2cpp

%files -n %libname
%{_libdir}/libdbus-c++-%{api}.so.%{major}{,.*}

%files -n %libecore
%{_libdir}/libdbus-c++-ecore-%{api}.so.%{major}{,.*}

%files -n %libglib
%{_libdir}/libdbus-c++-glib-%{api}.so.%{major}{,.*}

%files -n %develname
%doc TODO
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*


%changelog
* Thu Feb 11 2016 umeabot <umeabot> 0.9.0-9.mga6
+ Revision: 953665
- Mageia 6 Mass Rebuild

* Sat Aug 29 2015 cjw <cjw> 0.9.0-8.mga6
+ Revision: 871096
- compile C++ code with -std=gnu++11
- patch2: fix another build problem (patch from fedora)
- rebuild with gcc 5

* Wed Oct 15 2014 umeabot <umeabot> 0.9.0-7.mga5
+ Revision: 745563
- Second Mageia 5 Mass Rebuild

* Thu Sep 18 2014 umeabot <umeabot> 0.9.0-6.mga5
+ Revision: 693731
- Rebuild to fix library dependencies

* Tue Sep 16 2014 umeabot <umeabot> 0.9.0-5.mga5
+ Revision: 678684
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 0.9.0-4.mga4
+ Revision: 503802
- Mageia 4 Mass Rebuild

* Fri Jan 11 2013 umeabot <umeabot> 0.9.0-3.mga3
+ Revision: 348642
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Dec 31 2012 wally <wally> 0.9.0-2.mga3
+ Revision: 336606
- fix build with new automake 1.13

* Sat Jul 28 2012 fwang <fwang> 0.9.0-1.mga3
+ Revision: 275185
- fix linkage of test program
- update file list
- update file list
- more linkage
- fix build with gcc 47
- fix linking
- br expat
- new version 0.9.0

* Fri Apr 01 2011 ahmad <ahmad> 0.5.0-0.20090203.4.mga1
+ Revision: 79508
- imported package dbus-c++


* Sun Dec 05 2010 Oden Eriksson <oeriksson@mandriva.com> 0.5.0-0.20090203.3mdv2011.0
+ Revision: 610192
- rebuild

* Fri Jan 01 2010 Götz Waschk <waschk@mandriva.org> 0.5.0-0.20090203.2mdv2010.1
+ Revision: 484707
- devel package depends on tools

* Fri Jan 01 2010 Götz Waschk <waschk@mandriva.org> 0.5.0-0.20090203.1mdv2010.1
+ Revision: 484691
- import dbus-c++


* Fri Jan  1 2010 Götz Waschk <waschk@mandriva.org> 0.5.0-0.20090203.1mdv2010.1
- adapt for Mandriva

* Fri Jul 31 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.5.0-0.10.20090203git13281b3
- Fix build

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.9.20090203git13281b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-0.8.20090203git13281b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Wed Feb 18 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.5.0-0.7.20090203git13281b3
- bump..

* Wed Feb 18 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.5.0-0.6.20090203git13281b3
- Fix build with new gcc

* Wed Feb 18 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.5.0-0.5.20090203git13281b3
- Add the ability to get the senders unix userid (Patch by Jiri Moskovcak)

* Tue Feb 03 2009 Adel Gadllah <adel.gadllah@gmail.com> - 0.5.0-0.4.20090203git13281b3
- Update to new git snapshot
- Should fix RH #483418

* Wed Jul 16 2008 Adel Gadllah <adel.gadllah@gmail.com> - 0.5.0-0.3.20080716git1337c65
- Generate tarball with git-archive
- Fix cflags

* Wed Jul 16 2008 Adel Gadllah <adel.gadllah@gmail.com> - 0.5.0-0.2.20080716git1337c65
- Add commit id to version

* Wed Jul 16 2008 Adel Gadllah <adel.gadllah@gmail.com> - 0.5.0-0.1.20080716git
- Initial package