graphene/graphene.spec

94 lines
2.6 KiB
RPMSpec

Name: graphene
Version: 1.10.4
Release: 1mamba
Summary: A thin layer of graphic data types
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://ebassi.github.com/graphene
## GITSOURCE https://github.com/ebassi/graphene.git 1.10.0
Source: https://github.com/ebassi/graphene.git/%{version}/graphene-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A thin layer of graphic data types.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%dir %{_datadir}/installed-tests/graphene-1.0
%{_datadir}/installed-tests/graphene-1.0/*.test
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libgraphene-1.0.so.*
%dir %{_libexecdir}/installed-tests/graphene-1.0
%{_libexecdir}/installed-tests/graphene-1.0/*
%{_libdir}/girepository-1.0/Graphene-1.0.typelib
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/graphene-1.0
%{_includedir}/graphene-1.0/graphene*.h
%{_libdir}/graphene-1.0/include/graphene-config.h
%{_libdir}/libgraphene-1.0.so
%{_libdir}/pkgconfig/graphene-1.0.pc
%{_libdir}/pkgconfig/graphene-gobject-1.0.pc
%{_datadir}/gir-1.0/Graphene-1.0.gir
%doc README.md
%changelog
* Wed Feb 10 2021 Automatic Build System <autodist@mambasoft.it> 1.10.4-1mamba
- automatic version update by autodist
* Wed Jun 24 2020 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
- automatic version update by autodist
* Fri Mar 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-1mamba
- package created using the webbuild interface