82 lines
2.1 KiB
RPMSpec
82 lines
2.1 KiB
RPMSpec
Name: libhandy
|
|
Version: 0.0.13
|
|
Release: 1mamba
|
|
Summary: A library full of GTK+ widgets for mobile phones
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://source.puri.sm/Librem5/libhandy.git
|
|
## GITSOURCE https://source.puri.sm/Librem5/libhandy.git v0.0.13
|
|
Source: https://source.puri.sm/Librem5/libhandy.git/v%{version}/libhandy-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glade-devel
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libpango-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
A library full of GTK+ widgets for mobile phones.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description 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 -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libhandy-0.0.so.*
|
|
%{_libdir}/girepository-1.0/Handy-0.0.typelib
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/handy-0.0-demo
|
|
%dir %{_includedir}/libhandy-0.0
|
|
%{_includedir}/libhandy-0.0/*.h
|
|
%{_libdir}/glade/modules/libglade-handy.so
|
|
%{_libdir}/libhandy-0.0.so
|
|
%{_libdir}/pkgconfig/libhandy-0.0.pc
|
|
%{_datadir}/gir-1.0/Handy-0.0.gir
|
|
%{_datadir}/glade/catalogs/libhandy.xml
|
|
%{_datadir}/vala/vapi/libhandy-0.0.deps
|
|
%{_datadir}/vala/vapi/libhandy-0.0.vapi
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Mon Mar 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.13-1mamba
|
|
- package created using the webbuild interface
|