specfile fixes; closes #1 [release 3.36.0-3mamba;Sat Nov 02 2024]

This commit is contained in:
Silvan Calarco 2024-11-03 21:01:59 +01:00
parent 3c64b21993
commit 32dbcb83cb
2 changed files with 10 additions and 17 deletions

View File

@ -1,7 +1,5 @@
# gnome-menus
The package contains an implementation of the draft "Desktop Menu Specification" from freedesktop.org:
http://www.freedesktop.org/Standards/menu-spec
The package contains an implementation of the draft "Desktop Menu Specification" from freedesktop.org: http://www.freedesktop.org/Standards/menu-spec
Also contained here are the GNOME menu layout configuration files, .directory files and assorted menu related utility programs.

View File

@ -1,39 +1,35 @@
%define majver %(echo %version | cut -d. -f 1-2)
Name: gnome-menus
Version: 3.36.0
Release: 2mamba
Summary: GNOME menu library
Release: 3mamba
Summary: GNOME menu specifications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org
URL: https://www.gnome.org
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-menus/%{majver}/gnome-menus-%{version}.tar.xz
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
BuildRequires: intltool
BuildRequires: gettext-devel
BuildRequires: pkgconfig
Obsoletes: libgnome-menus
Provides: libgnome-menus = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libgnome-menus < 3.36.0-3mamba
Requires: xdg-utils >= 1.0.2-4mamba
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The package contains an implementation of the draft "Desktop Menu Specification" from freedesktop.org:
http://www.freedesktop.org/Standards/menu-spec
The package contains an implementation of the draft "Desktop Menu Specification" from freedesktop.org: http://www.freedesktop.org/Standards/menu-spec
Also contained here are the GNOME menu layout configuration files, .directory files and assorted menu related utility programs.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Obsoletes: libgnome-menus-devel
Provides: libgnome-menus-devel = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libgnome-menus-devel < 3.36.0-3mamba
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
@ -59,9 +55,6 @@ This package contains static libraries and header files needed for development.
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/menus/gnome-applications.menu
@ -73,7 +66,6 @@ This package contains static libraries and header files needed for development.
%files devel
%defattr(-,root,root)
%{_libdir}/libgnome-menu-3.a
%{_libdir}/libgnome-menu-3.la
%{_libdir}/libgnome-menu-3.so
%{_datadir}/gir-1.0/GMenu-*.gir
%dir %{_includedir}/gnome-menus-3.0
@ -82,6 +74,9 @@ This package contains static libraries and header files needed for development.
%doc ChangeLog NEWS README
%changelog
* Sat Nov 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.36.0-3mamba
- specfile fixes; closes #1
* Fri Jan 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.36.0-2mamba
- added debug package and removed python requirements