Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:misc
fish
fish.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fish.spec of Package fish
%def_with gettext %def_with doxygen Name: fish Version: 2.7.1 Release: 1 Summary: A user friendly interactive shell License: GPL-2.0+ Group: System/Shells Url: http://fishshell.com/ Source: https://github.com/fish-shell/fish-shell/releases/download/%version/%name-%version.tar.gz #Patch: %name-%version-git.patch.gz %if 0%{?suse_version} > 1020 Recommends: %name-doc = %version %endif #BuildRequires: autoconf automake libtool BuildRequires: gcc-c++ >= 4.8 BuildRequires: ncurses-devel %{?_with_gettext:gettext} fdupes %{?_with_doxygen:BuildRequires: doxygen >= 1.8.7} %description fish is a user friendly command line shell for UNIX-like operating systems such as Linux. It's geared towards interactive use and its features are focused on user friendlieness and discoverability. The language syntax is simple but incompatible with other shell languages. %package doc Summary: Documentation for user friendly interactive shell Group: Documentation/Man BuildArch: noarch %description doc fish is a user friendly command line shell for UNIX-like operating systems such as Linux. It's geared towards interactive use and its features are focused on user friendlieness and discoverability. The language syntax is simple but incompatible with other shell languages. This package contains documentation for fish. %prep %setup -q #patch -p1 #sed -i '/^doxygen_minimum=/s/=.*/1.8.6/' configure.ac configure %build %add_optflags -Wno-unused-result #autoreconf -fisv %configure \ %{subst_with gettext} \ %{subst_with doxygen} \ --docdir=%_docdir/%name make %{?_smp_mflags} V=1 %install %make_install rm -f %name.lang %find_lang %name %fdupes %buildroot%_docdir/%name %post # Add fish to the list of allowed shells in /etc/shells grep -q '^[[:blank:]]*%_bindir/%name[[:blank:]]*$' %_sysconfdir/shells || echo %_bindir/%name >> %_sysconfdir/shells %postun # Remove fish from the list of allowed shells in /etc/shells if [ "$1" = 0 ] && grep -q %_bindir/%name %_sysconfdir/shells; then sed -i '\|^[[:blank:]]*%_bindir/%name[[:blank:]]*$|d' %_sysconfdir/shells fi %files -f %{name}.lang %defattr(-,root,root) %config(noreplace) %_sysconfdir/%name %_bindir/* %_datadir/%name %_mandir/man1/* %_datadir/pkgconfig/* %files doc %defattr(-,root,root) %doc %_docdir/%name %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