Репозиторий Sisyphus
Последнее обновление: 22 июня 2017 | Пакетов: 17957 | Посещений: 9493232
en ru br
Репозитории ALT
S:0.29.16.git0fe54bf16-alt2
5.1: 0.19-alt1
www.altlinux.org/Changes

Группа :: Офис
Пакет: myrulib

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

# TODO: use external wxsqlite3 (from altautoimports)
Name: myrulib
Version: 0.29.16.git0fe54bf16
Release: alt2

Summary: Tool for maintaining fb2 files collection

Url: http://myrulib.lintest.ru/
Source: %name-%version.tar
License: GPL

# Source-git: https://github.com/lintest/myrulib.git

Packager: Anton V. Boyarshinov <boyarsh at altlinux.org>
Group: Office

# Automatically added by buildreq on Sat Feb 02 2013

# optimized out: fontconfig gnu-config libgdk-pixbuf libstdc++-devel libsystemd-daemon libwayland-client libwayland-server pkg-config
BuildRequires: bzlib-devel gcc-c++ libexpat-devel libsqlite3-devel libwxGTK-devel libxml2-devel

#BuildRequires: libsqlite3-devel >= 3.7.17

BuildRequires: libwxsqlite3-devel >= 3.0.3

BuildRequires: bakefile

%description
Tool for maintaining home library, contaning fb2 files. Supports search,
export and so on.

%prep
%setup
# assure we do not build it
rm -rf 3rdparty/{sqlite3,wxsqlite3}

# hack due search wxcode_gtk2u_wxsqlite3-2.8 but libwxsql3 contains wxcode_gtk2_wxsqlite3-2.8

subst 's|wx_temp="$wx_temp""u"|wx_temp="$wx_temp"|g' ./configure

%build
# note: checking for SQLITE_ENABLE_ICU support in system SQLite... no
# so we can't use --with-icu
%configure --with-expat \
   --without-strip \
   --without-sqlite --without-wxsqlite  --without-bzip2
%make_build CFLAGS="%optflags" CXXFLAGS="%optflags"

%install
%makeinstall_std
mkdir -p %buildroot%_iconsdir/hicolor/32x32/apps/
install sources/MyRuLib/desktop/home-32x32.png %buildroot%_iconsdir/hicolor/32x32/apps/myrulib.png
mkdir -p  %buildroot%_iconsdir/hicolor/64x64/apps/
install sources/MyRuLib/desktop/home-64x64.png %buildroot%_iconsdir/hicolor/64x64/apps/myrulib.png
%find_lang %name

%files -f %name.lang
%_bindir/myrulib
%_desktopdir/myrulib.desktop
%_pixmapsdir/%name.png
%_iconsdir/hicolor/32x32/apps/myrulib.png
%_iconsdir/hicolor/48x48/apps/myrulib.png
%_iconsdir/hicolor/64x64/apps/myrulib.png

%changelog

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

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