Dominique Leuenberger
e439f0b3c1
- rectify rpm groups OBS-URL: https://build.opensuse.org/request/show/443900 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/atkmm1_6?expand=0&rev=2
109 lines
3.0 KiB
RPMSpec
109 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package atkmm
|
|
#
|
|
# Copyright (c) 2016 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: atkmm1_6
|
|
%define _name atkmm
|
|
Version: 2.24.2
|
|
Release: 0
|
|
Summary: C++ Binding for the ATK library
|
|
License: LGPL-2.1+
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://www.gtkmm.org/
|
|
Source: http://download.gnome.org/sources/atkmm/2.24/%{_name}-%{version}.tar.xz
|
|
Source99: baselibs.conf
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig(atk) >= 1.18
|
|
BuildRequires: pkgconfig(glibmm-2.4) >= 2.46.2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
atkmm is the C++ binding for the ATK library.
|
|
This module is part of the GNOME C++ bindings effort.
|
|
|
|
%package -n libatkmm-1_6-1
|
|
Summary: C++ Binding for the ATK library
|
|
License: LGPL-2.1+
|
|
Group: System/Libraries
|
|
|
|
%description -n libatkmm-1_6-1
|
|
atkmm is the C++ binding for the ATK library.
|
|
This module is part of the GNOME C++ bindings effort.
|
|
|
|
%package devel
|
|
Summary: C++ Binding for the ATK library
|
|
License: LGPL-2.1+
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libatkmm-1_6-1 = %{version}
|
|
|
|
%description devel
|
|
atkmm is the C++ binding for the ATK library.
|
|
This module is part of the GNOME C++ bindings effort.
|
|
|
|
%package doc
|
|
Summary: C++ Binding for the ATK library
|
|
License: GPL-2.0+ and LGPL-2.1+
|
|
Group: Documentation/HTML
|
|
Requires: glibmm2-doc
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
atkmm is the C++ binding for the ATK library.
|
|
This module is part of the GNOME C++ bindings effort.
|
|
|
|
%prep
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
%build
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%makeinstall
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%fdupes %{buildroot}
|
|
|
|
%post -n libatkmm-1_6-1 -p /sbin/ldconfig
|
|
|
|
%postun -n libatkmm-1_6-1 -p /sbin/ldconfig
|
|
|
|
%files -n libatkmm-1_6-1
|
|
%defattr (-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_libdir}/libatkmm-1.6.so.*
|
|
|
|
%files devel
|
|
%defattr (-, root, root)
|
|
%{_includedir}/atkmm-1.6/
|
|
%{_libdir}/libatkmm-1.6.so
|
|
%{_libdir}/pkgconfig/atkmm-1.6.pc
|
|
%dir %{_libdir}/atkmm-1.6
|
|
%{_libdir}/atkmm-1.6/include/
|
|
%dir %{_libdir}/atkmm-1.6/proc
|
|
%{_libdir}/atkmm-1.6/proc/m4/
|
|
|
|
%files doc
|
|
%defattr (-, root, root)
|
|
%{_datadir}/devhelp/books/atkmm-1.6/
|
|
%{_datadir}/doc/atkmm-1.6/
|
|
# Avoid BuildRequires on devhelp
|
|
%dir %{_datadir}/devhelp
|
|
%dir %{_datadir}/devhelp/books
|
|
|
|
%changelog
|