Package init

This commit is contained in:
dogsheng 2019-12-13 16:10:24 +08:00
parent 7ad87e3e06
commit 788673abb1

View File

@ -1,31 +1,34 @@
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
Name: startup-notification
Version: 0.12
Release: 17
Summary: Library for tracking application startup
URL: http://www.freedesktop.org/software/startup-notification/
Source0: http://www.freedesktop.org/software/startup-notification/releases/%{name}-%{version}.tar.gz
License: LGPLv2
BuildRequires: 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.
This package contains libstartup-notification which implements a
startup notification protocol. Using this protocol a desktop
environment can track the launch of an application and provide
feedback such as a busy cursor, among other features.
%package devel
Summary: Development package for startup-notification
Requires: %{name} = %{version}-%{release}
Requires: libX11-devel, pkgconfig
%package devel
Summary: Development files of startup-notification
Requires: %{name} = %{version}-%{release}
Requires: libX11-devel pkgconfig
%description devel
Provide headers and libraries for startup-notification development
Development files for startup-notification.
%package help
Summary: Help document for startup-notification
%description help
Help document for startup-notification
%prep
%autosetup -n %{name}-%{version} -p1
cp -r test examples
rm -f examples/Makefile*
%autosetup -p1
%build
%configure --disable-static
@ -33,28 +36,25 @@ rm -f examples/Makefile*
%install
%make_install
find %{buildroot} -type f -name "*.la" | xargs rm -f
%delete_la_and_a
%check
%pre
%preun
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc doc/*.txt AUTHORS ChangeLog COPYING NEWS
%doc COPYING AUTHORS
%{_libdir}/lib*.so.*
%files devel
%doc examples
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/pkgconfig/*
%{_includedir}/*
%files help
%doc test/*.c test/*.h doc/startup-notification.txt ChangeLog NEWS
%changelog
* Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.12-17
- Package init
* Thu Nov 07 2019 Yiru Wang <wangyiru1@huawei.com> - 0.12-17
- Pakcage init