libgarcon/libgarcon.spec

148 lines
4.4 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: libgarcon
Version: 4.18.2
Release: 1mamba
Summary: A menu tree management library used by XFCE
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.xfce.org/
Source: https://archive.xfce.org/src/xfce/garcon/%{majver}/garcon-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
BuildRequires: libxfce4ui-devel
BuildRequires: libxfce4util-devel
## AUTOBUILDREQ-END
BuildRequires: libxfce4ui-devel >= 4.16.0
%description
A menu tree management library used by XFCE.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
A menu tree management library used by XFCE.
This package contains static libraries and header files needed for development.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%debug_package
%prep
%setup -q -n garcon-%{version}
%build
%configure \
--enable-gtk-doc
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang garcon
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f garcon.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/menus/xfce-applications.menu
%{_libdir}/libgarcon-1.so.*
%{_libdir}/libgarcon-gtk3-1.so.*
%{_libdir}/girepository-1.0/Garcon-1.0.typelib
%{_libdir}/girepository-1.0/GarconGtk-1.0.typelib
%{_datadir}/icons/hicolor/*/apps/org.xfce.garcon.png
%{_datadir}/desktop-directories/xfce-*.directory
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/garcon-1
%dir %{_includedir}/garcon-1/garcon/
%{_includedir}/garcon-1/garcon/*.h
%dir %{_includedir}/garcon-gtk3-1
%dir %{_includedir}/garcon-gtk3-1/garcon-gtk
%{_includedir}/garcon-gtk3-1/garcon-gtk/*.h
%{_libdir}/libgarcon-1.so
%{_libdir}/libgarcon-gtk3-1.so
%{_datadir}/gir-1.0/Garcon-1.0.gir
%{_datadir}/gir-1.0/GarconGtk-1.0.gir
%{_libdir}/pkgconfig/garcon-1.pc
%{_libdir}/pkgconfig/garcon-gtk3-1.pc
%doc NEWS ChangeLog
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/garcon
%{_datadir}/gtk-doc/html/garcon/*
%changelog
* Wed Feb 07 2024 Automatic Build System <autodist@openmamba.org> 4.18.2-1mamba
- automatic version update by autodist
* Wed Mar 29 2023 Automatic Build System <autodist@mambasoft.it> 4.18.1-1mamba
- automatic version update by autodist
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 4.18.0-1mamba
- automatic version update by autodist
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.1-1mamba
- update to 4.16.1
* Sat Jul 27 2019 Automatic Build System <autodist@mambasoft.it> 0.6.4-1mamba
- automatic version update by autodist
* Tue Jul 02 2019 Automatic Build System <autodist@mambasoft.it> 0.6.3-1mamba
- automatic version update by autodist
* Fri Dec 07 2018 Automatic Build System <autodist@mambasoft.it> 0.6.2-1mamba
- automatic version update by autodist
* Sat Jun 17 2017 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
- automatic version update by autodist
* Mon Mar 09 2015 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
- automatic version update by autodist
* Tue May 07 2013 Automatic Build System <autodist@mambasoft.it> 0.2.1-1mamba
- automatic version update by autodist
* Thu Oct 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-1mamba
- update to 0.2.0
* Wed Apr 25 2012 Automatic Build System <autodist@mambasoft.it> 0.1.12-1mamba
- automatic version update by autodist
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 0.1.8-1mamba
- automatic update by autodist
* Sun May 01 2011 Automatic Build System <autodist@mambasoft.it> 0.1.7-1mamba
- automatic update by autodist
* Sat Feb 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.5-1mamba
- package created by autospec