Upgrade to 3.36.0 Update Version, Release, Source0, stage 'build' and 'files' Delete old patch that existed in new version, add new patch
68 lines
1.8 KiB
RPMSpec
68 lines
1.8 KiB
RPMSpec
Name: gnome-menus
|
|
Version: 3.36.0
|
|
Release: 1
|
|
Summary: GNOME implementation of the freedesktop menu specification
|
|
License: LGPLv2+
|
|
URL: http://www.gnome.org/
|
|
|
|
Source0: http://download.gnome.org/sources/gnome-menus/3.36/gnome-menus-%{version}.tar.xz
|
|
|
|
Patch0000: 14.patch
|
|
|
|
BuildRequires: gawk gettext glib2-devel pkgconfig python3-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_build
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%find_lang gnome-menus
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f gnome-menus.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
|
|
* Mon May 31 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.36.0-1
|
|
- Upgrade to 3.36.0
|
|
- Update Version, Release, Source0, stage 'build' and 'files'
|
|
- Delete old patch that existed in new version, add new patch
|
|
|
|
* Mon Oct 26 2020 huanghaitao <huanghaitao8@huawei.com> - 3.13.3-13
|
|
- Switch python3
|
|
|
|
* Fri Dec 06 2019 lihao <lihao129@huawei.com> - 3.13.3-12
|
|
- Package Init
|
|
|