[kupfer] Initial commit
Mario Blättermann
mariobl at fedoraproject.org
Sat Oct 13 16:16:37 UTC 2012
commit ec4ce37d990c4fa5e7608d121abe32fd5dd1ad0f
Author: Mario Blättermann <mario.blaettermann at gmail.com>
Date: Sat Oct 13 18:17:27 2012 +0200
Initial commit
.gitignore | 1 +
kupfer.spec | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 179 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..aea5038 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kupfer-v208.tar.xz
diff --git a/kupfer.spec b/kupfer.spec
new file mode 100644
index 0000000..ad7c84f
--- /dev/null
+++ b/kupfer.spec
@@ -0,0 +1,177 @@
+Name: kupfer
+Version: 208
+Release: 4%{?dist}
+Summary: Summon an application or document quickly
+
+# application: GPLv3+, documentation: CC-BY-SA
+License: GPLv3+ and CC-BY-SA
+URL: http://kaizer.se/wiki/%{name}/
+Source0: http://kaizer.se/publicfiles/%{name}/%{name}-v%{version}.tar.xz
+
+BuildArch: noarch
+
+BuildRequires: binutils
+BuildRequires: desktop-file-utils
+BuildRequires: gnome-doc-utils
+BuildRequires: intltool
+BuildRequires: python-docutils
+BuildRequires: waf
+
+# Important runtime requires
+Requires: python-keybinder
+Requires: dbus-python
+Requires: gnome-python2-libwnck
+Requires: gnome-python2-gnomekeyring
+Requires: pygtk2
+Requires: pyxdg
+
+# Opportunistic runtime requires
+Requires: python-gdata
+
+
+%description
+Kupfer is an interface for quick and convenient access to applications and
+their documents.
+
+The most typical use is to find a specific application and launch it. We have
+tried to make Kupfer easy to extend with plugins so that this quick-access
+paradigm can be extended to many more objects than just applications.
+
+
+%package thunar
+Summary: A Thunar plugin for kupfer
+License: GPLv3+
+
+Requires: %{name} = %{version}-%{release}
+Requires: Thunar
+
+%description thunar
+This plugin adds an option to Thunar to deal with Kupfer.
+
+
+%prep
+%setup -q -n %{name}-v%{version}
+
+
+%build
+CFLAGS="%{optflags} -Werror" %{__python} waf configure --prefix=%{_prefix} --libdir=%{_libdir} --no-runtime-deps --no-update-mime --no-update-icon-cache --nopyc
+%{__python} waf build %{?_smp_mflags}
+
+
+%install
+%{__python} waf install --destdir=%{buildroot}
+rm -rf %{buildroot}%{_libdir}/
+
+# find language files
+%find_lang %{name} --with-gnome
+
+ # install desktop files
+desktop-file-install \
+ --delete-original \
+ --dir=%{buildroot}%{_datadir}/applications \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop \
+ %{buildroot}%{_datadir}/applications/%{name}-exec.desktop
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+# main
+%files -f %{name}.lang
+%doc COPYING GIT_VERSION NEWS README.rst
+%doc Documentation
+%{_bindir}/%{name}*
+%{_datadir}/applications/%{name}*.desktop
+%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
+%{_datadir}/mime/packages/%{name}-mimetypes.xml
+%{_datadir}/%{name}
+%exclude %{_datadir}/%{name}/%{name}/plugin/thunar*
+%{_mandir}/man1/%{name}*.1*
+
+%files thunar
+%{_datadir}/Thunar/sendto/%{name}.desktop
+%{_datadir}/%{name}/%{name}/plugin/thunar*
+
+%changelog
+* Fri Oct 12 2012 Mario Blättermann <mariobl at fedoraproject.org> - 208-4
+- Removed old el5 stuff
+- %%{?_isa} suffixes are unneeded for noarch
+- Added licensing comment
+- Thunar files excluded from base package
+- Scriptlets to update the mime info database
+- Removed deprecated Nautilus files in %%install
+- No extra *.desktop file validation needed
+- Use macros consistently
+
+* Thu Oct 04 2012 Mario Blättermann <mariobl at fedoraproject.org> - 208-3
+- Removed the plugin package generally, except for Thunar
+- Added --with-gnome to %%find_lang
+- Removed man page extension
+- Cleanup of BuildRequires and Requires
+- Correct license: GPLv3+ for the python scripts, CC-BY-SA for Gnome help files
+
+* Fri Sep 14 2012 Mario Blättermann <mariobl at fedoraproject.org> - 208-2
+- Added the Thunar scripts to the -thunar subpackage
+- Shorter summary
+- Removed group
+- Exclude the Nautilus extension because we haven't Nautilus v2 anymore
+- Make it noarch
+
+* Thu Jun 28 2012 Mario Blättermann <mariobl at fedoraproject.org> - 208-1
+- Updated to v208
+- Removed COPYING from the plugin subpackage
+- Added a new plugins-thunar subpackage
+
+* Sun May 06 2012 Renich Bon Ciric <renich at woralelandia.com - 207-1
+- Version update to 207
+- Removed the non-opening preferences patch
+
+* Wed Sep 07 2011 Renich Bon Ciric <renich at woralelandia.com> - 206-5
+- Added a patch to fix non-opening preferences; referencing bug: https://bugs.launchpad.net/kupfer/+bug/841867?comments=all
+
+* Mon Sep 05 2011 Renich Bon Ciric <renich at woralelandia.com> - 206-4
+- Removed oportunistic dependencies on nautilus.
+
+* Sat Aug 13 2011 Renich Bon Ciric <renich at woralelandia.com> - 206-3
+- Removed $$RPM_BUILD_ROOT and replaced it with the appropriate macro.
+- removed the gnome/help/kupfer files from doc.
+
+* Mon May 16 2011 Renich Bon Ciric <renich at woralelandia.com> - 206-2
+- Corrected license info
+- Updated description to reflect website's
+- Removed v from version
+- Building for python3
+- General file reorganization (%%files section)
+
+* Mon Apr 25 2011 Renich Bon Ciric <renich at woralelandia.com> - v206-1
+- Updated to v206
+
+* Thu Apr 14 2011 Renich Bon Ciric <renich at woralelandia.com> - v205-2
+- Fixed file separation in plugins and main package
+
+* Tue Apr 12 2011 Renich Bon Ciric <renich at woralelandia.com> - v205-1
+- Updated to v205
+- Updated the spec format
+- Added python-keybinder requirement
+- Added python-docutils on BuildRequires for man page generation at build
+- Included technical documentation (TODO: make a devel package)
+- Correctly updating desktop and icon files and cache
+
+* Mon Jan 31 2011 Renich Bon Ciric <renich at woralelandia.com> - 203-2
+- Packaged plugins separately
+
+* Mon Jan 31 2011 Renich Bon Ciric <renich at woralelandia.com> - 203-1
+- First build
+- Changed version so it reflects the Fedora Naming Guidelines.
diff --git a/sources b/sources
index e69de29..ee410b4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8aba99f4c26989e7c9182d3d782d5806 kupfer-v208.tar.xz
More information about the scm-commits
mailing list