2024-01-06 04:35:25 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-06 04:35:25 +01:00
|
|
|
Name: libhandy
|
2024-01-06 04:35:25 +01:00
|
|
|
Version: 1.0.3
|
2024-01-06 04:35:25 +01:00
|
|
|
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
|
2024-01-06 04:35:25 +01:00
|
|
|
Source: http://ftp.gnome.org/pub/gnome/sources/libhandy/%{majver}/libhandy-%{version}.tar.xz
|
|
|
|
#Source: https://source.puri.sm/Librem5/libhandy.git/v%{version}/libhandy-%{version}.tar.bz2
|
2024-01-06 04:35:25 +01:00
|
|
|
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
|
|
|
|
|
2024-01-06 04:35:25 +01:00
|
|
|
%find_lang %{name} || touch %{name}.lang
|
|
|
|
|
2024-01-06 04:35:25 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2024-01-06 04:35:25 +01:00
|
|
|
%files -f %{name}.lang
|
2024-01-06 04:35:25 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:35:25 +01:00
|
|
|
%{_libdir}/libhandy-1.so.*
|
|
|
|
%{_libdir}/glade/modules/libglade-handy-1.so
|
|
|
|
%{_libdir}/girepository-1.0/Handy-1.typelib
|
2024-01-06 04:35:25 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:35:25 +01:00
|
|
|
%{_bindir}/handy-1-demo
|
|
|
|
%dir %{_includedir}/libhandy-1
|
|
|
|
%{_includedir}/libhandy-1/*.h
|
|
|
|
%{_libdir}/libhandy-1.so
|
|
|
|
%{_libdir}/pkgconfig/libhandy-1.pc
|
|
|
|
%{_datadir}/gir-1.0/Handy-1.gir
|
|
|
|
%{_datadir}/glade/catalogs/libhandy-1.xml
|
|
|
|
%{_datadir}/vala/vapi/libhandy-1.deps
|
|
|
|
%{_datadir}/vala/vapi/libhandy-1.vapi
|
2024-01-06 04:35:25 +01:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:35:25 +01:00
|
|
|
* Thu Dec 24 2020 Automatic Build System <autodist@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:35:25 +01:00
|
|
|
* Fri Nov 13 2020 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
|
|
|
|
- update to 1.0.1
|
|
|
|
|
|
|
|
* Sun Nov 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.80.0-1mamba
|
|
|
|
- update to 0.80.0
|
|
|
|
|
2024-01-06 04:35:25 +01:00
|
|
|
* Mon Mar 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.13-1mamba
|
|
|
|
- package created using the webbuild interface
|