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