From af4517dac3af0b627fe2fc2fa57034835c196f8b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:22:38 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.2.0-1mamba;Sun Jun 22 2014] --- README.md | 2 ++ cinnamon-menus.spec | 78 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 cinnamon-menus.spec diff --git a/README.md b/README.md index 6af79bd..f15ac8b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # cinnamon-menus +cinnamon menus library derived from gnome-menus. + diff --git a/cinnamon-menus.spec b/cinnamon-menus.spec new file mode 100644 index 0000000..4f372d5 --- /dev/null +++ b/cinnamon-menus.spec @@ -0,0 +1,78 @@ +Name: cinnamon-menus +Version: 2.2.0 +Release: 1mamba +Summary: cinnamon menus library derived from gnome-menus +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://cinnamon.linuxmint.com/ +## GITSOURCE https://github.com/linuxmint/cinnamon-menus.git 2.2.0 +Source: https://github.com/linuxmint/cinnamon-menus.git/%{version}/cinnamon-menus-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +cinnamon menus library derived from gnome-menus. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libcinnamon-menu-3.so.* +%{_libdir}/girepository-1.0/CMenu-3.0.typelib +%doc AUTHORS COPYING COPYING.LIB + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/cinnamon-menus-3.0 +%{_includedir}/cinnamon-menus-3.0/gmenu-tree.h +%{_libdir}/libcinnamon-menu-3.a +%{_libdir}/libcinnamon-menu-3.la +%{_libdir}/libcinnamon-menu-3.so +%{_libdir}/pkgconfig/libcinnamon-menu-3.0.pc +%{_datadir}/gir-1.0/CMenu-3.0.gir +%doc ChangeLog NEWS README + +%changelog +* Sun Jun 22 2014 Silvan Calarco 2.2.0-1mamba +- package created using the webbuild interface