Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37421820
en ru br
Репозитории ALT
S:0.7.3.git45e82ec-alt1
5.1: 0.6svn-alt1
4.1: 0.5-alt1
www.altlinux.org/Changes

Группа :: Звук
Пакет: canorus

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

Name:          canorus
Version:       0.7.3.git45e82ec
Release:       alt1
Summary:       Free cross-platform music score editor
Group:         Sound
License:       GPLv3+
Url:           http://www.canorus.org/
Vcs:           https://github.com/canorusmusic/canorus.git
Packager:      Ildar Mulyukov <ildar at altlinux.ru>

Source:        %name-%version.tar
Patch:         config.patch
BuildRequires(pre): rpm-macros-cmake
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: swig
BuildRequires: desktop-file-utils
BuildRequires: convert
BuildRequires: libruby-devel
BuildRequires: libalsa-devel
BuildRequires: qt5-webkit-devel
BuildRequires: qt5-tools-devel
BuildRequires: zlib-devel
BuildRequires: qt5-svg-devel
%add_optflags -Wno-error=deprecated-declarations -Wno-error=return-type -Wno-error

%add_findreq_skiplist %_datadir/%name/*

%description
Canorus is a free next generation cross-platform music score editor
written in Qt4. It is a sequel of the well-known music score editor
for Linux, NoteEdit.

Canorus supports Python and Ruby scripting languages for plugins, a
fast and straight-forward user interface, source view of the score,
a number of import and export filters for LilyPond, MusicXML,
NoteEdit and others.


%prep
%setup
%patch

%build
%cmake -DTTF_INSTALL_DIR:PATH=%_datadir/fonts/ttf/%name \
      -DCMAKE_BUILD_TYPE:STRING=Release
%cmake_build

%install
%cmakeinstall_std

mkdir -p %buildroot%_desktopdir
install -m644 %name.desktop %buildroot%_desktopdir

mkdir -p %buildroot%_iconsdir/hicolor/{48x48,32x32,16x16}/apps/
convert %buildroot%_datadir/%name/images/clogosm.png -resize 48x48 %buildroot%_liconsdir/clogosm.png
convert %buildroot%_datadir/%name/images/clogosm.png -resize 32x32 %buildroot%_niconsdir/clogosm.png
convert %buildroot%_datadir/%name/images/clogosm.png -resize 16x16 %buildroot%_miconsdir/clogosm.png

desktop-file-install --dir %buildroot%_desktopdir \
--add-category=AudioVideo \
%buildroot%_desktopdir/canorus.desktop


%post
fc-cache %_datadir/fonts/ttf/%name ||:

%files
%doc AUTHORS DEVELOPERS NEWS README TODO
%_bindir/%name
%_datadir/%name
%_datadir/fonts/ttf/%name
%_iconsdir/hicolor/*/apps/*.png
%_desktopdir/%name.desktop


%changelog

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

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