| 1 | Summary: Next generation panel for Xfce |
|---|
| 2 | Name: xfce4-panel |
|---|
| 3 | Version: 4.6.4 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | License: GPLv2+ and LGPLv2+ |
|---|
| 6 | URL: http://www.xfce.org/ |
|---|
| 7 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 |
|---|
| 8 | #Patch0: contents.xml.patch |
|---|
| 9 | Group: User Interface/Desktops |
|---|
| 10 | |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | BuildRequires: libxfce4util-devel >= 4.6.0 |
|---|
| 13 | BuildRequires: libxfcegui4-devel >= 4.6.0 |
|---|
| 14 | BuildRequires: libxml2-devel >= 2.4.0 |
|---|
| 15 | BuildRequires: libexo-devel >= 0.3.100 |
|---|
| 16 | BuildRequires: libwnck-devel >= 2.20 |
|---|
| 17 | BuildRequires: startup-notification-devel |
|---|
| 18 | BuildRequires: gettext intltool |
|---|
| 19 | |
|---|
| 20 | Obsoletes: xfce4-iconbox xfce4-systray xfce4-toys xfce4-trigger-launcher |
|---|
| 21 | Obsoletes: xfce4-showdesktop-plugin xfce4-taskbar-plugin |
|---|
| 22 | Obsoletes: xfce4-windowlist-plugin xfce4-xmms-plugin |
|---|
| 23 | |
|---|
| 24 | %description |
|---|
| 25 | xfce4-panel is the panel for the XFce desktop environment |
|---|
| 26 | |
|---|
| 27 | %package devel |
|---|
| 28 | Summary: Development headers for xfce4-panel |
|---|
| 29 | Group: Development/Libraries |
|---|
| 30 | Requires: %{name} = %{version}-%{release} |
|---|
| 31 | Requires: pkgconfig |
|---|
| 32 | Requires: libxfce4util-devel >= 4.6.0 |
|---|
| 33 | Requires: libxfcegui4-devel >= 4.6.0 |
|---|
| 34 | |
|---|
| 35 | %description devel |
|---|
| 36 | This package includes the header files you will need to build |
|---|
| 37 | plugins for xfce4-panel. |
|---|
| 38 | |
|---|
| 39 | # These are all required to have a properly functioning panel, so they should |
|---|
| 40 | # not be separate IMO -- Jasper |
|---|
| 41 | |
|---|
| 42 | # %package themes |
|---|
| 43 | # Summary: Icon themes for xfce4 |
|---|
| 44 | # Group: User Interface/Desktops |
|---|
| 45 | # Requires: xfce4 |
|---|
| 46 | # This should be really noarch, but if I set noarch here, even the arch |
|---|
| 47 | # dependent stuff is marked as noarch, so... no noarch. |
|---|
| 48 | # BuildArch: noarch |
|---|
| 49 | |
|---|
| 50 | # %description themes |
|---|
| 51 | # Various icon themes for xfce4. |
|---|
| 52 | |
|---|
| 53 | # %package plugins |
|---|
| 54 | # Summary: Panel plugins for xfce4 |
|---|
| 55 | # Group: User Interface/Desktops |
|---|
| 56 | # Requires: xfce4 |
|---|
| 57 | |
|---|
| 58 | # %description plugins |
|---|
| 59 | # Various panel plugins for xfce4. |
|---|
| 60 | |
|---|
| 61 | %prep |
|---|
| 62 | %setup -q |
|---|
| 63 | #%patch0 -p1 -b .orig |
|---|
| 64 | |
|---|
| 65 | %build |
|---|
| 66 | %configure --disable-static |
|---|
| 67 | make %{?_smp_mflags} |
|---|
| 68 | |
|---|
| 69 | %install |
|---|
| 70 | rm -rf $RPM_BUILD_ROOT |
|---|
| 71 | make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} |
|---|
| 72 | %find_lang %{name} |
|---|
| 73 | |
|---|
| 74 | ## remove unuse files |
|---|
| 75 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
|---|
| 76 | #rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/lib*.la |
|---|
| 77 | rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/panel-plugins/lib*.la |
|---|
| 78 | |
|---|
| 79 | |
|---|
| 80 | %clean |
|---|
| 81 | rm -rf $RPM_BUILD_ROOT |
|---|
| 82 | |
|---|
| 83 | %post |
|---|
| 84 | touch --no-create %{_datadir}/icons/hicolor |
|---|
| 85 | if [ -x %{_bindir}/gtk-update-icon-cache ] ; then |
|---|
| 86 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
|---|
| 87 | fi |
|---|
| 88 | /sbin/ldconfig |
|---|
| 89 | |
|---|
| 90 | %postun |
|---|
| 91 | touch --no-create %{_datadir}/icons/hicolor |
|---|
| 92 | if [ -x %{_bindir}/gtk-update-icon-cache ] ; then |
|---|
| 93 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
|---|
| 94 | fi |
|---|
| 95 | /sbin/ldconfig |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | %files -f %{name}.lang |
|---|
| 99 | %defattr(-,root,root) |
|---|
| 100 | %doc README ChangeLog NEWS COPYING AUTHORS |
|---|
| 101 | %dir %{_sysconfdir}/xdg/xfce4/panel/ |
|---|
| 102 | %config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/*.rc |
|---|
| 103 | %config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/panels.xml |
|---|
| 104 | %{_bindir}/* |
|---|
| 105 | %{_libdir}/libxfce4panel.so.* |
|---|
| 106 | %{_libdir}/xfce4/panel-plugins |
|---|
| 107 | %{_datadir}/applications/*.desktop |
|---|
| 108 | %{_datadir}/icons/hicolor/*/apps/*.png |
|---|
| 109 | %{_datadir}/xfce4/doc |
|---|
| 110 | %{_datadir}/xfce4/panel-plugins |
|---|
| 111 | |
|---|
| 112 | %files devel |
|---|
| 113 | %defattr(-, root,root,-) |
|---|
| 114 | %{_includedir}/xfce4/libxfce4panel |
|---|
| 115 | %{_libdir}/libxfce4panel.so |
|---|
| 116 | %{_libdir}/pkgconfig/*.pc |
|---|
| 117 | %doc %{_datadir}/gtk-doc/html/libxfce4panel |
|---|
| 118 | |
|---|
| 119 | %changelog |
|---|
| 120 | * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1 |
|---|
| 121 | - new upstream release |
|---|
| 122 | - built with new toolchain |
|---|
| 123 | |
|---|
| 124 | * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1 |
|---|
| 125 | - new upstream release |
|---|
| 126 | - split devel subpackage |
|---|
| 127 | |
|---|
| 128 | * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-2vl5 |
|---|
| 129 | - added BuildRequires: libxfce4util-devel |
|---|
| 130 | |
|---|
| 131 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-1vl5 |
|---|
| 132 | - applied new versioning policy |
|---|
| 133 | - removed *.la |
|---|
| 134 | |
|---|
| 135 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-0vl2 |
|---|
| 136 | - new upstream release. |
|---|
| 137 | |
|---|
| 138 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl2 |
|---|
| 139 | - build for VineSeed |
|---|
| 140 | |
|---|
| 141 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl1 |
|---|
| 142 | * Fri Jul 27 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl0.0.2 |
|---|
| 143 | - new upstream verrsion |
|---|
| 144 | - drop patch0 (contents.xml.patch) |
|---|
| 145 | - Obsoletes: xfce4-iconbox xfce4-systray xfce4-toys xfce4-trigger-launcher |
|---|
| 146 | |
|---|
| 147 | * Tue Oct 24 2006 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl2 |
|---|
| 148 | - revise contents.xml* |
|---|
| 149 | |
|---|
| 150 | * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl1 |
|---|
| 151 | - new upstream release |
|---|
| 152 | |
|---|
| 153 | * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-0vl2 |
|---|
| 154 | - new upstream release |
|---|
| 155 | |
|---|
| 156 | * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1.1-0vl2 |
|---|
| 157 | - new upstream release |
|---|
| 158 | |
|---|
| 159 | * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-0vl2 |
|---|
| 160 | - new upstream release |
|---|
| 161 | |
|---|
| 162 | * Mon Apr 19 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.5-0vl1 |
|---|
| 163 | - new upstream release |
|---|
| 164 | |
|---|
| 165 | * Mon Mar 22 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.4-0vl1 |
|---|
| 166 | - new upstream release |
|---|
| 167 | |
|---|
| 168 | * Thu Jan 08 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.3-0vl1 |
|---|
| 169 | - new upstream release |
|---|
| 170 | |
|---|
| 171 | * Thu Nov 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.1-0vl1 |
|---|
| 172 | - new upstream release |
|---|
| 173 | |
|---|
| 174 | * Sat Sep 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.0-0vl1 |
|---|
| 175 | - initial related |
|---|
| 176 | |
|---|