package created using the webbuild interface [release 0.0.20160315git-1mamba;Tue Mar 15 2016]
This commit is contained in:
parent
72fd24b727
commit
5a7618d79a
@ -1,2 +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.
|
||||||
|
|
||||||
|
57
crossguid.spec
Normal file
57
crossguid.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
Name: crossguid
|
||||||
|
Version: 0.0.20160315git
|
||||||
|
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
|
||||||
|
## 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
|
||||||
|
## 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 generator on the given platform and had a generic class for parsing, stringifying, and comparing IDs.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%build
|
||||||
|
#sh ./linux.sh
|
||||||
|
|
||||||
|
g++ -c guid.cpp -o guid.o $CXXFLAGS -std=c++11 -DGUID_LIBUUID
|
||||||
|
ar rvs libcrossguid.a guid.o
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
install -D -m0755 libcrossguid.a %{buildroot}%{_libdir}/libcrossguid.a
|
||||||
|
install -D -m644 guid.h %{buildroot}%{_includedir}/guid.h
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/guid.h
|
||||||
|
%{_libdir}/libcrossguid.a
|
||||||
|
%doc LICENSE README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* 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