From f619839246fc5c7b18cc86f0968e9496188eebc8 Mon Sep 17 00:00:00 2001 From: Erik van Pienbroek Date: Mar 07 2012 16:28:41 +0000 Subject: Renamed the source package to mingw-dbus --- diff --git a/mingw-dbus.spec b/mingw-dbus.spec new file mode 100644 index 0000000..12f0bc4 --- /dev/null +++ b/mingw-dbus.spec @@ -0,0 +1,138 @@ +%global __strip %{_mingw32_strip} +%global __objdump %{_mingw32_objdump} +%global _use_internal_dependency_generator 0 +%global __find_requires %{_mingw32_findrequires} +%global __find_provides %{_mingw32_findprovides} +%define __debug_install_post %{_mingw32_debug_install_post} + +Name: mingw-dbus +Version: 1.4.6 +Release: 4%{?dist} +Summary: MinGW Windows port of D-Bus + +License: GPLv2+ or AFL +Group: Development/Libraries +URL: http://www.freedesktop.org/wiki/Software/dbus +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://dbus.freedesktop.org/releases/dbus/dbus-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: mingw32-filesystem >= 33 +BuildRequires: mingw32-gcc +BuildRequires: mingw32-binutils +BuildRequires: mingw32-glib2 +BuildRequires: mingw32-expat +BuildRequires: libtool, automake, autoconf + +Requires: pkgconfig + +# Upstream patch: sysdeps-win needs _dbus_path_is_absolute +Patch0: dbus-1.4.6-path-is-absolute.patch + +# One of the files uses ELEMENT_TYPE while this is already used in the mingw-w64 headers +Patch1: dbus-prevent-conflict-with-element-type-from-mingw-headers.patch + +%description +D-BUS is a system for sending messages between applications. It is +used both for the system wide message bus service, and as a +per-user-login-session messaging facility. + +%package -n mingw32-dbus +Summary: MinGW Windows port of D-Bus + +%description -n mingw32-dbus +D-BUS is a system for sending messages between applications. It is +used both for the system wide message bus service, and as a +per-user-login-session messaging facility. + +%package -n mingw32-dbus-static +Summary: Static version of MinGW Windows port of DBus library +Requires: mingw32-dbus = %{version}-%{release} +Group: Development/Libraries + +%description -n mingw32-dbus-static +D-BUS is a system for sending messages between applications. It is +used both for the system wide message bus service, and as a +per-user-login-session messaging facility. + +Static version of MinGW Windows port of DBus library + +%{?_mingw32_debug_package} + +%prep +%setup -q -n dbus-%{version} +%patch0 -p1 +%patch1 -p0 + +%build +%{_mingw32_configure} +make %{?_smp_mflags} + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +# Remove manpages because they duplicate what's in the +# Fedora native package already. +rm -r $RPM_BUILD_ROOT%{_mingw32_mandir}/man1 + +# The init.d script is unneeded for Win32 environments so it can be dropped +rm -r $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/rc.d/init.d/messagebus + +%files -n mingw32-dbus +%defattr(-,root,root,-) +%doc COPYING +%{_mingw32_bindir}/dbus-daemon.exe +%{_mingw32_bindir}/dbus-launch.exe +%{_mingw32_bindir}/dbus-monitor.exe +%{_mingw32_bindir}/dbus-send.exe +%{_mingw32_bindir}/libdbus-1-3.dll +%{_mingw32_libdir}/libdbus-1.dll.a +%{_mingw32_libdir}/libdbus-1.la +%{_mingw32_libdir}/pkgconfig/dbus-1.pc +%{_mingw32_sysconfdir}/dbus-1/ +%{_mingw32_includedir}/dbus-1.0/ +%{_mingw32_libdir}/dbus-1.0/ + +%files -n mingw32-dbus-static +%defattr(-,root,root,-) +%{_mingw32_libdir}/libdbus-1.a + +%changelog +* Wed Mar 07 2012 Erik van Pienbroek - 1.4.6-4 +- Renamed the source package to mingw-dbus (RHBZ #800858) + +* Mon Feb 27 2012 Erik van Pienbroek - 1.4.6-3 +- Rebuild against the mingw-w64 toolchain +- Added patch to prevent redeclaration of the symbol ELEMENT_TYPE + +* Fri Jan 13 2012 Fedora Release Engineering - 1.4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Mar 28 2011 Ivan Romanov - 1.4.6-1 +- New upstream version +- Removed clean stage +- Added dbus-1.4.6-path-is-absolute.patch patch + +* Tue Feb 08 2011 Fedora Release Engineering - 1.4.1-0.2.20101008git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Oct 8 2010 Ivan Romanov - 1.4.1-0.1.20101008git +- Updated to 1.4.1 version from git +- windbus is now part of freedesktop dbus +- Removed mingw32-dbus-c++ package (c++ bindings it's not part of dbus) +- Removed mingw32-dbus-1.2.4-20081031-mingw32.patch +- Removed unusual dependencies +- Removed init.d script +- Changed define tags on the top to global tags +- Added static subpackage with static library +- Added debuginfo + +* Fri Feb 6 2009 Richard W.M. Jones - 1.2.4-0.3.20081031svn +- Include license. + +* Tue Jan 13 2009 Richard W.M. Jones - 1.2.4-0.2.20081031svn +- Requires pkgconfig. + +* Mon Nov 3 2008 Richard W.M. Jones - 1.2.4-0.1.20081031svn +- Initial RPM release. diff --git a/mingw32-dbus.spec b/mingw32-dbus.spec deleted file mode 100644 index d0698cd..0000000 --- a/mingw32-dbus.spec +++ /dev/null @@ -1,127 +0,0 @@ -%global __strip %{_mingw32_strip} -%global __objdump %{_mingw32_objdump} -%global _use_internal_dependency_generator 0 -%global __find_requires %{_mingw32_findrequires} -%global __find_provides %{_mingw32_findprovides} -%define __debug_install_post %{_mingw32_debug_install_post} - -Name: mingw32-dbus -Version: 1.4.6 -Release: 3%{?dist} -Summary: MinGW Windows port of D-Bus - -License: GPLv2+ or AFL -Group: Development/Libraries -URL: http://www.freedesktop.org/wiki/Software/dbus -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: http://dbus.freedesktop.org/releases/dbus/dbus-%{version}.tar.gz - -BuildArch: noarch - -BuildRequires: mingw32-filesystem >= 33 -BuildRequires: mingw32-gcc -BuildRequires: mingw32-binutils -BuildRequires: mingw32-glib2 -BuildRequires: mingw32-expat -BuildRequires: libtool, automake, autoconf - -Requires: pkgconfig - -# Upstream patch: sysdeps-win needs _dbus_path_is_absolute -Patch0: dbus-1.4.6-path-is-absolute.patch - -# One of the files uses ELEMENT_TYPE while this is already used in the mingw-w64 headers -Patch1: dbus-prevent-conflict-with-element-type-from-mingw-headers.patch - -%description -D-BUS is a system for sending messages between applications. It is -used both for the system wide message bus service, and as a -per-user-login-session messaging facility. - -%package static -Summary: Static version of MinGW Windows port of DBus library -Requires: %{name} = %{version}-%{release} -Group: Development/Libraries - -%description static -D-BUS is a system for sending messages between applications. It is -used both for the system wide message bus service, and as a -per-user-login-session messaging facility. - -Static version of MinGW Windows port of DBus library - -%{?_mingw32_debug_package} - -%prep -%setup -q -n dbus-%{version} -%patch0 -p1 -%patch1 -p0 - -%build -%{_mingw32_configure} -make %{?_smp_mflags} - -%install -make DESTDIR=$RPM_BUILD_ROOT install - -# Remove manpages because they duplicate what's in the -# Fedora native package already. -rm -r $RPM_BUILD_ROOT%{_mingw32_mandir}/man1 - -# The init.d script is unneeded for Win32 environments so it can be dropped -rm -r $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/rc.d/init.d/messagebus - -%files -%defattr(-,root,root,-) -%doc COPYING -%{_mingw32_bindir}/dbus-daemon.exe -%{_mingw32_bindir}/dbus-launch.exe -%{_mingw32_bindir}/dbus-monitor.exe -%{_mingw32_bindir}/dbus-send.exe -%{_mingw32_bindir}/libdbus-1-3.dll -%{_mingw32_libdir}/libdbus-1.dll.a -%{_mingw32_libdir}/libdbus-1.la -%{_mingw32_libdir}/pkgconfig/dbus-1.pc -%{_mingw32_sysconfdir}/dbus-1/ -%{_mingw32_includedir}/dbus-1.0/ -%{_mingw32_libdir}/dbus-1.0/ - -%files static -%defattr(-,root,root,-) -%{_mingw32_libdir}/libdbus-1.a - -%changelog -* Mon Feb 27 2012 Erik van Pienbroek - 1.4.6-3 -- Rebuild against the mingw-w64 toolchain -- Added patch to prevent redeclaration of the symbol ELEMENT_TYPE - -* Fri Jan 13 2012 Fedora Release Engineering - 1.4.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Mar 28 2011 Ivan Romanov - 1.4.6-1 -- New upstream version -- Removed clean stage -- Added dbus-1.4.6-path-is-absolute.patch patch - -* Tue Feb 08 2011 Fedora Release Engineering - 1.4.1-0.2.20101008git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Oct 8 2010 Ivan Romanov - 1.4.1-0.1.20101008git -- Updated to 1.4.1 version from git -- windbus is now part of freedesktop dbus -- Removed mingw32-dbus-c++ package (c++ bindings it's not part of dbus) -- Removed mingw32-dbus-1.2.4-20081031-mingw32.patch -- Removed unusual dependencies -- Removed init.d script -- Changed define tags on the top to global tags -- Added static subpackage with static library -- Added debuginfo - -* Fri Feb 6 2009 Richard W.M. Jones - 1.2.4-0.3.20081031svn -- Include license. - -* Tue Jan 13 2009 Richard W.M. Jones - 1.2.4-0.2.20081031svn -- Requires pkgconfig. - -* Mon Nov 3 2008 Richard W.M. Jones - 1.2.4-0.1.20081031svn -- Initial RPM release.