Sisyphus repository
Last update: 26 june 2019 | SRPMs: 17664 | Visits: 14191910
en ru br
ALT Linux repos
S:1.4.8-alt2

Group :: Editors
RPM: notepadqq

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary: A Linux clone of Notepad++
Name: notepadqq
Version: 1.4.8
Release: alt1
License: GPLv3
Group: Editors
URL: http://notepadqq.altervista.org/wp/
Source0: %name-%version.tar
Source1: codemirror.tar

BuildRequires: gcc-c++
BuildRequires: qt5-base-devel
BuildRequires: qt5-tools
BuildRequires: qt5-declarative-devel
BuildRequires: qt5-webkit-devel
BuildRequires: qt5-tools-devel
BuildRequires: qt5-svg-devel

Requires:       qt5-translations

%description
Notepadqq is a Notepad++-like editor for the Linux desktop.

%prep
%setup -q
tar xf %SOURCE1
mkdir -p src/editor/libs/codemirror/mode/m4

# (tpg) fix libdir

sed -i -e "s/lib/%{_lib}/g" src/ui/ui.pro

%build
%configure --qmake=qmake-qt5 --lrelease=lrelease-qt5
%make_build

%install
%makeinstall_std INSTALL_ROOT=%buildroot

# (tpg) bug #1136

ln -sf ../%_lib/notepadqq/notepadqq-bin %buildroot%_bindir/notepadqq-bin

# Rename metainfo to appdata

mv %buildroot%_datadir/{metainfo,appdata}

%files
%doc README.md CONTRIBUTING.md
%_bindir/notepadqq*
%_libdir/notepadqq/notepadqq-bin
%_datadir/applications/notepadqq.desktop
%_iconsdir/hicolor/*/apps/notepadqq.*g
%_datadir/appdata/%name.appdata.xml
%_datadir/notepadqq

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin