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 # 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) %define majver %(echo %version | cut -d. -f 1-2)
Name: gnome-common Name: gnome-common
Version: 3.12.0 Version: 3.14.0
Release: 1mamba Release: 2mamba
Summary: gnome-common contains usefull things common to building gnome packages Summary: Files required to bootstrap various Gnome modules when building from git
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
Distribution: 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 Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-common/%{majver}/gnome-common-%{version}.tar.xz
License: GPL License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: pkgconfig BuildRequires: pkgconfig
%description %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 %prep
%setup -q %setup -q
@ -27,26 +40,32 @@ Contains files required to bootstrap various Gnome modules when building from CV
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %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 %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %files devel
/sbin/ldconfig 2>/dev/null
:
%postun
/sbin/ldconfig 2>/dev/null
:
%files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/* %{_bindir}/gnome-autogen.sh
%{_datadir}/aclocal/* %{_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 %{_datadir}/gnome-common/data/*.make
#%doc COPYING %doc COPYING
#ChangeLog README #ChangeLog README
%changelog %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 * Mon Mar 24 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist - automatic version update by autodist