[quearcode] Initial import.

Jon Ciesla limb at fedoraproject.org
Wed Sep 12 14:18:14 UTC 2012


commit 6ea0ec8f182db1aa1d35641d6b40d0a9b0e103fb
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Wed Sep 12 09:17:24 2012 -0500

    Initial import.

 .gitignore        |    1 +
 quearcode.desktop |   11 +++++++
 quearcode.spec    |   76 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 4 files changed, 89 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..12bf068 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/quearcode-0.2.tar.gz
diff --git a/quearcode.desktop b/quearcode.desktop
new file mode 100644
index 0000000..9374bae
--- /dev/null
+++ b/quearcode.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=Quearcode
+Exec=quearcode
+Comment=Create QR Codes
+Icon=quearcode
+Terminal=false
+Categories=Graphics;
+StartupNotify=false
+Version=1.0
diff --git a/quearcode.spec b/quearcode.spec
new file mode 100644
index 0000000..6eecea6
--- /dev/null
+++ b/quearcode.spec
@@ -0,0 +1,76 @@
+Name:           quearcode
+Version:        0.2
+Release:        2%{?dist}
+Summary:        A tool for creating QR Codes
+
+Group:          Applications/Multimedia
+License:        GPLv3+
+URL:            http://sourceforge.net/projects/quearcode/
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source1:        quearcode.desktop
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  desktop-file-utils
+Requires:       python-qrcode pygtk2 hicolor-icon-theme
+
+%description
+Convert strings and small files to QR Codes
+
+%prep
+%setup -q
+
+
+%build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/quearcode
+
+install -m 755 quearcode $RPM_BUILD_ROOT%{_bindir}/quearcode
+install -m 644 logo.png $RPM_BUILD_ROOT%{_datadir}/quearcode/
+
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
+install -p -m 644 logo.png \
+  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/quearcode.png
+
+desktop-file-install \
+  --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README TODO
+%{_bindir}/quearcode
+%{_datadir}/quearcode
+%{_datadir}/applications/quearcode.desktop
+%{_datadir}/icons/hicolor/scalable/apps/quearcode.png
+
+
+%changelog
+* Wed Sep 12 2012 Jon Ciesla <limburgher at gmail.com> - 0.2-2
+- URL fix for review.
+
+* Tue Sep 11 2012 Jon Ciesla <limburgher at gmail.com> - 0.2-1
+- 0.2, deeper control of generation.
+
+* Tue Sep 11 2012 Jon Ciesla <limburgher at gmail.com> - 0.1.2-1
+- First build.
diff --git a/sources b/sources
index e69de29..258f627 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6e01ea581e74e079603694c946fb2e8f  quearcode-0.2.tar.gz


More information about the scm-commits mailing list