Репозиторий Sisyphus
Последнее обновление: 4 июня 2020 | Пакетов: 17569 | Посещений: 18696832
en ru br
Репозитории ALT
S:0.9.12.1-alt2_8
www.altlinux.org/Changes

Группа :: Система/Основа
Пакет: eiciel

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

Group: System/Base
# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-validate libattr-devel pkgconfig(gtkmm-2.4) pkgconfig(libgnome-2.0)
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: eiciel
Version: 0.9.12.1
Release: alt2_8
Summary: Graphical editor for ACLs and xattr
License: GPLv2+
URL: http://rofi.roger-ferrer.org/eiciel
Source0: http://rofi.roger-ferrer.org/eiciel/files/eiciel-%{version}.tar.bz2

# libxattr < 2.4.48-3.fc29 was missing xattr.h

# and <attr/xattr.h> is deprecated, use <sys/xattr.h> instead
Patch0: eiciel-0.9.12.1-sys-xattr.patch
# avoid C++ name mangling for Nautilus extension symbols
Patch1: eiciel-0.9.12.1-nautilus-exports.patch

BuildRequires: gcc-c++
BuildRequires: libgnomeui-devel
BuildRequires: libacl-devel
BuildRequires: libnautilus-devel libnautilus-gir-devel
BuildRequires: libgtkmm3-devel
BuildRequires: desktop-file-utils

%global ext_dir %(eval "pkg-config --variable=extensiondir libnautilus-extension")

# don't "provide" a private shlib

%{echo


}
Source44: import.info
%add_findprov_skiplist %{ext_dir}/.*\.so$

%description
Graphical editor for access control lists (ACLs) and extended attributes
(xattr), either as an extension within Nautilus, or as a standalone
utility.


%prep
%setup -q
%patch0 -p1
%patch1 -p1

sed -i -e 's!attr/xattr\.h!sys/xattr\.h!g' configure
[ "$(cksum ChangeLog|cut -d ' ' -f 1,2)" != "960335718 502" ] && exit -1

iconv -f ISO-8859-1 -t UTF-8 AUTHORS > foo ; mv foo AUTHORS


%build
%add_optflags -std=c++11
export CXXFLAGS="%{optflags} -std=c++11"
%configure --with-nautilus-extensions-dir=%{ext_dir} \
   --disable-static
V=1 make %{?_smp_mflags}


%install
%makeinstall_std
%find_lang %{name}

rm -f %{buildroot}%{ext_dir}/*.la

desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop


%files -f %{name}.lang
%doc AUTHORS README
%doc --no-dereference COPYING
# ancient gettextize file only / recheck for new releases
#%doc ChangeLog
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/gnome/help/%{name}/
%{_datadir}/applications/*.desktop
%{_mandir}/man1/%{name}*
%{ext_dir}/lib%{name}*.so
%{_datadir}/metainfo/*.appdata.xml
%{_datadir}/icons/hicolor/*/apps/%{name}.*


%changelog

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

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