Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
perl-Gtk2-Unique
perl-Gtk2-Unique.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Gtk2-Unique.spec of Package perl-Gtk2-Unique
# # spec file for package perl-Gtk2-Unique # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Sascha Manns <saigkill@opensuse.org> # # 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 http://bugs.opensuse.org/ # Name: perl-Gtk2-Unique %define cpan_name Gtk2-Unique Version: 0.05 Release: 1 License: LGPL-2.1+ Summary: Perl bindings for the C library "libunique" Url: http://mirrors.ibiblio.org/CPAN/modules/by-module/Gtk2/ Group: Development/Libraries/Perl Source: %{cpan_name}-%{version}.tar.gz # non-perl BuildRequires: libnotify-devel BuildRequires: perl(ExtUtils::Depends) >= 0.20 #BuildRequires: libunique-devel BuildRequires: pkgconfig(unique-1.0) # core BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl %if 0%{?suse_version} < 1120 BuildRequires: perl-macros %endif BuildRequires: perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage) # cpan BuildRequires: perl(Glib) >= 1.180 BuildRequires: perl(Glib::MakeHelper) BuildRequires: perl(Gtk2) >= 1.00 BuildRequires: perl(Test::More) # libnotify-devel seems to be missing this. see BZ#216946 BuildRequires: gtk2-devel Requires: perl(ExtUtils::Depends) >= 0.20 Requires: perl(ExtUtils::PkgConfig) >= 1.03 Requires: perl(Glib) >= 1.180 Requires: perl(Gtk2) >= 1.00 %if 0%{?suse_version} && 0%{?suse_version} < 1140 Requires: perl = %{perl_version} %else %{perl_requires} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS="vendor" OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check %{__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 %clean %{__rm} -rf %{buildroot} %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 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor