From 7114df32a94c99fd495406c2eff4ea0bc3a5feba Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:19:18 +0100 Subject: [PATCH] automatic version update by autodist [release 0.2.1-1mamba;Tue May 07 2013] --- README.md | 2 + libgarcon.spec | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 libgarcon.spec diff --git a/README.md b/README.md index 2c8b7b4..3cac5fe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libgarcon +A menu tree management library used by XFCE. + diff --git a/libgarcon.spec b/libgarcon.spec new file mode 100644 index 0000000..6374722 --- /dev/null +++ b/libgarcon.spec @@ -0,0 +1,99 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: libgarcon +Version: 0.2.1 +Release: 1mamba +Summary: A menu tree management library used by XFCE +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://wiki.xfce.org/releng/4.8/roadmap/garcon?s[]=garcon +Source: http://archive.xfce.org/src/libs/garcon/%{majver}/garcon-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libffi-devel +BuildRequires: libglib-devel +BuildRequires: libselinux-devel +BuildRequires: libxfce4util-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 need 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. + +%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.* +%{_datadir}/desktop-directories/xfce-*.directory +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/garcon-1/* +%{_libdir}/libgarcon-1.la +%{_libdir}/libgarcon-1.so +%{_libdir}/pkgconfig/garcon-1.pc +%doc NEWS README TODO ChangeLog + +%files apidocs +%defattr(-,root,root) +%{_datadir}/gtk-doc/html/garcon + +%changelog +* Tue May 07 2013 Automatic Build System 0.2.1-1mamba +- automatic version update by autodist + +* Thu Oct 25 2012 Silvan Calarco 0.2.0-1mamba +- update to 0.2.0 + +* Wed Apr 25 2012 Automatic Build System 0.1.12-1mamba +- automatic version update by autodist + +* Sun Jun 19 2011 Automatic Build System 0.1.8-1mamba +- automatic update by autodist + +* Sun May 01 2011 Automatic Build System 0.1.7-1mamba +- automatic update by autodist + +* Sat Feb 12 2011 Silvan Calarco 0.1.5-1mamba +- package created by autospec