From 394c13c1281a0c4ff2b6994eaf3b7c6779312c45 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:27:02 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.10.0-1mamba;Fri Mar 13 2020] --- README.md | 2 ++ graphene.spec | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 graphene.spec diff --git a/README.md b/README.md index b78fd72..d7d6cc3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # graphene +A thin layer of graphic data types. + diff --git a/graphene.spec b/graphene.spec new file mode 100644 index 0000000..cc04d73 --- /dev/null +++ b/graphene.spec @@ -0,0 +1,87 @@ +Name: graphene +Version: 1.10.0 +Release: 1mamba +Summary: A thin layer of graphic data types +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://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 +* Fri Mar 13 2020 Silvan Calarco 1.10.0-1mamba +- package created using the webbuild interface