automatic version update by autodist [release 0.2.2-1mamba;Sat Feb 20 2021]

This commit is contained in:
Automatic Build System 2024-01-05 21:34:18 +01:00
parent 5a7618d79a
commit 7f52aea5cc
2 changed files with 39 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# crossguid # crossguid
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. CrossGuid is a minimal, cross platform, C++ GUID library. It uses the best native GUID/UUID ge

View File

@ -1,5 +1,5 @@
Name: crossguid Name: crossguid
Version: 0.0.20160315git Version: 0.2.2
Release: 1mamba Release: 1mamba
Summary: A minimal, cross platform, C++ GUID library Summary: A minimal, cross platform, C++ GUID library
Group: System/Libraries Group: System/Libraries
@ -7,51 +7,77 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/graeme-hill/crossguid URL: https://github.com/graeme-hill/crossguid
## GITSOURCE https://github.com/graeme-hill/crossguid.git master
Source: https://github.com/graeme-hill/crossguid.git/master/crossguid-%{version}.tar.bz2 Source: https://github.com/graeme-hill/crossguid.git/master/crossguid-%{version}.tar.bz2
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
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}
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. 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 the %{name} shared library.
%package -n lib%{name}-devel %package -n lib%{name}-devel
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel %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. 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}. This package contains libraries and header files for developing applications that use %{name}.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
sed -i "s|crossguid/cmake|cmake/crossguid|" CMakeLists.txt
%build %build
#sh ./linux.sh %cmake -d build \
-DCMAKE_INSTALL_DATADIR=%{_libdir}
g++ -c guid.cpp -o guid.o $CXXFLAGS -std=c++11 -DGUID_LIBUUID %make
ar rvs libcrossguid.a guid.o
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 libcrossguid.a %{buildroot}%{_libdir}/libcrossguid.a %makeinstall -C build
install -D -m644 guid.h %{buildroot}%{_includedir}/guid.h
rm -f %{buildroot}%{_libdir}/crossguid/{LICENSE,README.md}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libcrossguid.so.*
%doc LICENSE
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/guid.h %dir %{_includedir}/crossguid
%{_libdir}/libcrossguid.a %{_includedir}/crossguid/guid.hpp
%doc LICENSE README.md %{_libdir}/libcrossguid.so
%{_libdir}/pkgconfig/crossguid.pc
%dir %{_libdir}/cmake/crossguid
%{_libdir}/cmake/crossguid/crossguid-config*.cmake
%doc README.md
%changelog %changelog
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
- automatic version update by autodist
* Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20160315git-1mamba * Tue Mar 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20160315git-1mamba
- package created using the webbuild interface - package created using the webbuild interface