Modernize packaging
This commit is contained in:
parent
430dcf252c
commit
63fa182707
@ -1,22 +1,22 @@
|
|||||||
%global enable_debugging 0
|
%global enable_debugging 0
|
||||||
|
|
||||||
Summary: A menu system for the GNOME project
|
|
||||||
Name: gnome-menus
|
Name: gnome-menus
|
||||||
Version: 3.31.4
|
Version: 3.31.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
Summary: A menu system for the GNOME project
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
URL: https://gitlab.gnome.org/GNOME/gnome-menus
|
||||||
URL: http://www.gnome.org/
|
Source0: https://download.gnome.org/sources/gnome-menus/3.31/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
Source0: http://download.gnome.org/sources/gnome-menus/3.31/%{name}-%{version}.tar.xz
|
|
||||||
|
|
||||||
Requires: redhat-menus
|
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
|
|
||||||
|
Requires: redhat-menus
|
||||||
|
|
||||||
%description
|
%description
|
||||||
gnome-menus is an implementation of the draft "Desktop
|
gnome-menus is an implementation of the draft "Desktop
|
||||||
Menu Specification" from freedesktop.org. This package
|
Menu Specification" from freedesktop.org. This package
|
||||||
@ -26,7 +26,6 @@ and a simple menu editor.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Libraries and include files for the GNOME menu system
|
Summary: Libraries and include files for the GNOME menu system
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -45,11 +44,10 @@ writing applications that use the GNOME menu system.
|
|||||||
--enable-debug=no
|
--enable-debug=no
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
%make_install
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
%find_lang gnome-menus
|
%find_lang gnome-menus
|
||||||
@ -57,7 +55,8 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files -f gnome-menus.lang
|
%files -f gnome-menus.lang
|
||||||
%doc AUTHORS NEWS COPYING.LIB
|
%license COPYING.LIB
|
||||||
|
%doc AUTHORS NEWS
|
||||||
%{_sysconfdir}/xdg/menus/gnome-applications.menu
|
%{_sysconfdir}/xdg/menus/gnome-applications.menu
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
%{_datadir}/desktop-directories/*
|
%{_datadir}/desktop-directories/*
|
||||||
|
Loading…
Reference in New Issue
Block a user