produce a -devel package

remove files conflicting with autoconf-archive and require it and autoconf [release 3.14.0-2mamba;Mon Oct 20 2014]
This commit is contained in:
Silvan Calarco 2024-01-05 23:10:42 +01:00
parent 60a8a448de
commit 26cd504acd
2 changed files with 36 additions and 17 deletions

View File

@ -1,4 +1,4 @@
# gnome-common
Contains files required to bootstrap various Gnome modules when building from CVS.
gnome-common contains files required to bootstrap various Gnome modules when building from git.

View File

@ -1,8 +1,8 @@
%define majver %(echo %version | cut -d. -f 1-2)
Name: gnome-common
Version: 3.12.0
Release: 1mamba
Summary: gnome-common contains usefull things common to building gnome packages
Version: 3.14.0
Release: 2mamba
Summary: Files required to bootstrap various Gnome modules when building from git
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
@ -11,10 +11,23 @@ URL: http://live.gnome.org
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-common/%{majver}/gnome-common-%{version}.tar.xz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
%description
Contains files required to bootstrap various Gnome modules when building from CVS.
gnome-common contains files required to bootstrap various Gnome modules when building from git.
%package devel
Group: Development/Libraries
Summary: Files required to bootstrap various Gnome modules when building from git
Provides: gnome-common
Obsoletes: gnome-common
Requires: autoconf
Requires: autoconf-archive
%description devel
gnome-common contains files required to bootstrap various Gnome modules when building from git.
%prep
%setup -q
@ -27,26 +40,32 @@ Contains files required to bootstrap various Gnome modules when building from CV
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# provided by autoconf-archive
rm -f %{buildroot}%{_datadir}/aclocal/ax_check_enable_debug.m4
rm -f %{buildroot}%{_datadir}/aclocal/ax_code_coverage.m4
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig 2>/dev/null
:
%postun
/sbin/ldconfig 2>/dev/null
:
%files
%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/aclocal/*
%{_bindir}/gnome-autogen.sh
%{_bindir}/gnome-doc-common
%{_datadir}/aclocal/gnome-code-coverage.m4
%{_datadir}/aclocal/gnome-common.m4
%{_datadir}/aclocal/gnome-compiler-flags.m4
%{_datadir}/gnome-common/data/*.make
#%doc COPYING
%doc COPYING
#ChangeLog README
%changelog
* Mon Oct 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.0-2mamba
- produce a -devel package
- remove files conflicting with autoconf-archive and require it and autoconf
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
- automatic version update by autodist
* Mon Mar 24 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist