[plank] Initial import (#896193)

Wesley S. Hearn jknife at fedoraproject.org
Mon Feb 17 15:07:30 UTC 2014


commit ef4222e7e09aa60921eaa63d237c5beebc11dfd3
Author: Wesley Hearn <whearn at redhat.com>
Date:   Mon Feb 17 10:07:57 2014 -0500

    Initial import (#896193)

 .gitignore |    1 +
 plank.spec |  117 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 119 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cce58b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/plank-0.5.0.tar.xz
diff --git a/plank.spec b/plank.spec
new file mode 100644
index 0000000..3c75b6b
--- /dev/null
+++ b/plank.spec
@@ -0,0 +1,117 @@
+Name:           plank
+Version:        0.5.0
+Release:        3%{?dist}
+Summary:        A port of docky to Vala
+
+License:        GPLv3+
+URL:            http://wiki.go-docky.com/index.php?title=Plank:Introduction
+Source0:        https://launchpad.net/%{name}/1.0/%{version}/+download/%{name}-%{version}.tar.xz
+
+BuildRequires:  gnome-common
+BuildRequires:  libgee-devel
+BuildRequires:  vala
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  vala-tools
+BuildRequires:  glib2-devel
+BuildRequires:  libwnck3-devel
+BuildRequires:  bamf3-devel
+BuildRequires:  gtk3-devel
+BuildRequires:  intltool
+BuildRequires:  desktop-file-utils
+BuildRequires:  libdbusmenu-gtk3-devel
+BuildRequires:  libdbusmenu-devel
+Requires:       bamf-daemon
+
+%description
+A very simple dock written in Vala.
+
+
+%package devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       vala-tools
+
+%description devel
+Development files for %{name}
+
+%prep
+%setup -q
+
+%build
+%configure
+# Remove rpath
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+# Fix unused-direct-shlib-dependency from rpmlint
+sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
+make %{?_smp_mflags} V=1
+
+%install
+make install DESTDIR=%{buildroot}
+# Fedora does not use apport
+rm -f %{buildroot}%{_sysconfdir}/apport/crashdb.conf.d/%{name}-crashdb.conf
+rm -f %{buildroot}%{_datadir}/apport/package-hooks/source_%{name}.py
+# Remove built .la file
+rm -f %{buildroot}%{_libdir}/lib%{name}.la
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+%find_lang %{name}
+
+%files -f %{name}.lang
+%doc AUTHORS ChangeLog COPYING
+%{_bindir}/%{name}
+%{_libdir}/lib%{name}.so.0
+%{_libdir}/lib%{name}.so.0.0.0
+%{_mandir}/man1/%{name}.1*
+%{_datadir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.svg
+
+%files devel
+%{_libdir}/lib%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
+%{_includedir}/%{name}
+%{_datadir}/vala/vapi/%{name}.vapi
+%{_datadir}/vala/vapi/%{name}.deps
+
+%post
+/sbin/ldconfig
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+/sbin/ldconfig
+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 || :
+
+%changelog
+* Mon Feb 17 2014 Wesley Hearn <whearn at redhat.com> - 0.5.0-3
+- Removed Group from devel package
+
+* Fri Feb 14 2014 Wesley Hearn <whearn at redhat.com> - 0.5.0-2
+- Cleaned up SPEC file
+
+* Tue Jan 14 2014 Wesley Hearn <whearn at redhat.com> - 0.5.0-1
+- Updating to new upstream release
+
+* Thu Aug 08 2013 Wesley Hearn <whearn at redhat.com> - 0.3.0-1
+- Updating to new upstream release
+
+* Thu Jan 24 2013 Wesley Hearn <whearn at redhat.com> - 0.2.0.734-0.1.20130124bzr
+- Updated to 734
+
+* Mon Jan 21 2013 Wesley Hearn <whearn at redhat.com> - 0.2.0.731-1.20130121
+- Updates to revision 731
+- Fixed version numbers and how I generate the source ball
+- Cleaned up spec file some more
+
+* Thu Jan 17 2013 Wesley Hearn <whearn at redhat.com> - 0.0-1.20130117bzr723
+- Updated to revision 723
+- Cleaned up the spec file some
+
+* Wed Jan 16 2013 Wesley Hearn <whearn at redhat.com> - 0.0-1.20130116bzr722
+- Initial package
+
diff --git a/sources b/sources
index e69de29..2e5c478 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3996a47d4c7e1c24a58ccb41a1db5678  plank-0.5.0.tar.xz


More information about the scm-commits mailing list