You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.0 KiB
68 lines
2.0 KiB
Name: copyq
|
|
Summary: Advanced clipboard manager
|
|
Version: 2.4.6
|
|
Release: 4%{?dist}
|
|
License: GPLv3+
|
|
Url: http://sourceforge.net/projects/%{name}/
|
|
Source0: http://sourceforge.net/projects/%{name}/files/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake, libXtst-devel, qt4-devel, qtwebkit-devel
|
|
BuildRequires: desktop-file-utils, libXfixes-devel
|
|
|
|
%description
|
|
CopyQ is advanced clipboard manager with searchable and editable history with
|
|
support for image formats, command line control and more.
|
|
|
|
%prep
|
|
%setup -qn %{name}-%{version}
|
|
|
|
%build
|
|
%cmake -DCMAKE_SKIP_RPATH=TRUE \
|
|
-DWITH_TESTS=TRUE \
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
-DPLUGIN_INSTALL_PREFIX=%{_libdir}/%{name}/plugins \
|
|
-DTRANSLATION_INSTALL_PREFIX:PATH=share/%{name}/locale
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
%find_lang %{name} --with-qt
|
|
|
|
%check
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
|
|
%files -f %{name}.lang
|
|
%doc AUTHORS CHANGES HACKING README.md
|
|
%license LICENSE
|
|
%{_bindir}/%{name}
|
|
%{_libdir}/%{name}/
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}*.svg
|
|
%dir %{_datadir}/%{name}/
|
|
%dir %{_datadir}/%{name}/locale/
|
|
%{_datadir}/%{name}/themes/
|
|
|
|
%post
|
|
/usr/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ] ; then
|
|
/usr/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
fi
|
|
|
|
%posttrans
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
%changelog
|
|
* Sat Apr 25 2015 Gerald Cox <gbcox@fedoraprject.org> 2.4.6-4
|
|
- Remove superfluous explicit requires rhbz#1211831
|
|
|
|
* Fri Apr 24 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-3
|
|
- Resolve duplicate file warnings, runtime dependencies rhbz#1211831
|
|
|
|
* Fri Apr 24 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-2
|
|
- Enable end user testing - http://goo.gl/ue6e2F rhbz#1211831
|
|
|
|
* Tue Apr 14 2015 Gerald Cox <gbcox@fedoraproject.org> 2.4.6-1
|
|
- Initial Build 2.4.6-1 rhbz#1211831
|