2024-01-05 21:34:18 +01:00
|
|
|
Name: crossguid
|
2024-01-05 21:34:18 +01:00
|
|
|
Version: 0.2.2.52
|
2024-01-05 21:34:18 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A minimal, cross platform, C++ GUID library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/graeme-hill/crossguid
|
|
|
|
Source: https://github.com/graeme-hill/crossguid.git/master/crossguid-%{version}.tar.bz2
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 21:34:18 +01:00
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libuuid-devel
|
2024-01-05 21:34:18 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
2024-01-05 21:34:18 +01:00
|
|
|
CrossGuid is a minimal, cross platform, C++ GUID library. It uses the best native GUID/UUID ge
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared library for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
2024-01-05 21:34:18 +01:00
|
|
|
CrossGuid is a minimal, cross platform, C++ GUID library. It uses the best native GUID/UUID generator on the given platform and had a generic class for parsing, stringifying, and comparing IDs.
|
2024-01-05 21:34:18 +01:00
|
|
|
This package contains the %{name} shared library.
|
2024-01-05 21:34:18 +01:00
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
2024-01-05 21:34:18 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 21:34:18 +01:00
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
CrossGuid is a minimal, cross platform, C++ GUID library. It uses the best native GUID/UUID generator on the given platform and had a generic class for parsing, stringifying, and comparing IDs.
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 21:34:18 +01:00
|
|
|
sed -i "s|crossguid/cmake|cmake/crossguid|" CMakeLists.txt
|
2024-01-05 21:34:18 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:34:18 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DCMAKE_INSTALL_DATADIR=%{_libdir}
|
2024-01-05 21:34:18 +01:00
|
|
|
|
2024-01-05 21:34:18 +01:00
|
|
|
%make
|
2024-01-05 21:34:18 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:34:18 +01:00
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/crossguid/{LICENSE,README.md}
|
|
|
|
|
2024-01-05 21:34:18 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 21:34:18 +01:00
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcrossguid.so.*
|
|
|
|
%doc LICENSE
|
|
|
|
|
2024-01-05 21:34:18 +01:00
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:34:18 +01:00
|
|
|
%dir %{_includedir}/crossguid
|
|
|
|
%{_includedir}/crossguid/guid.hpp
|
|
|
|
%{_libdir}/libcrossguid.so
|
|
|
|
%{_libdir}/pkgconfig/crossguid.pc
|
|
|
|
%dir %{_libdir}/cmake/crossguid
|
|
|
|
%{_libdir}/cmake/crossguid/crossguid-config*.cmake
|
|
|
|
%doc README.md
|
2024-01-05 21:34:18 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:34:18 +01:00
|
|
|
* Fri Dec 24 2021 Automatic Build System <autodist@mambasoft.it> 0.2.2.52-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:34:18 +01:00
|
|
|
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:34:18 +01:00
|
|
|
* Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20160315git-1mamba
|
|
|
|
- package created using the webbuild interface
|