Use SPDX for license field
Additionally, lots of other small improvements.
This commit is contained in:
parent
df923bcb1e
commit
4d163823ad
@ -1,16 +1,17 @@
|
||||
Summary: Library for tracking application startup
|
||||
Name: startup-notification
|
||||
Name: startup-notification
|
||||
Version: 0.12
|
||||
Release: 26%{?dist}
|
||||
URL: http://www.freedesktop.org/software/startup-notification/
|
||||
#VCS: git:git://git.freedesktop.org/git/startup-notification
|
||||
Source0: http://www.freedesktop.org/software/startup-notification/releases/%{name}-%{version}.tar.gz
|
||||
Release: 27%{?dist}
|
||||
Summary: Library for tracking application startup
|
||||
|
||||
License: LGPL-2.0-or-later AND MIT
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
URL: https://www.freedesktop.org/wiki/Software/startup-notification/
|
||||
Source0: http://www.freedesktop.org/software/startup-notification/releases/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXt-devel
|
||||
BuildRequires: xcb-util-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: pkgconfig(xcb-event)
|
||||
|
||||
%description
|
||||
This package contains libstartup-notification which implements a
|
||||
@ -20,41 +21,42 @@ feedback such as a busy cursor, among other features.
|
||||
|
||||
%package devel
|
||||
Summary: Development portions of startup-notification
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}{?_isa} = %{version}-%{release}
|
||||
Requires: libX11-devel
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Header files and static libraries for libstartup-notification.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
mkdir examples
|
||||
cp -p test/*.c test/*.h examples
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
/bin/rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
||||
%make_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%doc doc/startup-notification.txt
|
||||
%doc AUTHORS COPYING ChangeLog NEWS
|
||||
%{_libdir}/lib*.so.*
|
||||
%doc AUTHORS ChangeLog NEWS
|
||||
%license COPYING
|
||||
%{_libdir}/libstartup-notification-1.so.0{,.*}
|
||||
|
||||
%files devel
|
||||
%doc examples
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libstartup-notification-1.so
|
||||
%{_libdir}/pkgconfig/libstartup-notification-1.0.pc
|
||||
%{_includedir}/startup-notification-1.0/
|
||||
|
||||
%changelog
|
||||
* Fri Dec 22 2023 David King <amigadave@amigadave.com> - 0.12-27
|
||||
- Use SPDX for license field
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user