Add mm-common and libxml++ packages (#215)
This commit is contained in:
Родитель
a7682dd26d
Коммит
c42ddb8c0c
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"libxml++-3.2.0.tar.xz": "b786fae7fd7820d356698069a787d107995c3efcbef50d8f4efd3766ab768e4f"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,73 @@
|
|||
Summary: libxml++
|
||||
Name: libxml++
|
||||
Version: 3.2.0
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
URL: http://libxmlplusplus.sourceforge.net/
|
||||
Source0: https://ftp.gnome.org/pub/GNOME/sources/%{name}/3.2/%{name}-%{version}.tar.xz
|
||||
BuildRequires: glibmm24-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: mm-common
|
||||
BuildRequires: pkg-config
|
||||
Requires: glibmm24
|
||||
Requires: libxml2
|
||||
|
||||
%description
|
||||
This library provides a C++ interface to XML files. It uses libxml2 to access
|
||||
the XML files, and in order to configure libxml++ you must have both libxml2 and
|
||||
pkg-config installed.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/Other
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
Documentation for %{name}
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
This library provides a C++ interface to XML files.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libxml++-3.0/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
%files doc
|
||||
%{_docdir}/*
|
||||
%{_datadir}/devhelp/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 12 2020 Thomas Crain <thcrain@microsoft.com> - 3.2.0-3
|
||||
- Remove .la files
|
||||
- License verified
|
||||
|
||||
* Fri Jun 05 2020 Jonathan Chiu <jochi@microsoft.com> - 3.2.0-2
|
||||
- Update dependency names
|
||||
|
||||
* Mon Mar 30 2020 Jonathan Chiu <jochi@microsoft.com> - 3.2.0-1
|
||||
- Original version for CBL-Mariner
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"mm-common-1.0.0.tar.xz": "b97d9b041e5952486cab620b44ab09f6013a478f43b6699ae899b8a4da189cd4"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,52 @@
|
|||
Summary: mm-common module
|
||||
Name: mm-common
|
||||
Version: 1.0.0
|
||||
Release: 3%{?dist}
|
||||
License: LGPLv2+
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://gtkmm.org
|
||||
Source0: https://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}.tar.xz
|
||||
%define debug_package %{nil}
|
||||
BuildRequires: pkg-config
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
The mm-common module provides the build infrastructure and utilities
|
||||
shared among the GNOME C++ binding libraries. It is only a required
|
||||
dependency for building the C++ bindings from the gnome.org version
|
||||
control repository.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README
|
||||
%{_bindir}/*
|
||||
%{_datadir}/%{name}/*
|
||||
%{_datadir}/pkgconfig/*
|
||||
%{_datadir}/aclocal/*
|
||||
%{_docdir}/%{name}/*
|
||||
%{_mandir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 12 2020 Thomas Crain <thcrain@microsoft.com> - 1.0.0-3
|
||||
- Update Source0 (removes need for libstdc++.tag file)
|
||||
- Lint for Mariner style
|
||||
- License verified
|
||||
|
||||
* Tue Jun 09 2020 Jonathan Chiu <jochi@microsoft.com> - 1.0.0-2
|
||||
- Include libstdc++.tag in source files so package can be built offline
|
||||
|
||||
* Mon Mar 30 2020 Jonathan Chiu <jochi@microsoft.com> - 1.0.0-1
|
||||
- Original version for CBL-Mariner
|
|
@ -2641,6 +2641,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "libxml++",
|
||||
"version": "3.2.0",
|
||||
"downloadUrl": "http://ftp.gnome.org/pub/GNOME/sources/libxml++/3.2/libxml++-3.2.0.tar.xz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -2961,6 +2971,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "mm-common",
|
||||
"version": "1.0.0",
|
||||
"downloadUrl": "http://ftp.gnome.org/pub/GNOME/sources/mm-common/1.0/mm-common-1.0.0.tar.xz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
|
Загрузка…
Ссылка в новой задаче