diff --git a/README.md b/README.md index ace9a5d..9221be9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libpanel +A dock/panel library for GTK 4. + diff --git a/libpanel.spec b/libpanel.spec new file mode 100644 index 0000000..5b0e253 --- /dev/null +++ b/libpanel.spec @@ -0,0 +1,75 @@ +Name: libpanel +Version: 1.4.1 +Release: 1mamba +Summary: A dock/panel library for GTK 4 +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.gnome.org/GNOME/libpanel +Source: https://gitlab.gnome.org/GNOME/libpanel.git/%{version}/libpanel-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libadwaita-devel +BuildRequires: libcairo-devel +BuildRequires: libglib-devel +BuildRequires: libgraphene-devel +BuildRequires: libgtk-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +A dock/panel library for GTK 4. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%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 + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_libdir}/libpanel-1.so.* +%{_libdir}/girepository-1.0/Panel-1.typelib +%{_datadir}/icons/hicolor/scalable/actions/panel-*.svg +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libpanel-1 +%{_includedir}/libpanel-1/* +%{_libdir}/libpanel-1.so +%{_datadir}/gir-1.0/Panel-1.gir +%{_datadir}/vala/vapi/libpanel-1.* +%{_libdir}/pkgconfig/libpanel-1.pc +%dir %{_docdir}/panel-1.0 +%{_docdir}/panel-1.0/* +%doc NEWS README.md + +%changelog +* Sat Mar 09 2024 Silvan Calarco 1.4.1-1mamba +- package created using the webbuild interface