Blame elementary-code.spec

d0f5a20
%global srcname code
d0f5a20
%global appname io.elementary.code
d0f5a20
d0f5a20
%global __provides_exclude_from ^%{_libdir}/%{appname}/.*\\.so$
d0f5a20
d0f5a20
Name:           elementary-code
d0f5a20
Summary:        Code editor from elementary
a989d8f
Version:        3.4.1
039c739
Release:        1%{?dist}
d0f5a20
License:        GPLv3
d0f5a20
d0f5a20
URL:            https://github.com/elementary/%{srcname}
28ed2a6
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
d0f5a20
d0f5a20
BuildRequires:  desktop-file-utils
d0f5a20
BuildRequires:  gettext
d0f5a20
BuildRequires:  libappstream-glib
d0f5a20
BuildRequires:  meson
d0f5a20
BuildRequires:  vala
d0f5a20
d0f5a20
BuildRequires:  pkgconfig(editorconfig)
d0f5a20
BuildRequires:  pkgconfig(fontconfig)
d0f5a20
BuildRequires:  pkgconfig(gee-0.8) >= 0.8.5
d0f5a20
BuildRequires:  pkgconfig(gio-unix-2.0) >= 2.20
d0f5a20
BuildRequires:  pkgconfig(glib-2.0) >= 2.30.0
6fe4769
BuildRequires:  pkgconfig(granite) >= 5.2.0
d0f5a20
BuildRequires:  pkgconfig(gtksourceview-3.0) >= 3.24
d0f5a20
BuildRequires:  pkgconfig(gtkspell3-3.0)
d0f5a20
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.6.0
28ed2a6
BuildRequires:  pkgconfig(libgit2-glib-1.0)
d0f5a20
BuildRequires:  pkgconfig(libpeas-1.0)
d0f5a20
BuildRequires:  pkgconfig(libpeas-gtk-1.0)
d0f5a20
BuildRequires:  pkgconfig(libsoup-2.4)
a0f0265
BuildRequires:  pkgconfig(libvala-0.48)
d0f5a20
BuildRequires:  pkgconfig(pangoft2)
d0f5a20
BuildRequires:  pkgconfig(vte-2.91)
d0f5a20
BuildRequires:  pkgconfig(webkit2gtk-4.0)
d0f5a20
BuildRequires:  pkgconfig(zeitgeist-2.0)
d0f5a20
d0f5a20
Requires:       hicolor-icon-theme
d0f5a20
d0f5a20
Provides:       scratch-text-editor = %{version}-%{release}
d0f5a20
Obsoletes:      scratch-text-editor < 2.4.1-13.20180825.gitdf6691c
d0f5a20
d0f5a20
d0f5a20
%description
d0f5a20
%{summary}.
d0f5a20
d0f5a20
d0f5a20
%package        devel
d0f5a20
Summary:        The text editor that works (development files)
d0f5a20
Requires:       %{name}%{?_isa} = %{version}-%{release}
d0f5a20
%description    devel
d0f5a20
%{summary}.
d0f5a20
d0f5a20
This package contains the development headers.
d0f5a20
d0f5a20
d0f5a20
%prep
28ed2a6
%autosetup -n %{srcname}-%{version} -p1
d0f5a20
d0f5a20
d0f5a20
%build
d0f5a20
%meson
d0f5a20
%meson_build
d0f5a20
d0f5a20
d0f5a20
%install
d0f5a20
%meson_install
d0f5a20
d0f5a20
%find_lang %{appname}
d0f5a20
d0f5a20
d0f5a20
%check
d0f5a20
desktop-file-validate \
d0f5a20
    %{buildroot}/%{_datadir}/applications/%{appname}.desktop
d0f5a20
d0f5a20
appstream-util validate-relax --nonet \
d0f5a20
    %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
d0f5a20
d0f5a20
d0f5a20
%files -f %{appname}.lang
d0f5a20
%doc README.md
d0f5a20
%license COPYING
d0f5a20
d0f5a20
%{_bindir}/%{appname}
d0f5a20
d0f5a20
%{_libdir}/%{appname}/
d0f5a20
%{_libdir}/libcodecore.so.0
d0f5a20
%{_libdir}/libcodecore.so.0.0
d0f5a20
d0f5a20
%{_datadir}/applications/%{appname}.desktop
d0f5a20
%{_datadir}/glib-2.0/schemas/%{appname}*.gschema.xml
d0f5a20
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
d0f5a20
%{_datadir}/%{appname}/
d0f5a20
%{_datadir}/metainfo/%{appname}.appdata.xml
d0f5a20
d0f5a20
d0f5a20
%files devel
6fe4769
%doc README.md
6fe4769
%license COPYING
6fe4769
d0f5a20
%{_includedir}/codecore.h
d0f5a20
d0f5a20
%{_libdir}/libcodecore.so
d0f5a20
%{_libdir}/pkgconfig/codecore.pc
d0f5a20
d0f5a20
%{_datadir}/vala/vapi/codecore.deps
d0f5a20
%{_datadir}/vala/vapi/codecore.vapi
d0f5a20
d0f5a20
d0f5a20
%changelog
a989d8f
* Fri Jun 12 2020 Fabio Valentini <decathorpe@gmail.com> - 3.4.1-1
a989d8f
- Update to version 3.4.1.
a989d8f
d2e167b
* Thu Apr 02 2020 Fabio Valentini <decathorpe@gmail.com> - 3.4.0-1
d2e167b
- Update to version 3.4.0.
d2e167b
039c739
* Sat Feb 29 2020 Fabio Valentini <decathorpe@gmail.com> - 3.3.0-1
039c739
- Update to version 3.3.0.
039c739
643e7c0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
643e7c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
643e7c0
a0f0265
* Fri Jan 24 2020 Kalev Lember <klember@redhat.com> - 3.2.0-2
a0f0265
- Rebuilt for vala 0.48
a0f0265
1b9c899
* Sat Jan 11 2020 Fabio Valentini <decathorpe@gmail.com> - 3.2.0-1
1b9c899
- Update to version 3.2.0.
1b9c899
4c9425d
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1-4
4c9425d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4c9425d
b5d2d73
* Fri Jul 19 2019 Kalev Lember <klember@redhat.com> - 3.1.1-3
b5d2d73
- Rebuilt for vala 0.46
b5d2d73
3277e73
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 3.1.1-2
3277e73
- Rebuild with Meson fix for #1699099
3277e73
762f4c9
* Sun Mar 17 2019 Fabio Valentini <decathorpe@gmail.com> - 3.1.1-1
762f4c9
- Update to version 3.1.1.
762f4c9
90fb145
* Thu Mar 07 2019 Fabio Valentini <decathorpe@gmail.com> - 3.1.0-1
90fb145
- Update to version 3.1.0.
90fb145
5abc528
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
5abc528
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5abc528
b0f7c34
* Mon Jan 07 2019 Fabio Valentini <decathorpe@gmail.com> - 3.0.2-1
b0f7c34
- Update to version 3.0.2.
b0f7c34
69edef6
* Mon Jan 07 2019 Kalev Lember <klember@redhat.com> - 3.0.1-2
69edef6
- Rebuilt for vala 0.44
69edef6
6fe4769
* Tue Dec 18 2018 Fabio Valentini <decathorpe@gmail.com> - 3.0.1-1
6fe4769
- Update to version 3.0.1.
6fe4769
28ed2a6
* Thu Oct 18 2018 Fabio Valentini <decathorpe@gmail.com> - 3.0-1
28ed2a6
- Update to version 3.0.
28ed2a6
d0f5a20
* Tue Aug 28 2018 Fabio Valentini <decathorpe@gmail.com> - 2.4.1-13.20180825.gitdf6691c
d0f5a20
- Initial package renamed from scratch-text-editor.
d0f5a20