From 62d7d5526ca63a05c8e81fc05c4286ed441c3246c22ab253cd6e740a446b1647 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 10 Dec 2024 11:25:54 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.10.x package:ghc-dbus revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-dbus?expand=0&rev=78 --- .gitattributes | 23 ++++++ .gitignore | 1 + _constraints | 14 ++++ dbus-1.3.3.tar.gz | 3 + dbus-1.3.9.tar.gz | 3 + ghc-dbus.changes | 188 ++++++++++++++++++++++++++++++++++++++++++++++ ghc-dbus.spec | 182 ++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 414 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _constraints create mode 100644 dbus-1.3.3.tar.gz create mode 100644 dbus-1.3.9.tar.gz create mode 100644 ghc-dbus.changes create mode 100644 ghc-dbus.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..b5b0790 --- /dev/null +++ b/_constraints @@ -0,0 +1,14 @@ + + + + ppc64 + ppc64le + + + + 6 + + + + + diff --git a/dbus-1.3.3.tar.gz b/dbus-1.3.3.tar.gz new file mode 100644 index 0000000..ef18237 --- /dev/null +++ b/dbus-1.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a266117fbba509874dae6ab76bb887574accb1ee44f80b4f008b69386fd34b8e +size 82190 diff --git a/dbus-1.3.9.tar.gz b/dbus-1.3.9.tar.gz new file mode 100644 index 0000000..58193e5 --- /dev/null +++ b/dbus-1.3.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a0ee74878d81a58f9804aafcc02d56d04748d0eb47ff04b99b026ccfc4940a58 +size 81168 diff --git a/ghc-dbus.changes b/ghc-dbus.changes new file mode 100644 index 0000000..cc6e401 --- /dev/null +++ b/ghc-dbus.changes @@ -0,0 +1,188 @@ +------------------------------------------------------------------- +Sat Oct 26 18:12:15 UTC 2024 - Peter Simons + +- Update dbus to version 1.3.9. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Wed Apr 24 21:18:05 UTC 2024 - Peter Simons + +- Update dbus to version 1.3.3. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Tue Dec 26 20:35:58 UTC 2023 - Peter Simons + +- Update dbus to version 1.3.2. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Thu Sep 14 02:17:25 UTC 2023 - Peter Simons + +- Update dbus to version 1.3.1. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Mon Jun 12 21:05:44 UTC 2023 - Peter Simons + +- Update dbus to version 1.2.29. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Mon Apr 3 19:01:23 UTC 2023 - Peter Simons + +- Update dbus to version 1.2.28. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Thu Mar 30 17:06:33 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Mon Oct 24 17:42:12 UTC 2022 - Peter Simons + +- Update dbus to version 1.2.27. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Thu Dec 16 22:07:38 UTC 2021 - Peter Simons + +- Update dbus to version 1.2.22. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Sun Nov 21 20:06:30 UTC 2021 - Ondřej Súkup + +- remove opverspecified constraints on lens + +------------------------------------------------------------------- +Sat Feb 27 13:13:27 UTC 2021 - psimons@suse.com + +- Update dbus to version 1.2.21. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Sun Feb 21 12:48:30 UTC 2021 - psimons@suse.com + +- Update dbus to version 1.2.19. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Wed Jan 27 19:35:38 UTC 2021 - psimons@suse.com + +- Update dbus to version 1.2.18. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Tue Dec 29 21:17:33 UTC 2020 - psimons@suse.com + +- Update dbus to version 1.2.17. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup + +- disable %{ix86} build + +------------------------------------------------------------------- +Wed Aug 19 09:42:26 UTC 2020 - Michel Normand + +- Add _constraints with 6GB min disk space for ppc64/ppc64le + +------------------------------------------------------------------- +Tue Aug 18 10:44:37 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Sun Jun 28 02:00:34 UTC 2020 - psimons@suse.com + +- Update dbus to version 1.2.16. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Tue Jun 9 09:10:54 UTC 2020 - psimons@suse.com + +- Update dbus to version 1.2.15.1. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Wed May 6 06:54:12 UTC 2020 - psimons@suse.com + +- Update dbus to version 1.2.14. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Fri Feb 28 08:35:46 UTC 2020 - Peter Simons + +- Update Cabal build information for more accurate dependencies. + +------------------------------------------------------------------- +Sun Dec 29 10:27:38 UTC 2019 - psimons@suse.com + +- Update dbus to version 1.2.11. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Fri Nov 8 16:13:35 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +------------------------------------------------------------------- +Fri Oct 11 12:17:36 UTC 2019 - Peter Simons + +- Relax overspecified version constraints on lens dependency. + +------------------------------------------------------------------- +Mon May 13 02:02:23 UTC 2019 - psimons@suse.com + +- Update dbus to version 1.2.7. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Tue Apr 30 09:23:18 UTC 2019 - psimons@suse.com + +- Update dbus to version 1.2.6. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Sun Apr 14 02:02:26 UTC 2019 - psimons@suse.com + +- Update dbus to version 1.2.5. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Sat Feb 16 03:02:14 UTC 2019 - psimons@suse.com + +- Update dbus to version 1.2.4. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Tue Jan 22 03:03:06 UTC 2019 - psimons@suse.com + +- Update dbus to version 1.2.3. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Sun Dec 9 03:01:26 UTC 2018 - psimons@suse.com + +- Update dbus to version 1.2.1. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Mon Nov 26 03:01:51 UTC 2018 - psimons@suse.com + +- Update dbus to version 1.1.1. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Sat Nov 24 03:01:52 UTC 2018 - psimons@suse.com + +- Update dbus to version 1.1.0. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Thu Aug 2 16:29:51 UTC 2018 - psimons@suse.com + +- Add dbus at version 1.0.1. diff --git a/ghc-dbus.spec b/ghc-dbus.spec new file mode 100644 index 0000000..4e29a18 --- /dev/null +++ b/ghc-dbus.spec @@ -0,0 +1,182 @@ +# +# spec file for package ghc-dbus +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global pkg_name dbus +%global pkgver %{pkg_name}-%{version} +%bcond_with tests +Name: ghc-%{pkg_name} +Version: 1.3.9 +Release: 0 +Summary: A client library for the D-Bus IPC system +License: Apache-2.0 +URL: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-cereal-devel +BuildRequires: ghc-cereal-prof +BuildRequires: ghc-conduit-devel +BuildRequires: ghc-conduit-prof +BuildRequires: ghc-containers-devel +BuildRequires: ghc-containers-prof +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-lens-devel +BuildRequires: ghc-lens-prof +BuildRequires: ghc-network-devel +BuildRequires: ghc-network-prof +BuildRequires: ghc-parsec-devel +BuildRequires: ghc-parsec-prof +BuildRequires: ghc-random-devel +BuildRequires: ghc-random-prof +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-split-devel +BuildRequires: ghc-split-prof +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof +BuildRequires: ghc-th-lift-devel +BuildRequires: ghc-th-lift-prof +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-unix-devel +BuildRequires: ghc-unix-prof +BuildRequires: ghc-vector-devel +BuildRequires: ghc-vector-prof +BuildRequires: ghc-xml-conduit-devel +BuildRequires: ghc-xml-conduit-prof +BuildRequires: ghc-xml-types-devel +BuildRequires: ghc-xml-types-prof +ExcludeArch: %{ix86} +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof +BuildRequires: ghc-directory-devel +BuildRequires: ghc-directory-prof +BuildRequires: ghc-extra-devel +BuildRequires: ghc-extra-prof +BuildRequires: ghc-process-devel +BuildRequires: ghc-process-prof +BuildRequires: ghc-resourcet-devel +BuildRequires: ghc-resourcet-prof +BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-hunit-devel +BuildRequires: ghc-tasty-hunit-prof +BuildRequires: ghc-tasty-prof +BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-tasty-quickcheck-prof +BuildRequires: ghc-temporary-devel +BuildRequires: ghc-temporary-prof +%endif + +%description +D-Bus is a simple, message-based protocol for inter-process communication, +which allows applications to interact with other parts of the machine and the +user's session using remote procedure calls. + +D-Bus is a essential part of the modern Linux desktop, where it replaces +earlier protocols such as CORBA and DCOP. + +This library is an implementation of the D-Bus protocol in Haskell. It can be +used to add D-Bus support to Haskell applications, without the awkward +interfaces common to foreign bindings. + +Example: connect to the session bus, and get a list of active names. + +' {-# LANGUAGE OverloadedStrings #-} + +import Data.List (sort) import DBus import DBus.Client + +main = do client <- connectSession -- Request a list of +connected clients from the bus reply <- call_ client (methodCall +"/org/freedesktop/DBus" "org.freedesktop.DBus" "ListNames") { +methodCallDestination = Just "org.freedesktop.DBus" } +-- org.freedesktop.DBus.ListNames() returns a single value, which is -- +a list of names (here represented as [String]) let Just names = +fromVariant (methodReturnBody reply !! 0) -- Print each name on a +line, sorted so reserved names are below -- temporary names. + mapM_ putStrLn (sort names) ' + +>$ ghc --make list-names.hs >$ ./list-names >:1.0 >:1.1 >:1.10 >:1.106 >:1.109 +>:1.110 >ca.desrt.dconf >org.freedesktop.DBus >org.freedesktop.Notifications +>org.freedesktop.secrets >org.gnome.ScreenSaver. + +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: %{name} = %{version}-%{release} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + +%prep +%autosetup -n %{pkg_name}-%{version} + +%build +%ghc_lib_build + +%install +%ghc_lib_install + +%check +%cabal_test + +%post devel +%ghc_pkg_recache + +%postun devel +%ghc_pkg_recache + +%files -f %{name}.files +%license license.txt + +%files devel -f %{name}-devel.files +%doc examples + +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license license.txt + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + +%changelog