Compare commits
1 Commits
main
...
autoupdate
Author | SHA256 | Date | |
---|---|---|---|
7f5fc157d9 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ae8dfb0f6844ddaa2ce7b5b44553419490c8e83c24fd35c431406a58f6be0f4f
|
||||
size 11158
|
BIN
Gtk2-Unique-0.07.tar.gz
(Stored with Git LFS)
Normal file
BIN
Gtk2-Unique-0.07.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 28 10:28:41 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- updated to 0.70.0 (0.07)
|
||||
see /usr/share/doc/packages/perl-Gtk2-Unique/Changes
|
||||
|
||||
0.07 Wed Jan 13 09:18:10 PST 2021
|
||||
[RT-76414] Makefile.PL: added 'configure_requires' to META_MERGE block
|
||||
[RT-95016] Add whatis entries to the POD
|
||||
Added project deprecation notice, project is now deprecated
|
||||
|
||||
0.06 Fri Feb 24 22:08:59 CET 2017
|
||||
[RT-120115] Fix: crash on starting second instance.
|
||||
Fix compilation warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 27 16:52:14 UTC 2019 - tobia@ledfan.be
|
||||
|
||||
|
@@ -1,8 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Gtk2-Unique
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 Sascha Manns <saigkill@opensuse.org>
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -13,86 +12,82 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define cpan_name Gtk2-Unique
|
||||
%define cpan_name Gtk2-Unique
|
||||
Name: perl-Gtk2-Unique
|
||||
Version: 0.05
|
||||
Version: 0.70.0
|
||||
Release: 0
|
||||
Summary: Perl bindings for the C library "libunique"
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Gtk2-Unique/
|
||||
Source: http://mirrors.ibiblio.org/CPAN/modules/by-module/Gtk2/%{cpan_name}-%{version}.tar.gz
|
||||
# 0.07 -> normalize -> 0.70.0
|
||||
%define cpan_version 0.07
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: (DEPRECATED) Use single instance applications
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source100: README.md
|
||||
# PATCH-FIX-UPSTREAM Gtk2-Unique-rt120115-Fix-crash.patch rt#120115 dimstar@opensuse.org -- Fix crash on starting second instance
|
||||
Patch0: Gtk2-Unique-rt120115-Fix-crash.patch
|
||||
# PATCH-FIX-UPSTREAM Gtk2-Unique-Fix-crash.patch see boo#1099774 -- upstream commit: 8ac892efdf480efbca75dc1729fc9aa45708618e
|
||||
Patch1: Gtk2-Unique-Fix-crash.patch
|
||||
# libnotify-devel seems to be missing this. see BZ#216946
|
||||
BuildRequires: gtk2-devel
|
||||
# non-perl
|
||||
BuildRequires: libnotify-devel
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(ExtUtils::Depends) >= 0.20
|
||||
# core
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03
|
||||
# cpan
|
||||
BuildRequires: perl(Glib) >= 1.180
|
||||
BuildRequires: perl(Glib::MakeHelper)
|
||||
BuildRequires: perl(Gtk2) >= 1.00
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
#BuildRequires: libunique-devel
|
||||
BuildRequires: pkgconfig(unique-1.0)
|
||||
Requires: perl(ExtUtils::Depends) >= 0.20
|
||||
Requires: perl(ExtUtils::PkgConfig) >= 1.03
|
||||
Requires: perl(Glib) >= 1.180
|
||||
Requires: perl(Gtk2) >= 1.00
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
%if 0%{?suse_version} && 0%{?suse_version} < 1140
|
||||
Requires: perl = %{perl_version}
|
||||
%else
|
||||
BuildRequires: perl(Gtk2) >= 1.161
|
||||
Requires: perl(Gtk2) >= 1.161
|
||||
Provides: perl(Gtk2::Unique) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Perl bindings for the C library "libunique" that provides a mechanism for
|
||||
writing single instance applications. If you launch a single instance
|
||||
application twice, the second instance will either just quit or will send a
|
||||
message to the running instance.
|
||||
*NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE*
|
||||
|
||||
This module has been deprecated by the Gtk-Perl project. This means that
|
||||
the module will no longer be updated with security patches, bug fixes, or
|
||||
when changes are made in the Perl ABI. The Git repo for this module has
|
||||
been archived (made read-only), it will no longer possible to submit new
|
||||
commits to it. You are more than welcome to ask about this module on the
|
||||
Gtk-Perl mailing list, but our priorities going forward will be maintaining
|
||||
Gtk-Perl modules that are supported and maintained upstream; this module is
|
||||
neither.
|
||||
|
||||
Since this module is licensed under the LGPL v2.1, you may also fork this
|
||||
module, if you wish, but you will need to use a different name for it on
|
||||
CPAN, and the Gtk-Perl team requests that you use your own resources
|
||||
(mailing list, Git repos, bug trackers, etc.) to maintain your fork going
|
||||
forward.
|
||||
|
||||
* Perl URL: https://gitlab.gnome.org/GNOME/perl-gtk2-unique
|
||||
|
||||
* Upstream URL: https://gitlab.gnome.org/Archive/unique
|
||||
|
||||
* Last upstream version: 1.1.6
|
||||
|
||||
* Last upstream release date: 2009-11-12
|
||||
|
||||
* Migration path for this module: Gtk3::Application
|
||||
|
||||
* Migration module URL: https://metacpan.org/pod/Gtk3
|
||||
|
||||
Gtk2::Unique is a Perl binding for the C library libunique which provides a
|
||||
way for writing single instance application. If you launch a single
|
||||
instance application twice, the second instance will either just quit or
|
||||
will send a message to the running instance.
|
||||
|
||||
For more information about libunique see: http://live.gnome.org/LibUnique.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS="vendor" OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
# make sure filelist grabs *all* shared libaries.
|
||||
sed -i.orig -e 's/\.so[\.0-9]*$/\.so*/' %{name}.files
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(644,root,root,755)
|
||||
%doc Changes README examples/ t/
|
||||
%dir %{perl_vendorarch}/Gtk2/Unique
|
||||
%dir %{perl_vendorarch}/Gtk2/Unique/Install
|
||||
%doc Changes examples maps README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user