]> git.pld-linux.org Git - packages/xfce4-taskbar-plugin.git/commitdiff
- new auto/th/xfce4-taskbar-plugin-0.20130504-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 17 Aug 2014 21:25:51 +0000 (23:25 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 17 Aug 2014 21:25:51 +0000 (23:25 +0200)
make.patch [new file with mode: 0644]
xfce4-taskbar-plugin.spec [new file with mode: 0644]

diff --git a/make.patch b/make.patch
new file mode 100644 (file)
index 0000000..0f018eb
--- /dev/null
@@ -0,0 +1,22 @@
+--- xfce4-taskbar-plugin/Makefile~     2014-08-17 18:45:58.000000000 +0200
++++ xfce4-taskbar-plugin/Makefile      2014-08-17 18:49:15.679068441 +0200
+@@ -1,5 +1,5 @@
+ PP=-DPACKAGE_NAME="\"Taskbar\"" -DLC_MESSAGES="\"C\"" -DHELPDIR="\"/usr/share/doc/xfce4-taskbar/\""
+-CFLAGS=-fPIC $(PP) -g -I. `pkg-config --cflags-only-I gtk+-2.0 exo-1 libwnck-1.0 libxfce4panel-1.0 libxfce4ui-1 libxfconf-0 gtkhotkey-1.0`
++CFLAGS=-fPIC $(PP) $(OPT) -I. `pkg-config --cflags-only-I gtk+-2.0 exo-1 libwnck-1.0 libxfce4panel-1.0 libxfce4ui-1 libxfconf-0 gtkhotkey-1.0`
+ #CFLAGS=-fPIC $(PP) -O3 -I. `pkg-config --cflags-only-I gtk+-2.0 exo-1 libwnck-1.0 libxfce4panel-1.0 libxfce4ui-1 libxfconf-0 gtkhotkey-1.0`
+ LINKFLAGS=`pkg-config --libs gtk+-2.0 exo-1 libwnck-1.0 libxfce4panel-1.0 libxfce4ui-1 libxfconf-0 gobject-2.0 gtk+-x11-2.0 glib-2.0 gtkhotkey-1.0`
+@@ -16,8 +16,10 @@
+       g++ -shared  -o libtaskbar.so $(OBJ) $(LINKFLAGS)
+ install:
+-      cp `pwd`/libtaskbar.so /usr/lib/xfce4/panel-plugins/libtaskbar.so
+-      cp `pwd`/taskbar.desktop /usr/share/xfce4/panel/plugins/taskbar.desktop
++      mkdir -p $(DESTDIR)/usr/$(LIB)/xfce4/panel/plugins
++      mkdir -p $(DESTDIR)/usr/share/xfce4/panel/plugins
++      cp libtaskbar.so $(DESTDIR)/usr/$(LIB)/xfce4/panel/plugins/libtaskbar.so
++      cp taskbar.desktop $(DESTDIR)/usr/share/xfce4/panel/plugins/taskbar.desktop
+ uninstall:
+       rm -f /usr/lib/xfce4/panel-plugins/libtaskbar.so
diff --git a/xfce4-taskbar-plugin.spec b/xfce4-taskbar-plugin.spec
new file mode 100644 (file)
index 0000000..ccef469
--- /dev/null
@@ -0,0 +1,47 @@
+%define                snap 20130504
+Summary:       Taskbar plugin which mimicks the Windows 7 taskbar (pinning applications, etc)
+Name:          xfce4-taskbar-plugin
+Version:       0.%{snap}
+Release:       1
+License:       GPL v2
+Group:         X11/Applications
+Source0:       %{name}-%{snap}.tar.bz2
+# Source0-md5: 259533052a8398e50496052699b75787
+Patch0:                make.patch
+URL:           http://git.xfce.org/panel-plugins/xfce4-taskbar-plugin/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gtkhotkey-devel
+BuildRequires: libtool
+BuildRequires: libxfce4ui-devel
+BuildRequires: xfce4-dev-tools >= 4.11.0
+BuildRequires: xfce4-panel-devel >= 4.11.0
+Requires:      xfce4-panel >= 4.11.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Taskbar plugin which mimicks the Windows 7 taskbar
+(pinning applications, etc)
+
+%prep
+%setup -q -n %{name}
+%patch0 -p1
+
+%build
+%{__make} OPT="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       LIB=%{_lib}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libtaskbar.so
+%{_datadir}/xfce4/panel/plugins/taskbar.desktop
This page took 0.073941 seconds and 4 git commands to generate.