Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:PerryWerneck:pw3270
pw3270-unstable
pw3270-unstable.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pw3270-unstable.spec of Package pw3270-unstable
# # spec file for package pw3270 # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (C) 2008 Banco do Brasil S.A. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # #---[ Versions ]------------------------------------------------------------------------------------------------------ %define _product %(pkg-config --variable=product_name lib3270) %define plugindir %(pkg-config --variable=plugin_path lib3270) %if "%{plugindir}" == "" %define plugindir /usr/lib64/pw3270-plugins %endif #---[ Packaging ]----------------------------------------------------------------------------------------------------- Name: pw3270-unstable Version: 5.4 Release: 0 Summary: IBM 3270 Terminal emulator for GTK License: GPL-2.0 Group: System/X11/Terminals Url: https://github.com/PerryWerneck/pw3270 Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: shared-mime-info Requires: %name-branding = %version Requires: lib3270-unstable BuildRequires: lib3270-unstable-devel Requires: libv3270-unstable BuildRequires: libv3270-unstable-devel Provides: pw3270 = %version Conflicts: otherproviders(pw3270) BuildRequires: update-desktop-files BuildRequires: appstream-glib BuildRequires: libtool %glib2_gsettings_schema_requires #--[ Setup by distribution ]------------------------------------------------------------------------------------------ # # References: # # https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto#Detect_a_distribution_flavor_for_special_code # #--[ Red HAT ]-------------------------------------------------------------------------------------------------------- %if 0%{?rhel_version} BuildRequires: dbus-devel BuildRequires: dbus-glib-devel BuildRequires: openssl-devel BuildRequires: gtk3-devel BuildRequires: libv3270-devel %endif #--[ CentOS ]--------------------------------------------------------------------------------------------------------- %if 0%{?centos_version} BuildRequires: dbus-devel BuildRequires: dbus-glib-devel BuildRequires: openssl-devel BuildRequires: gtk3-devel BuildRequires: libv3270-devel # For Genmarshal BuildRequires: python %endif #--[ Fedora ]--------------------------------------------------------------------------------------------------------- %if 0%{?fedora} BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libv3270) %endif #--[ SuSE ]----------------------------------------------------------------------------------------------------------- %if 0%{?suse_version} BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libv3270) %endif #--------------------------------------------------------------------------------------------------------------------- BuildRequires: autoconf >= 2.61 BuildRequires: automake BuildRequires: binutils BuildRequires: coreutils BuildRequires: desktop-file-utils BuildRequires: findutils BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: gettext-tools BuildRequires: m4 BuildRequires: pkgconfig BuildRequires: sed BuildRequires: fdupes %description GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. Based on the original x3270 code, pw3270 was originally created for Banco do Brasil, and is now used worldwide. #--[ Configuration & Branding ]--------------------------------------------------------------------------------------- %package branding Summary: Configuration and branding for %{name} Group: System/X11/Terminals Requires: %{name} = %{version} BuildArch: noarch Requires: %{name} = %{version} Provides: %{_product}-config = %{version} Conflicts: otherproviders(%{_product}-config) Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description branding GTK-based IBM 3270 terminal emulator with many advanced features. It can be used to communicate with any IBM host that supports 3270-style connections over TELNET. This package contains the default configuration and branding for %{name}. #---[ Build & Install ]----------------------------------------------------------------------------------------------- %prep %setup NOCONFIGURE=1 ./autogen.sh %configure \ --with-release=%{release} \ --enable-unstable \ --with-application-id=br.com.bb.pw3270.unstable %build make clean # parallel build is broken make all -j1 %install %make_install %find_lang pw3270 langfiles # Validation appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.*.xml %fdupes %{buildroot}/%{_prefix} %files -f langfiles %defattr(-,root,root) %doc AUTHORS LICENSE README.md # Main application %dir %{_datadir}/%{_product} %dir %{_datadir}/%{_product}/keypad %dir %{_datadir}/%{_product}/icons %dir %{_libdir}/%{_product} %dir %{_libdir}/%{_product}/* %{_bindir}/%{_product} # Configuration & Themes %{_datadir}/glib-2.0/schemas/*.xml %exclude %{_datadir}/glib-2.0/schemas/*.compiled %{_datadir}/%{_product}/icons/*.svg %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/icons/hicolor/symbolic/apps/*.svg %{_datadir}/icons/*.svg %{_datadir}/applications/*.desktop %{_datadir}/metainfo/*.*.xml %{_datadir}/mime/packages/*.xml %files branding %defattr(-,root,root) %{_datadir}/%{_product}/*.ui.xml %{_datadir}/%{_product}/*.svg %posttrans /usr/bin/update-desktop-database %postun /usr/bin/update-desktop-database %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor