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