startup-notification/startup-notification.spec

67 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-12-13 16:10:24 +08:00
Name: startup-notification
Version: 0.12
Release: 19
2019-12-13 16:10:24 +08:00
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
2021-06-22 19:11:50 +08:00
BuildRequires: libX11-devel libXt-devel xcb-util-devel gcc
2019-09-30 11:17:42 -04:00
%description
2019-12-13 16:10:24 +08:00
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.
2019-09-30 11:17:42 -04:00
2019-12-13 16:10:24 +08:00
%package devel
Summary: Development files of startup-notification
Requires: %{name} = %{version}-%{release}
Requires: libX11-devel pkgconfig
2019-09-30 11:17:42 -04:00
%description devel
2019-12-13 16:10:24 +08:00
Development files for startup-notification.
%package help
Summary: Help document for startup-notification
%description help
Help document for startup-notification
2019-09-30 11:17:42 -04:00
%prep
2019-12-13 16:10:24 +08:00
%autosetup -p1
2019-09-30 11:17:42 -04:00
%build
%configure --disable-static
%make_build
%install
%make_install
2019-12-13 16:10:24 +08:00
%delete_la_and_a
2019-09-30 11:17:42 -04:00
2019-12-13 16:10:24 +08:00
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
2019-09-30 11:17:42 -04:00
%files
2019-12-13 16:10:24 +08:00
%doc COPYING AUTHORS
2019-09-30 11:17:42 -04:00
%{_libdir}/lib*.so.*
%files devel
%{_libdir}/lib*.so
2019-12-13 16:10:24 +08:00
%{_libdir}/pkgconfig/*
2019-09-30 11:17:42 -04:00
%{_includedir}/*
2019-12-13 16:10:24 +08:00
%files help
%doc test/*.c test/*.h doc/startup-notification.txt ChangeLog NEWS
2019-09-30 11:17:42 -04:00
%changelog
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 0.12-19
- rebuild for next release
2021-06-22 19:11:50 +08:00
* Tue Jun 22 2021 shixuantong <shixuantong@huawei.com > - 0.12-18
- add gcc to BuildRequires
2019-12-13 16:10:24 +08:00
* Thu Nov 07 2019 Yiru Wang <wangyiru1@huawei.com> - 0.12-17
- Pakcage init