Blame obconf-qt.spec

ea2cd0d
Name:           obconf-qt
2a8d76d
Version:        0.14.0
3e4bdc9
Release:        2%{?dist}
ea2cd0d
Summary:        A configuration editor for the OpenBox window manager
ea2cd0d
ea2cd0d
License:        GPLv2+
ea2cd0d
URL:            https://github.com/lxde/obconf-qt
ea2cd0d
Source0:        %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
ea2cd0d
ea2cd0d
BuildRequires:  cmake
ea2cd0d
BuildRequires:  desktop-file-utils
ea2cd0d
BuildRequires:  kf5-kwindowsystem-devel
ea2cd0d
BuildRequires:  qt5-linguist
ea2cd0d
BuildRequires:  pkgconfig(lxqt)
ea2cd0d
BuildRequires:  pkgconfig(obrender-3.5)
ea2cd0d
BuildRequires:  pkgconfig(obt-3.5)
ea2cd0d
BuildRequires:  pkgconfig(Qt5Core)
ea2cd0d
BuildRequires:  pkgconfig(Qt5Gui)
ea2cd0d
BuildRequires:  pkgconfig(Qt5Widgets)
ea2cd0d
BuildRequires:  pkgconfig(Qt5X11Extras)
ea2cd0d
BuildRequires:  pkgconfig(sm)
ea2cd0d
ea2cd0d
Requires:       hicolor-icon-theme
ea2cd0d
Requires:       openbox
ea2cd0d
ea2cd0d
%description
ea2cd0d
%{summary}.
ea2cd0d
ea2cd0d
3e4bdc9
%package l10n
3e4bdc9
Summary:        Translations for obconf-qt
3e4bdc9
Requires:       obconf-qt
3e4bdc9
%description l10n
3e4bdc9
This package provides translations for the obconf-qt package.
3e4bdc9
ea2cd0d
%prep
8ef542f
%setup -q
ea2cd0d
ea2cd0d
%build
ea2cd0d
mkdir -p %{_target_platform}
ea2cd0d
pushd %{_target_platform}
ea2cd0d
    %{cmake_lxqt} -DPULL_TRANSLATIONS=NO ..
ea2cd0d
popd
ea2cd0d
ea2cd0d
make %{?_smp_mflags} -C %{_target_platform}
ea2cd0d
ea2cd0d
ea2cd0d
%install
ea2cd0d
%make_install -C %{_target_platform}
ea2cd0d
ea2cd0d
desktop-file-install \
ea2cd0d
    --dir=%{buildroot}%{_datadir}/applications \
ea2cd0d
    %{buildroot}/%{_datadir}/applications/%{name}.desktop
ea2cd0d
3e4bdc9
%find_lang obconf-qt --with-qt
3e4bdc9
8ef542f
%files
ea2cd0d
%license COPYING
ea2cd0d
%doc AUTHORS
ea2cd0d
%{_bindir}/%{name}
ea2cd0d
%{_datadir}/applications/*.desktop
ea2cd0d
%{_datadir}/icons/hicolor/*/*/*
2a8d76d
%{_datadir}/%{name}
ea2cd0d
3e4bdc9
%files l10n -f obconf-qt.lang
3e4bdc9
%license COPYING
3e4bdc9
%doc AUTHORS README.md
3e4bdc9
%dir %{_datadir}/obconf-qt/translations
3e4bdc9
ea2cd0d
%changelog
3e4bdc9
* Wed Feb 13 2019 Zamir SUN <sztsian@gmail.com> - 0.14.0-2
3e4bdc9
- Add l10n sub package
3e4bdc9
2a8d76d
* Wed Feb 13 2019 Zamir SUN <zsun@fedoraproject.org>  - 0.14.0-1
2a8d76d
- Prepare for LXQt 0.14.0
2a8d76d
5eedff9
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-9
5eedff9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5eedff9
544f054
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-8
544f054
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
544f054
cb3ee94
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-7
cb3ee94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cb3ee94
2e1b555
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-6
2e1b555
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2e1b555
f3fe659
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-5
f3fe659
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f3fe659
5084839
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-4
5084839
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5084839
aa047b8
* Thu Jan 19 2017 Christian Dersch <lupinix@mailbox.org> - 0.11.1-3
aa047b8
- rebuilt
aa047b8
8ef542f
* Wed Jan 18 2017 Christian Dersch <lupinix@mailbox.org> - 0.11.1-2
8ef542f
- moved translations to lxqt-l10n
8ef542f
eefdce1
* Sat Jan 07 2017 Christian Dersch <lupinix@mailbox.org> - 0.11.1-1
eefdce1
- new version
eefdce1
ea2cd0d
* Wed Sep 28 2016 Christian Dersch <lupinix@mailbox.org> - 0.11.0-1
ea2cd0d
- Initial package import
ea2cd0d
- Removed debuginfo patch (applied upstream)
ea2cd0d
ea2cd0d
* Mon Jul 18 2016 Christian Dersch <lupinix@fedoraproject.org> - 0.9.0-2
ea2cd0d
- Added patch for debuginfo
ea2cd0d
ea2cd0d
* Sun Jul 17 2016 Christian Dersch <lupinix@fedoraproject.org> - 0.9.0-1
ea2cd0d
- initial package