2007-07-27 01:58:25 +02:00
|
|
|
#
|
2011-02-18 12:11:20 +01:00
|
|
|
# spec file for package libwnck
|
2007-07-27 01:58:25 +02:00
|
|
|
#
|
2018-03-05 14:56:55 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-07-27 01:58:25 +02:00
|
|
|
#
|
2008-08-14 00:06:34 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-07-27 01:58:25 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-08 12:00:22 +01:00
|
|
|
|
2007-07-27 01:58:25 +02:00
|
|
|
Name: libwnck
|
2017-08-05 13:35:12 +02:00
|
|
|
Version: 3.24.1
|
2011-12-21 05:36:23 +01:00
|
|
|
Release: 0
|
2010-04-01 03:20:30 +02:00
|
|
|
Summary: Window Navigator Construction Kit (Library Package)
|
2018-03-05 14:56:55 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2010-07-23 10:48:08 +02:00
|
|
|
Group: Development/Libraries/GNOME
|
2018-03-05 14:56:55 +01:00
|
|
|
URL: https://git.gnome.org/browse/libwnck
|
2017-07-05 19:18:30 +02:00
|
|
|
Source: http://download.gnome.org/sources/libwnck/3.24/%{name}-%{version}.tar.xz
|
2010-04-01 03:20:30 +02:00
|
|
|
Source99: baselibs.conf
|
2010-07-23 10:48:08 +02:00
|
|
|
BuildRequires: fdupes
|
2017-07-05 19:18:30 +02:00
|
|
|
BuildRequires: gettext
|
2010-07-23 10:48:08 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2018-03-05 14:56:55 +01:00
|
|
|
BuildRequires: pkgconfig
|
2017-07-05 19:18:30 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
|
2011-04-21 11:13:26 +02:00
|
|
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
2012-02-20 23:09:21 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xres)
|
2018-03-05 14:56:55 +01:00
|
|
|
%if !0%{?is_opensuse}
|
|
|
|
BuildRequires: translation-update-upstream
|
|
|
|
%endif
|
2007-07-27 01:58:25 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Window Navigator Construction Kit is a library that can be used to
|
|
|
|
write task lists, pagers, and similar GNOME programs.
|
|
|
|
|
2011-04-21 11:01:01 +02:00
|
|
|
%package -n libwnck-3-0
|
2007-07-27 01:58:25 +02:00
|
|
|
Summary: Window Navigator Construction Kit (Library Package)
|
|
|
|
Group: Development/Libraries/GNOME
|
2018-03-05 14:56:55 +01:00
|
|
|
Recommends: %{name}-lang
|
2011-04-21 11:13:26 +02:00
|
|
|
Provides: %{name} = %{version}
|
|
|
|
Obsoletes: %{name} < %{version}
|
2009-01-08 18:45:57 +01:00
|
|
|
#
|
2007-07-27 01:58:25 +02:00
|
|
|
|
2011-04-21 11:01:01 +02:00
|
|
|
%description -n libwnck-3-0
|
2007-07-27 01:58:25 +02:00
|
|
|
The Window Navigator Construction Kit is a library that can be used to
|
|
|
|
write task lists, pagers, and similar GNOME programs.
|
|
|
|
|
2011-12-12 17:01:01 +01:00
|
|
|
%package -n typelib-1_0-Wnck-3_0
|
2011-12-21 05:36:23 +01:00
|
|
|
Summary: Window Navigator Construction Kit (Library Package) -- Introspection bindings
|
2011-12-12 17:01:01 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Wnck-3_0
|
|
|
|
The Window Navigator Construction Kit is a library that can be used to
|
|
|
|
write task lists, pagers, and similar GNOME programs.
|
|
|
|
|
2011-12-21 05:36:23 +01:00
|
|
|
This package provides the GObject Introspection bindings for libwnck.
|
|
|
|
|
2011-04-21 11:13:26 +02:00
|
|
|
%package tools
|
|
|
|
Summary: Window Navigator Construction Kit -- Tools
|
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
The Window Navigator Construction Kit is a library that can be used to
|
|
|
|
write task lists, pagers, and similar GNOME programs.
|
|
|
|
|
|
|
|
This package provides some utilities based on libwnck.
|
|
|
|
|
2007-07-27 01:58:25 +02:00
|
|
|
%package devel
|
2007-11-19 10:25:47 +01:00
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
2007-07-27 01:58:25 +02:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-04-21 11:13:26 +02:00
|
|
|
Requires: libwnck-3-0 = %{version}
|
2011-12-12 17:01:01 +01:00
|
|
|
Requires: typelib-1_0-Wnck-3_0 = %{version}
|
2011-05-26 17:46:26 +02:00
|
|
|
Obsoletes: libwnck-doc < %{version}
|
2009-02-20 21:15:50 +01:00
|
|
|
Provides: libwnck-doc = %{version}
|
2007-07-27 01:58:25 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
2007-08-09 16:09:41 +02:00
|
|
|
%lang_package
|
2018-03-05 14:56:55 +01:00
|
|
|
|
2007-07-27 01:58:25 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2016-06-30 01:01:04 +02:00
|
|
|
%if !0%{?is_opensuse}
|
2011-02-16 08:52:47 +01:00
|
|
|
translation-update-upstream
|
2007-07-27 01:58:25 +02:00
|
|
|
# rpmlint note: libwnck has a separate translation for both Bengali and Bengali India
|
2016-06-30 01:01:04 +02:00
|
|
|
%endif
|
2007-07-27 01:58:25 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure\
|
2011-04-21 11:01:01 +02:00
|
|
|
--disable-static
|
2018-03-05 14:56:55 +01:00
|
|
|
make %{?_smp_mflags} V=1
|
2007-07-27 01:58:25 +02:00
|
|
|
|
|
|
|
%install
|
2018-03-05 14:56:55 +01:00
|
|
|
%make_install
|
2010-07-23 10:48:08 +02:00
|
|
|
rm %{buildroot}%{_libdir}/*.*a
|
2011-04-21 11:01:01 +02:00
|
|
|
%find_lang %{name}-3.0
|
2010-07-23 10:48:08 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-08-09 16:09:41 +02:00
|
|
|
|
2011-04-21 11:01:01 +02:00
|
|
|
%post -n libwnck-3-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libwnck-3-0 -p /sbin/ldconfig
|
2007-07-27 01:58:25 +02:00
|
|
|
|
2011-04-21 11:13:26 +02:00
|
|
|
%files tools
|
2009-07-31 20:07:08 +02:00
|
|
|
%{_bindir}/wnck-urgency-monitor
|
2007-08-02 17:26:04 +02:00
|
|
|
%{_bindir}/wnckprop
|
2007-07-27 01:58:25 +02:00
|
|
|
|
2011-04-21 11:01:01 +02:00
|
|
|
%files lang -f %{name}-3.0.lang
|
2007-08-09 16:09:41 +02:00
|
|
|
|
2011-04-21 11:01:01 +02:00
|
|
|
%files -n libwnck-3-0
|
2018-03-05 14:56:55 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS README NEWS ChangeLog
|
2007-07-27 01:58:25 +02:00
|
|
|
%{_libdir}/*.so.*
|
2011-12-12 17:01:01 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Wnck-3_0
|
2011-04-21 11:01:01 +02:00
|
|
|
%{_libdir}/girepository-1.0/Wnck-3.0.typelib
|
2007-07-27 01:58:25 +02:00
|
|
|
|
|
|
|
%files devel
|
2011-04-21 11:13:26 +02:00
|
|
|
%{_includedir}/libwnck-3.0/
|
|
|
|
%{_libdir}/pkgconfig/libwnck-3.0.pc
|
2007-07-27 01:58:25 +02:00
|
|
|
%{_libdir}/*.so
|
2011-04-21 11:01:01 +02:00
|
|
|
%{_datadir}/gir-1.0/Wnck-3.0.gir
|
2009-02-17 18:29:40 +01:00
|
|
|
# Own these repositories to not depend on gtk-doc while building:
|
|
|
|
%dir %{_datadir}/gtk-doc
|
2010-03-22 15:34:56 +01:00
|
|
|
%dir %{_datadir}/gtk-doc/html
|
2011-04-21 11:13:26 +02:00
|
|
|
%{_datadir}/gtk-doc/html/libwnck-3.0/
|
2008-01-30 02:31:16 +01:00
|
|
|
|
2007-07-27 01:58:25 +02:00
|
|
|
%changelog
|