60 lines
1.6 KiB
RPMSpec
60 lines
1.6 KiB
RPMSpec
Name: gnome-menus
|
|
Version: 3.13.3
|
|
Release: 12
|
|
Summary: GNOME implementation of the freedesktop menu specification
|
|
License: LGPLv2+
|
|
URL: http://www.gnome.org/
|
|
|
|
Source0: http://download.gnome.org/sources/gnome-menus/3.13/gnome-menus-%{version}.tar.xz
|
|
|
|
Patch0000: fix-multiple-desktops-in-xdg-current-desktop.patch
|
|
|
|
BuildRequires: gawk gettext glib2-devel pkgconfig python2-devel intltool gobject-introspection-devel
|
|
|
|
%description
|
|
gnome-menus implement the draft "Desktop Menu Specification" from freedesktop.org.
|
|
It contains the libgnome-menu library, the layout configuration files for the GNOME
|
|
menu, as well as a simple menu editor.
|
|
|
|
%package devel
|
|
Summary: Libraries and header files for using GNOME menus system
|
|
Requires: gnome-menus = %{version}-%{release}
|
|
|
|
%description devel
|
|
This package includes development libraries for writing applications using GNOME menu system.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure --disable-static --enable-introspection --enable-debug=no
|
|
make
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%find_lang gnome-menus-3.0
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f gnome-menus-3.0.lang
|
|
%doc AUTHORS NEWS COPYING.LIB
|
|
%{_sysconfdir}/xdg/menus/gnome-applications.menu
|
|
%{_libdir}/lib*.so.*
|
|
%{_datadir}/desktop-directories/*
|
|
%{_libdir}/girepository-1.0/GMenu-3.0.typelib
|
|
|
|
%files devel
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/*
|
|
%{_includedir}/gnome-menus-3.0
|
|
%{_datadir}/gir-1.0/GMenu-3.0.gir
|
|
|
|
%changelog
|
|
* Fri Dec 06 2019 lihao <lihao129@huawei.com> - 3.13.3-12
|
|
- Package Init
|
|
|