added debug package and removed python requirements [release 3.36.0-2mamba;Fri Jan 01 2021]
This commit is contained in:
parent
dbdea7869d
commit
3c64b21993
@ -1,32 +1,23 @@
|
||||
%define gnomever 3.4
|
||||
%define gnomemajver %(echo %gnomever | cut -d. -f 1-2)
|
||||
%define majver %(echo %version | cut -d. -f 1-2)
|
||||
%define gnomegroup desktop
|
||||
%define pkgname gnome-menus
|
||||
|
||||
Name: gnome-menus
|
||||
Version: 3.36.0
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: GNOME menu library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.gnome.org
|
||||
# bugfixes: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}
|
||||
Source: http://ftp.gnome.org/pub/GNOME/sources/%{pkgname}/%{majver}/%{pkgname}-%{version}.tar.xz
|
||||
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
|
||||
BuildRequires: libfam-devel
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: python
|
||||
## AUTOBUILDREQ-END
|
||||
%{py_requires}
|
||||
Obsoletes: libgnome-menus
|
||||
Provides: libgnome-menus = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: xdg-utils >= 1.0.2-4mamba
|
||||
@ -47,29 +38,24 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package implements the freedesktop.org desktop menu specification for the GNOME desktop. Also contained in this package, are the menu layout configuration files, .directory and assorted menu utility programs.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkgname}-%{version}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/%{python_sitearch}/*.la
|
||||
rm -f %{buildroot}%{_libdir}/%{python_sitearch}/*.a
|
||||
|
||||
#mv %{buildroot}%{_sysconfdir}/xdg/menus/applications.menu %{buildroot}%{_sysconfdir}/xdg/menus/gnome-applications.menu
|
||||
|
||||
#rm -f %{buildroot}%{_datadir}/desktop-directories/Desktop.directory
|
||||
#rm -f %{buildroot}%{_bindir}/gnome-menu-spec-test
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -79,16 +65,9 @@ rm -f %{buildroot}%{_libdir}/%{python_sitearch}/*.a
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_sysconfdir}/xdg/menus/gnome-applications.menu
|
||||
#%{_bindir}/gmenu-simple-editor
|
||||
%{_libdir}/libgnome-menu-3.so.*
|
||||
%{_libdir}/girepository-1.0/GMenu-*.typelib
|
||||
#%dir %{python_sitearch}/GMenuSimpleEditor
|
||||
#%{python_sitearch}/GMenuSimpleEditor/*
|
||||
#%{_datadir}/applications/
|
||||
%{_datadir}/desktop-directories/
|
||||
#%{_datadir}/gnome-menus/glade/
|
||||
#%{_datadir}/gnome-menus/examples/gnome-menus-ls.py
|
||||
#%{_datadir}/gnome-menus/ui/gmenu-simple-editor.ui
|
||||
%{_datadir}/desktop-directories/*.directory
|
||||
%doc AUTHORS COPYING COPYING.LIB
|
||||
|
||||
%files devel
|
||||
@ -103,6 +82,9 @@ rm -f %{buildroot}%{_libdir}/%{python_sitearch}/*.a
|
||||
%doc ChangeLog NEWS README
|
||||
|
||||
%changelog
|
||||
* Fri Jan 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.36.0-2mamba
|
||||
- added debug package and removed python requirements
|
||||
|
||||
* Thu Mar 12 2020 Automatic Build System <autodist@mambasoft.it> 3.36.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user