initial import (#1211831).
parent
8bb9309960
commit
259da1eed7
@ -0,0 +1 @@
|
||||
/copyq-2.4.6.tar.gz
|
@ -0,0 +1,67 @@
|
||||
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
|
Loading…
Reference in new issue