Репозиторий Sisyphus
Последнее обновление: 20 октября 2017 | Пакетов: 17934 | Посещений: 10209271
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: pantheon-files

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

%define ver_major 0.3
%define xdg_name org.pantheon.files

Name: pantheon-files
Version: %ver_major.5
Release: alt1

Summary: The file manager of the Pantheon desktop
License: GPLv3
Group: File tools
Url: https://launchpad.net/pantheon-files

Source: https://launchpad.net/%name/%{ver_major}.x/%version/+download/%name-%version.tar.xz

#Depends: tumbler

#Recommends: contractor
#Suggests: tumbler-plugins-extra
Requires: polkit zeitgeist

BuildRequires: cmake gcc-c++ intltool libappstream-glib-devel
BuildRequires: vala libsqlite3-devel libgtk+3-devel
BuildRequires: libgee0.8-devel libpixman-devel libgranite-devel
BuildRequires: libgail3-devel libdbus-glib-devel libnotify-devel
BuildRequires: libXdmcp-devel libGConf-devel libXdamage-devel
BuildRequires: libXxf86vm-devel libharfbuzz-devel libpng-devel
BuildRequires: libXinerama-devel libXi-devel libXrandr-devel
BuildRequires: libXcursor-devel libXcomposite-devel
BuildRequires: libxkbcommon-devel libwayland-cursor-devel
BuildRequires: at-spi2-atk-devel libgranite-vala
BuildRequires: libzeitgeist2.0-devel libplank-devel libplank-vala
BuildRequires: libpolkit-devel
BuildRequires: libcanberra-devel libcanberra-vala

%description
The simple, powerful, and sexy file manager from elementary.

%package devel
Summary: Development files for pantheon-files
Group: Development/C
Requires: %name = %version-%release

%description devel
Development files for pantheon-files.

%package vala
Summary: Vala language bindings for the pantheon-files
Group: Development/Other
BuildArch: noarch
Requires: %name-devel = %version-%release

%description vala
This package provides Vala language bindings for the pantheon-files.

%prep
%setup
# fix libdir
find ./ -name "CMakeLists.txt" -print0 | xargs -r0 subst 's|lib\/|${LIB_DESTINATION}/|g' --

%build
%cmake -DCMAKE_BUILD_TYPE:STRING="Release" \
-DWITH_UNITY:BOOL=OFF
%cmake_build VERBOSE=1

%install
%cmakeinstall_std

%find_lang %name

%files -f %name.lang
%doc AUTHORS HACKING INSTALL README
%_bindir/*
%_libdir/*.so.*
%_libdir/gtk-3.0/modules/libpantheon-filechooser-module.so
%_libdir/%name/
%_desktopdir/%xdg_name.desktop
%_datadir/dbus-1/services/%name.service
%_datadir/dbus-1/services/io.elementary.pantheon-files.FileManager1.service
%_datadir/glib-2.0/schemas/org.pantheon.files.gschema.xml
%_datadir/polkit-1/actions/net.launchpad.%name.policy
%_datadir/%name/
%dir %_pixmapsdir/%name
%_pixmapsdir/%name/*.png
%_datadir/appdata/%xdg_name.appdata.xml

%files devel
%_includedir/%name-widgets/
%_libdir/*.so
%_includedir/%name-core/
%_pkgconfigdir/%name-core.pc
%_pkgconfigdir/%name-widgets.pc

%if 0
%files vala
%_vapidir/%name-core-C.vapi
%_vapidir/%name-core.deps
%_vapidir/%name-core.vapi
%_vapidir/%name-widgets.deps
%_vapidir/%name-widgets.vapi
%endif

%changelog

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

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