atim / rpms / rofi

Forked from rpms/rofi 4 years ago
Clone

Blame rofi.spec

b8cdd8e
Name:    rofi
360b99e
Version: 1.5.2
360b99e
Release: 1%{?dist}
b8cdd8e
Summary: A window switcher, application launcher and dmenu replacement
b8cdd8e
328f400
# lexer/theme-parser.[ch]:
328f400
# These files are generated from lexer/theme-parser.y and licensed with GPLv3+
328f400
# with Bison exception.
328f400
# As the source file is licensed with MIT, according to the Bison exception,
328f400
# the shipped files are considered to be MIT-licensed.
328f400
# See also
328f400
# https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/message/C4VVT54Z4WFGJPPD5X54ILKRF6X2IFLZ/
b8cdd8e
License: MIT
b8cdd8e
URL:     https://github.com/DaveDavenport/rofi
4e57950
Source0: https://github.com/DaveDavenport/rofi/releases/download/%{version}/rofi-%{version}.tar.gz
b8cdd8e
b8cdd8e
BuildRequires: pkgconfig
b8cdd8e
BuildRequires: gcc-c++
b8cdd8e
BuildRequires: bison
4e57950
BuildRequires: doxygen
b8cdd8e
BuildRequires: flex
4e57950
BuildRequires: graphviz
b8cdd8e
BuildRequires: pkgconfig(cairo)
b8cdd8e
BuildRequires: pkgconfig(cairo-xcb)
b8cdd8e
BuildRequires: pkgconfig(check) >= 0.11.0
b8cdd8e
BuildRequires: pkgconfig(glib-2.0)
b8cdd8e
BuildRequires: pkgconfig(librsvg-2.0)
b8cdd8e
BuildRequires: pkgconfig(libstartup-notification-1.0)
b8cdd8e
BuildRequires: pkgconfig(pango)
b8cdd8e
BuildRequires: pkgconfig(pangocairo)
b8cdd8e
BuildRequires: pkgconfig(xcb)
b9eb66a
BuildRequires: pkgconfig(xcb-aux)
b8cdd8e
BuildRequires: pkgconfig(xcb-ewmh)
b8cdd8e
BuildRequires: pkgconfig(xcb-icccm)
b8cdd8e
BuildRequires: pkgconfig(xcb-randr)
b8cdd8e
BuildRequires: pkgconfig(xcb-xinerama)
b8cdd8e
BuildRequires: pkgconfig(xcb-xkb)
b8cdd8e
BuildRequires: pkgconfig(xcb-xrm)
b8cdd8e
BuildRequires: pkgconfig(xkbcommon)
b8cdd8e
BuildRequires: pkgconfig(xkbcommon-x11)
b8cdd8e
5443086
# https://github.com/sardemff7/libgwater
5443086
Provides: bundled(libgwater)
5443086
# https://github.com/sardemff7/libnkutils
5443086
Provides: bundled(libnkutils)
5443086
27bd332
Requires:      %{name}-themes = %{version}-%{release}
27bd332
b8cdd8e
b8cdd8e
%description
b8cdd8e
Rofi is a dmenu replacement. Rofi, like dmenu, will provide the user with a
b8cdd8e
textual list of options where one or more can be selected. This can either be,
b8cdd8e
running an application, selecting a window or options provided by an external
b8cdd8e
script.
b8cdd8e
b8cdd8e
%package        devel
b8cdd8e
Summary:        Development files for %{name}
b8cdd8e
Requires:       %{name} = %{version}-%{release}
b8cdd8e
Requires:       pkgconfig
b8cdd8e
b8cdd8e
%description    devel
b8cdd8e
The %{name}-devel package contains libraries and header files for
b8cdd8e
developing applications that use %{name}.
b8cdd8e
8c8cb17
%package        devel-doc
b239926
Summary:        Documentation files for %{name}
27bd332
BuildArch:      noarch
b239926
8c8cb17
%description    devel-doc
8c8cb17
The %{name}-devel-doc package contains documentation files for developing
b239926
applications that use %{name}.
b239926
27bd332
%package        themes
27bd332
Summary:        Themes for %{name}
27bd332
BuildArch:      noarch
27bd332
27bd332
%description    themes
27bd332
The %{name}-themes package contains themes for %{name}.
27bd332
b8cdd8e
%prep
27935e8
%autosetup -p1
b8cdd8e
b8cdd8e
b8cdd8e
%build
b8cdd8e
%configure
b8cdd8e
make %{?_smp_mflags}
2aa1bf0
b239926
make doxy
2aa1bf0
find doc/html/html -name "*.map" -delete
2aa1bf0
find doc/html/html -name "*.md5" -delete
b8cdd8e
b8cdd8e
b8cdd8e
%install
b8cdd8e
%make_install
b8cdd8e
836edb9
4e57950
%check
Till Hofmann 249e1d0
make check || (cat ./test-suite.log; false)
4e57950
b8cdd8e
b8cdd8e
%files
b8cdd8e
%doc README.md
41619a2
%license COPYING
b8cdd8e
%{_bindir}/rofi
b8cdd8e
%{_bindir}/rofi-sensible-terminal
b8cdd8e
%{_bindir}/rofi-theme-selector
b8cdd8e
%{_mandir}/man1/rofi*
b8cdd8e
%{_mandir}/man5/rofi*
b8cdd8e
27bd332
%files themes
41619a2
%license COPYING
27bd332
%{_datarootdir}/rofi
27bd332
b8cdd8e
%files devel
b8cdd8e
%{_includedir}/rofi
b8cdd8e
%{_libdir}/pkgconfig/rofi.pc
b8cdd8e
8c8cb17
%files devel-doc
41619a2
%license COPYING
b239926
%doc doc/html/html/*
b239926
b8cdd8e
b8cdd8e
b8cdd8e
%changelog
360b99e
* Fri Jun 21 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.5.2-1
360b99e
- Update to 1.5.2
360b99e
f79264d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-8
f79264d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f79264d
Till Hofmann 249e1d0
* Tue Nov 13 2018 Till Hofmann <hofmann@kbsg.rwth-aachen.de> - 1.5.1-7
Till Hofmann 249e1d0
- Add patch to fix undefined behavior of char* initialization
Till Hofmann 249e1d0
2aa1bf0
* Sun Nov 11 2018 Till Hofmann <thofmann@fedoraproject.org> - 1.5.1-6
2aa1bf0
- Do not package .md5 or .map files
6edb927
- Remove scriptlet to modify shebang, rely on mangler instead
2aa1bf0
b9eb66a
* Sat Nov 10 2018 Till Hofmann <thofmann@fedoraproject.org> - 1.5.1-5
b9eb66a
- Replace BR pkconfig(xcb-util) -> pkgconfig(xcb-aux)
328f400
- Clarify license of bison-generated files
b9eb66a
8c8cb17
* Thu Nov 08 2018 Till Hofmann <thofmann@fedoraproject.org> - 1.5.1-4
8c8cb17
- Rename doc sub-package to devel-doc
8c8cb17
41619a2
* Tue Nov 06 2018 Till Hofmann <thofmann@fedoraproject.org> - 1.5.1-3
41619a2
- Install license file to all independently installable packages
41619a2
27bd332
* Tue Nov 06 2018 Till Hofmann <thofmann@fedoraproject.org> - 1.5.1-2
27bd332
- Move themes into a separate noarch sub-package
27bd332
- Make doc sub-package noarch
27bd332
4e57950
* Mon Nov 05 2018 Till Hofmann <thofmann@fedoraproject.org> - 1.5.1-1
4e57950
- Update to 1.5.1
4e57950
- Run tests
4e57950
- Remove upstreamed patch
4e57950
- Add missing BR: doxygen
4e57950
- Add missing BR: graphviz
4e57950
836edb9
* Tue Oct 24 2017 Till Hofmann <thofmann@fedoraproject.org> - 1.4.2-1
b8cdd8e
- Initial package