commit 7ad87e3e06d8930eca34600f54adf938a217b311 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:17:42 2019 -0400 Package init diff --git a/startup-notification-0.12.tar.gz b/startup-notification-0.12.tar.gz new file mode 100644 index 0000000..11e2d57 Binary files /dev/null and b/startup-notification-0.12.tar.gz differ diff --git a/startup-notification.spec b/startup-notification.spec new file mode 100755 index 0000000..c762fe5 --- /dev/null +++ b/startup-notification.spec @@ -0,0 +1,60 @@ +Name: startup-notification +Version: 0.12 +Release: 17 +Summary: Reference implementation of the startup notification protocol +License: LGPLv2 +URL: https://www.freedesktop.org/wiki/Software/startup-notification/ +Source0: https://www.freedesktop.org/software/startup-notification/releases/%{name}-%{version}.tar.gz + +BuildRequires: gcc, libX11-devel, libXt-devel, xcb-util-devel + +%description +Startup-notification contains a reference implementation of the startup +notification protocol. The reference implementation is mostly under an X Window +System style license, and has no special dependencies.This library does not yet +make ABI guarantees, but may at some point in the future. + +%package devel +Summary: Development package for startup-notification +Requires: %{name} = %{version}-%{release} +Requires: libX11-devel, pkgconfig + +%description devel +Provide headers and libraries for startup-notification development + +%prep +%autosetup -n %{name}-%{version} -p1 +cp -r test examples +rm -f examples/Makefile* + +%build +%configure --disable-static +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" | xargs rm -f + +%check + +%pre + +%preun + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%doc doc/*.txt AUTHORS ChangeLog COPYING NEWS +%{_libdir}/lib*.so.* + +%files devel +%doc examples +%{_libdir}/lib*.so +%{_libdir}/pkgconfig/*.pc +%{_includedir}/* + +%changelog +* Fri Sep 06 2019 openEuler Buildteam - 0.12-17 +- Package init