startup-notification/startup-notification.spec

97 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package startup-notification
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: startup-notification
Version: 0.12
Release: 0
Summary: Reference Implementation for the Startup-Notification Protocol
License: LGPL-2.1+
Group: System/X11/Utilities
Url: http://www.freedesktop.org/wiki/Software/startup-notification
Source: http://www.freedesktop.org/software/startup-notification/releases/startup-notification-%{version}.tar.gz
Source99: baselibs.conf
BuildRequires: pkgconfig(x11-xcb)
BuildRequires: pkgconfig(xcb) >= 1.6
BuildRequires: pkgconfig(xcb-aux)
BuildRequires: pkgconfig(xcb-event)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Startup-notification contains a reference implementation of the
startup-notification protocol.
%package -n libstartup-notification-1-0
Summary: Reference Implementation for the Startup-Notification Protocol
Group: System/X11/Utilities
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
# bug437293
%ifarch ppc64
Obsoletes: startup-notification-64bit
%endif
#
%description -n libstartup-notification-1-0
Startup-notification contains a reference implementation of the
startup-notification protocol.
%package devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/GNOME
Requires: libstartup-notification-1-0 = %{version}
# bug437293
%ifarch ppc64
Obsoletes: startup-notification-devel-64bit
%endif
#
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%prep
%setup -q
%build
%configure --disable-static
make %{?jobs:-j %jobs}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libstartup-notification-1-0 -p /sbin/ldconfig
%postun -n libstartup-notification-1-0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libstartup-notification-1-0
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS ChangeLog
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/startup-notification-1.0/
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog