Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37045640
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libnotifymm

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define apiver 1.0
%define docdeveldir %_docdir/%name-devel-%version

Name: libnotifymm
Version: 0.6.1
Release: alt2
Summary: C++ interface for libnotify

Group: System/Libraries
License: LGPLv2+
Url: http://www.gtkmm.org/
Packager: Mykola Grechukh <gns at altlinux.ru>

Source: http://ftp.gnome.org/pub/GNOME/sources/libnotifymm/0.6/%name-%version.tar.bz2
Patch1: libnotifymm-0.6.1-pkgconfig.patch
Patch2: libnotifymm-0.6.1-bodgenewapi.patch

BuildRequires: gcc-c++
BuildRequires: libglibmm-devel >= 2.12.8
BuildRequires: libgtkmm2-devel >= 2.10
BuildRequires: libnotify-devel >= 0.4.3
BuildRequires: doxygen graphviz

%description
libnotifymm provides a C++ interface to the libnotify
library. Highlights include typesafe callbacks, widgets extensible via
inheritance and a comprehensive set of widget classes that can be
freely combined to quickly create complex user interfaces.

%package devel
Summary: Headers for developing programs that will use %name
Group: Development/Other
Requires: %name = %version-%release
Requires: libgtkmm2-devel
Requires: libnotify-devel
Requires: pkgconfig

%description devel
This package contains the libraries and header files needed for
developing %name applications.

%prep
%setup
%patch1 -p1 -b .pkgconfig
%patch2 -p2 -b .bodgenewapi

%build
%configure --disable-static --enable-reference --disable-dependency-tracking
%__subst 's! -shared ! -Wl,--as-needed\0!g' libtool
%make_build

%install
%makeinstall_std INSTALL="install -p" \
       referencedir=%docdeveldir/html
find %buildroot -type f -name "*.la" -exec rm -f {} ';'
# Remove code-generation related files
rm -rf %buildroot%_libdir/%name-%apiver

%files
%doc AUTHORS ChangeLog COPYING NEWS README
%_libdir/*.so.*

%files devel
%doc %docdeveldir
%_includedir/%name-%apiver
%_libdir/*.so
%_pkgconfigdir/*.pc

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin