Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ailin_nemui:irssi-oldtest
irssi
irssi.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File irssi.spec of Package irssi
# # spec file for package irssi # # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # %if 0%{?debian_version} != 0 || 0%{?ubuntu_version} != 0 Packager: Irssi packaging team <staff@irssi.org> BuildRequires: debhelper fakeroot perl-deb-macros %define perl_version %(dpkg-query --showformat='${Version}' --show perl) %define devel dev %else %define devel devel %endif Name: irssi Version: 1.2.3 Release: 0 %define pkg_name irssi %define pkg_version 1.2.3 # # BuildRoot: %{_tmppath}/%{name}-%{version}-build # autogen requirements: #BuildRequires: autoconf #BuildRequires: automake #BuildRequires: libtool #BuildRequires: lynx #BuildRequires: git # %if 0%{?debian_version} != 0 || 0%{?ubuntu_version} != 0 BuildRequires: libglib2.0-dev BuildRequires: libncurses5-dev BuildRequires: libssl-dev BuildRequires: libotr5-dev %if 0%{?debian_version} > 800 || 0%{?ubuntu_version} > 1510 BuildRequires: libutf8proc-dev %endif BuildRequires: pkg-config %else BuildRequires: glib2-devel BuildRequires: ncurses-devel BuildRequires: openssl-devel BuildRequires: libotr-devel %if 0%{?fedora} > 22 || 0%{?rhel_version} > 700 || 0%{?suse_version} != 0 BuildRequires: utf8proc-devel %endif BuildRequires: pkgconfig %endif # %if 0%{?debian_version} != 0 || 0%{?ubuntu_version} != 0 BuildRequires: libperl-dev %endif # %if 0%{?fedora} != 0 || 0%{?rhel_version} != 0 BuildRequires: perl-devel perl(ExtUtils::Embed) %endif # %if 0%{?suse_version} > 1130 BuildRequires: perl-macros %endif # BuildRequires: perl #Provides: irssi Conflicts: irssi Conflicts: irssi-snapshot Conflicts: irssi-plugin-otr Conflicts: irssi-otr # Url: http://www.irssi.org Source: https://github.com/irssi-import/irssi/releases/download/%{pkg_version}/irssi-%{pkg_version}.tar.xz Source99: irssi-rpmlintrc Patch0: irssi-network.diff Summary: Modular, Secure, and Well Designed IRC Client License: GPL-2.0+ %if 0%{?debian_version} != 0 || 0%{?ubuntu_version} != 0 Group: net %else Group: Productivity/Networking/IRC %endif # %if 0%{?suse_version} > 1130 %{perl_requires} %{?libperl_requires} %else %if 0%{?rhel_version} == 700 || 0%{?fedora} Requires: perl = 4:%{perl_version} %else %if 0%{?debian_version} == 0 && 0%{?ubuntu_version} == 0 Requires: perl = %{perl_version} %endif %endif %endif # %if 0%{?debian_version} != 0 || 0%{?ubuntu_version} != 0 Requires: liblwp-protocol-https-perl %else Requires: perl-LWP-Protocol-https %endif %if 0%{?rhel_version} == 0 Recommends: irssi-python2 %endif %description Irssi is a modular IRC client that currently only has a text mode user interface. However, 80–90%% of the code is not text mode specific, so other UIs could be created. Irssi is not IRC specific; there are SILC and ICB modules available. Irssi is not using the ircII code. %package %{devel} %if 0%{?debian_version} != 0 || 0%{?ubuntu_version} != 0 Requires: %{name} = %{version}-%{release} Group: devel %else Requires: %{name} = %{version} Group: Development/Languages/C and C++ %endif # Summary: Development package for irssi %description %{devel} This package contains the development files for irssi. It allows to compile plugins for the irssi package. Authors: -------- Timo Sirainen <cras@irssi.org> %if 0%{?debian_version} || 0%{?ubuntu_version} %package dbg Requires: %{name} = %{version}-%{release} Group: debug Summary: Debug symbols for irssi %description dbg This package contains the debugging symbols for the irssi binary. %endif %prep %setup -q -n %{pkg_name}-%{version} %patch0 -p0 #patch22 -p1 %build %if 0%{?sles_version} == 9 export PKG_CONFIG_PATH="/opt/gnome/%{_lib}/pkgconfig:$PKG_CONFIG_PATH" %endif export CFLAGS="%{optflags}" %configure \ --enable-ipv6 \ --with-proxy \ --enable-dane \ --enable-true-color \ --with-perl=module \ --with-perl-lib=vendor \ --with-otr=module \ PACKAGE_VERSION="%{version}-obs" %__make %{?jobs:-j%{jobs}} all V=1 cat irssi-version.h %install %if 0%{?fedora} != 0 || 0%{?rhel_version} != 0 || 0%{?debian_version} != 0 || 0%{?ubuntu_version} != 0 %make_install docdir=%{_docdir}/%{pkg_name} INSTALL="%{__install} -p" find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -a -name '*.bs' -a -empty -exec %__rm -f {} ';' find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -a -name .packlist -exec %__rm {} ';' rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch} %else %make_install docdir=%{_docdir}/%{pkg_name} %perl_process_packlist %endif find %{buildroot}%{_libdir}/irssi/modules -maxdepth 1 -type f -a \( -name '*.a' -o -name '*.la' \) -exec %__rm {} ';' %if 0%{?debian_version} || 0%{?ubuntu_version} %__mkdir_p debian echo 9 >debian/compat echo Source: %{name} >debian/control echo Package: %{name} >>debian/control echo Architecture: any >>debian/control fakeroot dh_strip -P $RPM_BUILD_ROOT -v -k %endif %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/irssi.conf %{_bindir}/irssi # modules %dir %{_libdir}/irssi %dir %{_libdir}/irssi/modules %{_libdir}/irssi/modules/*.so* # scripts & themes %dir %{_datadir}/%{pkg_name} %{_datadir}/%{pkg_name}/* #perl %dir %perl_vendorarch/Irssi %perl_vendorarch/Irssi.pm %perl_vendorarch/Irssi/* %perl_vendorarch/auto/Irssi # docs %dir %_docdir/irssi %docdir %_docdir/irssi/ %doc %_docdir/irssi/* %doc %_mandir/man1/*.1%{ext_man} %if 0%{?suse_version} != 0 && 0%{?suse_version} <= 1130 /var/adm/perl-modules/%{pkg_name} %endif %files %{devel} %defattr(-,root,root) %{_includedir}/irssi/ %if 0%{?debian_version} || 0%{?ubuntu_version} %files dbg %defattr(-,root,root) %{_exec_prefix}/%{_lib}/debug/ %endif %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