Package init
This commit is contained in:
commit
7ad87e3e06
BIN
startup-notification-0.12.tar.gz
Normal file
BIN
startup-notification-0.12.tar.gz
Normal file
Binary file not shown.
60
startup-notification.spec
Executable file
60
startup-notification.spec
Executable file
@ -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 <buildteam@openeuler.org> - 0.12-17
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user