[3256] | 1 | Name: xfprint |
---|
[521] | 2 | Summary: Print dialog and printer manager for XFce 4 |
---|
| 3 | Version: 4.6.1 |
---|
[6284] | 4 | Release: 4%{?_dist_release} |
---|
[3256] | 5 | |
---|
| 6 | Group: User Interface/Desktops |
---|
| 7 | License: GPLv2+ |
---|
[521] | 8 | URL: http://www.xfce.org/ |
---|
[3256] | 9 | |
---|
[521] | 10 | Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2 |
---|
[3256] | 11 | |
---|
[521] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[3256] | 13 | BuildRequires: cups-devel |
---|
| 14 | BuildRequires: glib2-devel >= 2.10.0 |
---|
| 15 | BuildRequires: libxfce4util-devel >= 4.6.0 |
---|
| 16 | BuildRequires: libxfcegui4-devel >= 4.6.0 |
---|
| 17 | BuildRequires: xfconf-devel >= 4.6.0 |
---|
[521] | 18 | Requires: glib2 >= 2.10.0 |
---|
| 19 | Requires: libxfce4util >= 4.6.0 |
---|
| 20 | Requires: libxfcegui4 >= 4.6.0 |
---|
| 21 | Requires: cups |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | xfprint contains a print dialog and a printer manager for the XFce 4 Desktop Environment |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | %configure |
---|
[3256] | 31 | make LIBS="-lX11" |
---|
[521] | 32 | |
---|
| 33 | %install |
---|
| 34 | rm -rf $RPM_BUILD_ROOT |
---|
| 35 | make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} |
---|
| 36 | %find_lang %{name} |
---|
| 37 | ## remove unuse files |
---|
| 38 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 39 | #rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/mcs-plugins/*.la |
---|
| 40 | rm -rf $RPM_BUILD_ROOT%{_libdir}/xfce4/xfprint-plugins/*.la |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | %post |
---|
[3256] | 46 | /sbin/ldconfig |
---|
[521] | 47 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 48 | |
---|
[3256] | 49 | %posttrans |
---|
| 50 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
| 51 | |
---|
[521] | 52 | %postun |
---|
[3256] | 53 | /sbin/ldconfig |
---|
| 54 | if [ $1 -eq 0 ] ; then |
---|
| 55 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 56 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
[521] | 57 | fi |
---|
| 58 | |
---|
| 59 | %files -f %{name}.lang |
---|
| 60 | %defattr(-,root,root) |
---|
| 61 | %doc README ChangeLog NEWS COPYING AUTHORS TODO |
---|
| 62 | %{_bindir}/* |
---|
| 63 | %{_includedir}/xfce4/libxfprint |
---|
| 64 | %{_libdir}/libxfprint* |
---|
| 65 | %{_libdir}/xfce4 |
---|
| 66 | %{_libdir}/pkgconfig/*.pc |
---|
| 67 | %{_datadir}/applications/*.desktop |
---|
| 68 | %{_datadir}/gtk-doc/html/libxfprint |
---|
| 69 | %{_datadir}/icons/hicolor/*/devices/* |
---|
| 70 | %{_datadir}/xfce4/doc |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %changelog |
---|
[6284] | 74 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-4 |
---|
| 75 | - rebuild with xfce4-4.10.0 |
---|
| 76 | |
---|
[3256] | 77 | * Sat Apr 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-3 |
---|
| 78 | - rebuild with krb5-libs-1.8.2 |
---|
| 79 | |
---|
[1901] | 80 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-2 |
---|
| 81 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 82 | |
---|
[521] | 83 | * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1 |
---|
| 84 | - new upstream release |
---|
| 85 | |
---|
| 86 | * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-1vl5 |
---|
| 87 | - applied new versioning policy |
---|
| 88 | - removed *.la |
---|
| 89 | |
---|
| 90 | * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-0vl2 |
---|
| 91 | - new upstream release. |
---|
| 92 | |
---|
| 93 | * Mon Aug 6 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl4 |
---|
| 94 | - rebuild for VineSeed |
---|
| 95 | |
---|
| 96 | * Mon Aug 6 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl3 |
---|
| 97 | - add cups to Requires |
---|
| 98 | - add cups-devel to BuildRequires |
---|
| 99 | |
---|
| 100 | * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl2 |
---|
| 101 | - build for VineSeed |
---|
| 102 | |
---|
| 103 | * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl1 |
---|
| 104 | - new upstream version |
---|
| 105 | |
---|
| 106 | * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
| 109 | * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-0vl2 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
| 112 | * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1-0vl2 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
| 115 | * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-0vl2 |
---|
| 116 | - new upstream release |
---|
| 117 | |
---|
| 118 | * Mon Jul 12 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.6-0vl1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
| 121 | * Mon Apr 19 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.5-0vl1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
| 124 | * Mon Mar 22 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.4-0vl1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
| 127 | * Fri Jan 09 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.3-0vl1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
| 130 | * Wed Jan 07 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.2-0vl1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
| 133 | * Thu Nov 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.1-0vl1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
| 136 | * Sat Sep 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.0-0vl1 |
---|
| 137 | - initial release |
---|
| 138 | |
---|