[clipit/f15] Initial import (#716299)

Nikos Roussos comzeradd at fedoraproject.org
Wed Nov 16 09:25:54 UTC 2011


commit fecd01f368dc7fe2795709072c45cb9f5e454274
Author: comzeradd <nikos at autoverse.net>
Date:   Wed Nov 16 11:23:42 2011 +0200

    Initial import (#716299)

 .gitignore               |    1 +
 clipit-1.4.1-de.po.patch |   11 ++++++
 clipit.spec              |   90 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 4 files changed, 103 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9273fb4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/clipit-1.4.1.tar.gz
diff --git a/clipit-1.4.1-de.po.patch b/clipit-1.4.1-de.po.patch
new file mode 100644
index 0000000..bbcf536
--- /dev/null
+++ b/clipit-1.4.1-de.po.patch
@@ -0,0 +1,11 @@
+--- clipit-1.4.1/po/de.po.orig	2011-07-14 11:43:41.724836682 +0300
++++ clipit-1.4.1/po/de.po	2011-07-14 11:43:50.402889212 +0300
+@@ -227,7 +227,7 @@
+ 
+ #: ../src/preferences.c:582
+ msgid "Hotkeys"
+-msgstr "<b>Tastenkombinationen</b>"
++msgstr "Tastenkombinationen"
+ 
+ #: ../src/preferences.c:590
+ msgid "<b>Hotkeys</b>"
diff --git a/clipit.spec b/clipit.spec
new file mode 100644
index 0000000..f45c8c2
--- /dev/null
+++ b/clipit.spec
@@ -0,0 +1,90 @@
+Name:           clipit
+Version:        1.4.1
+Release:        3%{?dist}
+Summary:        A lightweight, fully featured GTK+ clipboard manager
+
+Group:          User Interface/Desktops
+License:        GPLv3+
+URL:            http://clipit.rspwn.com/
+Source0:        http://downloads.sourceforge.net/gtk%{name}/%{name}-%{version}.tar.gz
+# patch fixing German translation inconsistency
+# http://sf.net/tracker/?func=detail&aid=3367028&group_id=369179&atid=1538558
+Patch0:         clipit-1.4.1-de.po.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: gtk2-devel
+BuildRequires: desktop-file-utils
+BuildRequires: intltool
+BuildRequires: gettext
+Requires: xdotool
+
+%description
+ClipIt is a lightweight, fully featured GTK+ clipboard manager. It was forked
+from Parcellite, adding additional features and bug-fixes to the project.
+ClipIts main features are:
+* Save a history of your last copied items
+* Search through the history
+* Global hot-keys for most used functions
+* Execute actions with clipboard items
+* Exclude specific items from history
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .orig
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+%find_lang %{name}
+desktop-file-install --delete-original \
+    --remove-category=Application \
+    --dir %{buildroot}%{_datadir}/applications \
+    %{buildroot}%{_datadir}/applications/%{name}.desktop
+desktop-file-install --delete-original \
+    --dir %{buildroot}%{_sysconfdir}/xdg/autostart \
+    %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    /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 || :
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README NEWS
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1.*
+%{_datadir}/icons/hicolor/scalable/apps/%{name}-trayicon.svg
+%{_datadir}/applications/%{name}.desktop
+%config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
+
+
+%changelog
+* Thu Jul 14 2011 Nikos Roussos <nikos at autoverse.net> 1.4.1-3
+- Fixed dependency missing, de translation bug, desktop icon bug
+
+* Fri Jul 01 2011 Nikos Roussos <nikos at autoverse.net> 1.4.1-2
+- Fixed config warning and more spec errors
+
+* Wed Jun 01 2011 Nikos Roussos <nikos at autoverse.net> 1.4.1-1
+- Initial Fedora RPM
diff --git a/sources b/sources
index e69de29..9be368f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0f255859469dbdf8ad5408556cb610b8  clipit-1.4.1.tar.gz


More information about the scm-commits mailing list