Accepting request 225525 from X11:MATE:Factory
Push X11:M:N to X11:M:F; new libraries (external dependencies) and a lot of renamed packages Fix license OBS-URL: https://build.opensuse.org/request/show/225525 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdbusmenu?expand=0&rev=1
This commit is contained in:
commit
b999c5be34
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
14
libdbusmenu.changes
Normal file
14
libdbusmenu.changes
Normal file
@ -0,0 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 10 20:06:16 UTC 2014 - cfarrell@suse.com
|
||||
|
||||
- license update: GPL-3.0 and (LGPL-2.1 or LGPL-3.0)
|
||||
Interaction is not aggregation (^and^) but rather option (^or^). Also,
|
||||
the GPL-3.0 components are in the separate tools/ subdirectory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 7 17:15:56 UTC 2014 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Init libdbusmenu package
|
||||
|
||||
|
||||
|
373
libdbusmenu.spec
Normal file
373
libdbusmenu.spec
Normal file
@ -0,0 +1,373 @@
|
||||
#
|
||||
# spec file for package libdbusmenu
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%define _soname_glib 4
|
||||
%define _soname_gtk2 4
|
||||
%define _soname_gtk3 4
|
||||
%define _soname_jsonloader 4
|
||||
|
||||
Name: libdbusmenu
|
||||
Version: 12.10.3+14.04.20140217.1
|
||||
Release: 0
|
||||
Summary: Small library that passes a menu structure across DBus
|
||||
License: GPL-3.0 and (LGPL-2.1 or LGPL-3.0)
|
||||
Group: System/Libraries
|
||||
Url: https://launchpad.net/dbusmenu
|
||||
Source: http://archive.ubuntu.com/ubuntu/pool/main/libd/libdbusmenu/%{name}_%{version}.orig.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gnome-common
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: vala
|
||||
BuildRequires: pkgconfig(atk)
|
||||
BuildRequires: pkgconfig(dbus-glib-1)
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(gnome-doc-utils)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(json-glib-1.0)
|
||||
BuildRequires: pkgconfig(valgrind)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
A small little library that was created by pulling out some comon code out of
|
||||
indicator-applet. It passes a menu structure across DBus so that a program can
|
||||
create a menu simply without worrying about how it is displayed on the other
|
||||
side of the bus.
|
||||
|
||||
|
||||
%package tools
|
||||
Summary: Development tools for the dbusmenu libraries
|
||||
Group: Development/Tools/Other
|
||||
Requires: %{name}-glib%{_soname_glib} = %{version}
|
||||
|
||||
%description tools
|
||||
This packages contains the development tools for the dbusmenu libraries.
|
||||
|
||||
|
||||
%package glib%{_soname_glib}
|
||||
Summary: Small library that passes a menu structure across DBus
|
||||
Group: System/Libraries
|
||||
|
||||
%description glib%{_soname_glib}
|
||||
This package contains the shared libraries for the dbusmenu-glib library.
|
||||
|
||||
|
||||
%package -n typelib-1_0-Dbusmenu-0_4
|
||||
Summary: Small library that passes a menu structure across DBus - Introspection bindings
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-Dbusmenu-0_4
|
||||
This package contains the GObject Introspection bindings for the dbusmenu
|
||||
library.
|
||||
|
||||
|
||||
%package glib-devel
|
||||
Summary: Development files for libdbusmenu-glib
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-glib%{_soname_glib} = %{version}
|
||||
Requires: gtk2-devel
|
||||
Requires: pkgconfig(dbus-glib-1)
|
||||
|
||||
%description glib-devel
|
||||
This package contains the development files for the dbusmenu-glib library.
|
||||
|
||||
|
||||
%package glib-doc
|
||||
Summary: Documentation for libdbusmenu-glib%{_soname_glib}
|
||||
Group: Documentation/HTML
|
||||
BuildArch: noarch
|
||||
|
||||
%description glib-doc
|
||||
This package includes the documentation for the dbusmenu-glib library.
|
||||
|
||||
|
||||
%package gtk%{_soname_gtk2}
|
||||
Summary: Small library that passes a menu structure across DBus - GTK2 version
|
||||
Group: System/Libraries
|
||||
Requires: gtk2
|
||||
|
||||
%description gtk%{_soname_gtk2}
|
||||
This package contains the shared libraries for the dbusmenu-gtk2 library.
|
||||
|
||||
|
||||
%package -n typelib-1_0-DbusmenuGtk-0_4
|
||||
Summary: Small library that passes a menu structure across DBus - Introspection bindings
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-DbusmenuGtk-0_4
|
||||
This package contains the GObject Introspection bindings for the GTK 2 version
|
||||
of the dbusmenu-gtk library.
|
||||
|
||||
|
||||
%package gtk-devel
|
||||
Summary: Development files for libdbusmenu-gtk%{_soname_gtk2}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-glib-devel = %{version}
|
||||
Requires: %{name}-gtk%{_soname_gtk2} = %{version}
|
||||
Requires: gtk2-devel
|
||||
Requires: pkgconfig(dbus-glib-1)
|
||||
|
||||
%description gtk-devel
|
||||
This package contains the development files for the dbusmenu-gtk2 library.
|
||||
|
||||
|
||||
%package gtk3-%{_soname_gtk3}
|
||||
Summary: Small library that passes a menu structure across DBus - GTK3 version
|
||||
Group: System/Libraries
|
||||
|
||||
%description gtk3-%{_soname_gtk3}
|
||||
This package contains the shared libraries for the dbusmenu-gtk3 library.
|
||||
|
||||
|
||||
%package -n typelib-1_0-DbusmenuGtk3-0_4
|
||||
Summary: Small library that passes a menu structure across DBus - Introspection bindings
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-DbusmenuGtk3-0_4
|
||||
This package contains the GObject Introspection bindings for the GTK 3 version
|
||||
of the dbusmenu-gtk library.
|
||||
|
||||
|
||||
%package gtk3-devel
|
||||
Summary: Development files for libdbusmenu-gtk3-%{_soname_gtk3}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-glib-devel = %{version}
|
||||
Requires: %{name}-gtk3-%{_soname_gtk3} = %{version}
|
||||
Requires: gtk3-devel
|
||||
Requires: pkgconfig(dbus-glib-1)
|
||||
|
||||
%description gtk3-devel
|
||||
This package contains the development files for the dbusmenu-gtk3 library.
|
||||
|
||||
|
||||
%package gtk-doc
|
||||
Summary: Documentation for libdbusmenu-gtk%{_soname_gtk2} and libdbusmenu-gtk3-%{_soname_gtk3}
|
||||
Group: Documentation/HTML
|
||||
BuildArch: noarch
|
||||
|
||||
%description gtk-doc
|
||||
This package contains the documentation for the dbusmenu-gtk2 and dbusmenu-gtk3
|
||||
libraries.
|
||||
|
||||
|
||||
%package jsonloader%{_soname_jsonloader}
|
||||
Summary: Small library that passes a menu structure across DBus - Test library
|
||||
Group: System/Libraries
|
||||
|
||||
%description jsonloader%{_soname_jsonloader}
|
||||
This package contains the shared libraries for dbusmenu-jsonloader, a library
|
||||
meant for test suites.
|
||||
|
||||
|
||||
%package jsonloader-devel
|
||||
Summary: Development files for libdbusmenu-jsonloader%{_soname_jsonloader}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-glib-devel = %{version}
|
||||
Requires: %{name}-jsonloader%{_soname_jsonloader} = %{version}
|
||||
Requires: pkgconfig(dbus-glib-1)
|
||||
Requires: pkgconfig(json-glib-1.0)
|
||||
|
||||
%description jsonloader-devel
|
||||
This package contains the development files for the dbusmenu-jsonloader library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%global _configure ../configure
|
||||
NOCONFIGURE=1 sh autogen.sh
|
||||
export V=1
|
||||
mkdir -p build-gtk2 build-gtk3
|
||||
|
||||
pushd build-gtk2
|
||||
%configure --disable-scrollkeeper --enable-gtk-doc --enable-introspection \
|
||||
--with-gtk=2 --disable-static
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
pushd build-gtk3
|
||||
%configure --disable-scrollkeeper --enable-gtk-doc --enable-introspection \
|
||||
--with-gtk=3 --disable-static
|
||||
make %{?_smp_mflags}
|
||||
popd
|
||||
|
||||
%install
|
||||
pushd build-gtk2
|
||||
%make_install
|
||||
popd
|
||||
|
||||
pushd build-gtk3
|
||||
%make_install
|
||||
popd
|
||||
|
||||
# Remove libtool files
|
||||
find %{buildroot} -type f -name '*.la' -delete
|
||||
|
||||
# Put documentation in correct directory
|
||||
install -dm755 %{buildroot}%{_docdir}/%{name}-tools/
|
||||
mv %{buildroot}%{_datadir}/doc/%{name}/README.dbusmenu-bench \
|
||||
%{buildroot}%{_docdir}/%{name}-tools/
|
||||
|
||||
# Put examples in correct documentation directory
|
||||
install -dm755 %{buildroot}%{_docdir}/%{name}-glib-devel/examples/
|
||||
mv %{buildroot}%{_datadir}/doc/%{name}/examples/glib-server-nomenu.c \
|
||||
%{buildroot}%{_docdir}/%{name}-glib-devel/examples/
|
||||
|
||||
%post glib%{_soname_glib} -p /sbin/ldconfig
|
||||
|
||||
%postun glib%{_soname_glib} -p /sbin/ldconfig
|
||||
|
||||
%post gtk%{_soname_gtk2} -p /sbin/ldconfig
|
||||
|
||||
%postun gtk%{_soname_gtk2} -p /sbin/ldconfig
|
||||
|
||||
%post gtk3-%{_soname_gtk3} -p /sbin/ldconfig
|
||||
|
||||
%postun gtk3-%{_soname_gtk3} -p /sbin/ldconfig
|
||||
|
||||
%post jsonloader%{_soname_jsonloader} -p /sbin/ldconfig
|
||||
|
||||
%postun jsonloader%{_soname_jsonloader} -p /sbin/ldconfig
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%{_libexecdir}/dbusmenu-bench
|
||||
%{_libexecdir}/dbusmenu-dumper
|
||||
%{_libexecdir}/dbusmenu-testapp
|
||||
%dir %{_datadir}/%{name}/
|
||||
%dir %{_datadir}/%{name}/json/
|
||||
%{_datadir}/%{name}/json/test-gtk-label.json
|
||||
%doc %dir %{_docdir}/%{name}-tools/
|
||||
%doc %{_docdir}/%{name}-tools/README.dbusmenu-bench
|
||||
|
||||
%files glib%{_soname_glib}
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%{_libdir}/libdbusmenu-glib.so.%{_soname_glib}*
|
||||
|
||||
%files -n typelib-1_0-Dbusmenu-0_4
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%{_libdir}/girepository-1.0/Dbusmenu-0.4.typelib
|
||||
|
||||
%files glib-devel
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%dir %{_includedir}/libdbusmenu-glib-0.4/
|
||||
%dir %{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-glib/
|
||||
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-glib/client.h
|
||||
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-glib/dbusmenu-glib.h
|
||||
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-glib/enum-types.h
|
||||
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-glib/menuitem-proxy.h
|
||||
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-glib/menuitem.h
|
||||
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-glib/server.h
|
||||
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-glib/types.h
|
||||
%{_libdir}/pkgconfig/dbusmenu-glib-0.4.pc
|
||||
%{_libdir}/libdbusmenu-glib.so
|
||||
%{_datadir}/gir-1.0/Dbusmenu-0.4.gir
|
||||
%dir %{_datadir}/vala/vapi/
|
||||
%{_datadir}/vala/vapi/Dbusmenu-0.4.vapi
|
||||
%doc %dir %{_docdir}/%{name}-glib-devel/
|
||||
%doc %dir %{_docdir}/%{name}-glib-devel/examples/
|
||||
%doc %{_docdir}/%{name}-glib-devel/examples/glib-server-nomenu.c
|
||||
|
||||
%files glib-doc
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%doc %{_datadir}/gtk-doc/html/libdbusmenu-glib/
|
||||
|
||||
%files gtk%{_soname_gtk2}
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%{_libdir}/libdbusmenu-gtk.so.%{_soname_gtk2}*
|
||||
|
||||
%files -n typelib-1_0-DbusmenuGtk-0_4
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%{_libdir}/girepository-1.0/DbusmenuGtk-0.4.typelib
|
||||
|
||||
%files gtk-devel
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%dir %{_includedir}/libdbusmenu-gtk-0.4/
|
||||
%dir %{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/
|
||||
%{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/client.h
|
||||
%{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/dbusmenu-gtk.h
|
||||
%{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/menu.h
|
||||
%{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/menuitem.h
|
||||
%{_includedir}/libdbusmenu-gtk-0.4/libdbusmenu-gtk/parser.h
|
||||
%{_libdir}/pkgconfig/dbusmenu-gtk-0.4.pc
|
||||
%{_libdir}/libdbusmenu-gtk.so
|
||||
%{_datadir}/gir-1.0/DbusmenuGtk-0.4.gir
|
||||
%dir %{_datadir}/vala/vapi/
|
||||
%{_datadir}/vala/vapi/DbusmenuGtk-0.4.vapi
|
||||
|
||||
%files gtk3-%{_soname_gtk3}
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%{_libdir}/libdbusmenu-gtk3.so.%{_soname_gtk3}*
|
||||
|
||||
%files -n typelib-1_0-DbusmenuGtk3-0_4
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%{_libdir}/girepository-1.0/DbusmenuGtk3-0.4.typelib
|
||||
|
||||
%files gtk3-devel
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%dir %{_includedir}/libdbusmenu-gtk3-0.4/
|
||||
%dir %{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/
|
||||
%{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/client.h
|
||||
%{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/dbusmenu-gtk.h
|
||||
%{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/menu.h
|
||||
%{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/menuitem.h
|
||||
%{_includedir}/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/parser.h
|
||||
%{_libdir}/pkgconfig/dbusmenu-gtk3-0.4.pc
|
||||
%{_libdir}/libdbusmenu-gtk3.so
|
||||
%{_datadir}/gir-1.0/DbusmenuGtk3-0.4.gir
|
||||
%dir %{_datadir}/vala/vapi/
|
||||
%{_datadir}/vala/vapi/DbusmenuGtk3-0.4.vapi
|
||||
|
||||
%files gtk-doc
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%doc %{_datadir}/gtk-doc/html/libdbusmenu-gtk/
|
||||
|
||||
%files jsonloader%{_soname_jsonloader}
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%{_libdir}/libdbusmenu-jsonloader.so.%{_soname_jsonloader}*
|
||||
|
||||
%files jsonloader-devel
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS COPYING*
|
||||
%dir %{_includedir}/libdbusmenu-glib-0.4/
|
||||
%dir %{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-jsonloader/
|
||||
%{_includedir}/libdbusmenu-glib-0.4/libdbusmenu-jsonloader/json-loader.h
|
||||
%{_libdir}/pkgconfig/dbusmenu-jsonloader-0.4.pc
|
||||
%{_libdir}/libdbusmenu-jsonloader.so
|
||||
|
||||
%changelog
|
3
libdbusmenu_12.10.3+14.04.20140217.1.orig.tar.gz
Normal file
3
libdbusmenu_12.10.3+14.04.20140217.1.orig.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b4ce24179f398cf7c55727bd68d3d93f5f9ac8b7601651cab067923d41aec701
|
||||
size 2367871
|
Loading…
x
Reference in New Issue
Block a user