Package init
This commit is contained in:
parent
7ad87e3e06
commit
788673abb1
@ -1,31 +1,34 @@
|
|||||||
Name: startup-notification
|
Name: startup-notification
|
||||||
Version: 0.12
|
Version: 0.12
|
||||||
Release: 17
|
Release: 17
|
||||||
Summary: Reference implementation of the startup notification protocol
|
Summary: Library for tracking application startup
|
||||||
License: LGPLv2
|
URL: http://www.freedesktop.org/software/startup-notification/
|
||||||
URL: https://www.freedesktop.org/wiki/Software/startup-notification/
|
Source0: http://www.freedesktop.org/software/startup-notification/releases/%{name}-%{version}.tar.gz
|
||||||
Source0: https://www.freedesktop.org/software/startup-notification/releases/%{name}-%{version}.tar.gz
|
License: LGPLv2
|
||||||
|
BuildRequires: libX11-devel libXt-devel xcb-util-devel
|
||||||
BuildRequires: gcc, libX11-devel, libXt-devel, xcb-util-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Startup-notification contains a reference implementation of the startup
|
This package contains libstartup-notification which implements a
|
||||||
notification protocol. The reference implementation is mostly under an X Window
|
startup notification protocol. Using this protocol a desktop
|
||||||
System style license, and has no special dependencies.This library does not yet
|
environment can track the launch of an application and provide
|
||||||
make ABI guarantees, but may at some point in the future.
|
feedback such as a busy cursor, among other features.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development package for startup-notification
|
Summary: Development files of startup-notification
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: libX11-devel, pkgconfig
|
Requires: libX11-devel pkgconfig
|
||||||
|
|
||||||
%description devel
|
%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
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -p1
|
||||||
cp -r test examples
|
|
||||||
rm -f examples/Makefile*
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -33,28 +36,25 @@ rm -f examples/Makefile*
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" | xargs rm -f
|
%delete_la_and_a
|
||||||
|
|
||||||
%check
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
%pre
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
%preun
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc doc/*.txt AUTHORS ChangeLog COPYING NEWS
|
%doc COPYING AUTHORS
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc examples
|
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc test/*.c test/*.h doc/startup-notification.txt ChangeLog NEWS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.12-17
|
* Thu Nov 07 2019 Yiru Wang <wangyiru1@huawei.com> - 0.12-17
|
||||||
- Package init
|
- Pakcage init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user