automatic version update by autodist [release 0.2.2-1mamba;Sat Feb 20 2021]
This commit is contained in:
parent
5a7618d79a
commit
7f52aea5cc
@ -1,4 +1,4 @@
|
||||
# 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
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
Name: crossguid
|
||||
Version: 0.0.20160315git
|
||||
Version: 0.2.2
|
||||
Release: 1mamba
|
||||
Summary: A minimal, cross platform, C++ GUID library
|
||||
Group: System/Libraries
|
||||
@ -7,51 +7,77 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libuuid-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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.
|
||||
This package contains the %{name} shared library.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%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
|
||||
sed -i "s|crossguid/cmake|cmake/crossguid|" CMakeLists.txt
|
||||
|
||||
%build
|
||||
#sh ./linux.sh
|
||||
%cmake -d build \
|
||||
-DCMAKE_INSTALL_DATADIR=%{_libdir}
|
||||
|
||||
g++ -c guid.cpp -o guid.o $CXXFLAGS -std=c++11 -DGUID_LIBUUID
|
||||
ar rvs libcrossguid.a guid.o
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
install -D -m0755 libcrossguid.a %{buildroot}%{_libdir}/libcrossguid.a
|
||||
install -D -m644 guid.h %{buildroot}%{_includedir}/guid.h
|
||||
%makeinstall -C build
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/crossguid/{LICENSE,README.md}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcrossguid.so.*
|
||||
%doc LICENSE
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/guid.h
|
||||
%{_libdir}/libcrossguid.a
|
||||
%doc LICENSE README.md
|
||||
%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
|
||||
|
||||
%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
|
||||
- package created using the webbuild interface
|
||||
|
Loading…
Reference in New Issue
Block a user