|
@@ -1,7 +1,7 @@
|
|
|
Name: xfprint
|
|
|
Summary: Print dialog and printer manager for XFce 4
|
|
|
Version: 4.6.1
|
|
|
-Release: 4%{?_dist_release}
|
|
|
+Release: 5%{?_dist_release}
|
|
|
|
|
|
Group: User Interface/Desktops
|
|
|
License: GPLv2+
|
|
@@ -15,19 +15,34 @@ BuildRequires: glib2-devel >= 2.10.0
|
|
|
BuildRequires: libxfce4util-devel >= 4.6.0
|
|
|
BuildRequires: libxfcegui4-devel >= 4.6.0
|
|
|
BuildRequires: xfconf-devel >= 4.6.0
|
|
|
+
|
|
|
Requires: glib2 >= 2.10.0
|
|
|
Requires: libxfce4util >= 4.6.0
|
|
|
Requires: libxfcegui4 >= 4.6.0
|
|
|
Requires: cups
|
|
|
+Requires(postun,posttrans): desktop-file-utils
|
|
|
|
|
|
%description
|
|
|
xfprint contains a print dialog and a printer manager for the XFce 4 Desktop Environment
|
|
|
|
|
|
+
|
|
|
+%package devel
|
|
|
+Summary: Development tools for %{name}
|
|
|
+Summary(ja): %{name} の開発環境
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+Requires: pkgconfig
|
|
|
+
|
|
|
+%description devel
|
|
|
+Header files and libraries for building a extension library for the
|
|
|
+%{name}.
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
|
-%configure
|
|
|
+%configure --disable-static
|
|
|
make LIBS="-lX11"
|
|
|
|
|
|
%install
|
|
@@ -48,29 +63,38 @@ touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
|
|
%posttrans
|
|
|
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
+update-desktop-database -q &> /dev/null || :
|
|
|
|
|
|
%postun
|
|
|
/sbin/ldconfig
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
+ update-desktop-database -q &> /dev/null || :
|
|
|
fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
-%defattr(-,root,root)
|
|
|
+%defattr(-,root,root,-)
|
|
|
%doc README ChangeLog NEWS COPYING AUTHORS TODO
|
|
|
%{_bindir}/*
|
|
|
-%{_includedir}/xfce4/libxfprint
|
|
|
-%{_libdir}/libxfprint*
|
|
|
+%{_libdir}/libxfprint.so.*
|
|
|
%{_libdir}/xfce4
|
|
|
-%{_libdir}/pkgconfig/*.pc
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
-%{_datadir}/gtk-doc/html/libxfprint
|
|
|
%{_datadir}/icons/hicolor/*/devices/*
|
|
|
%{_datadir}/xfce4/doc
|
|
|
|
|
|
+%files devel
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%{_includedir}/xfce4/libxfprint
|
|
|
+%{_libdir}/libxfprint.so
|
|
|
+%{_libdir}/pkgconfig/%{name}-1.0.pc
|
|
|
+%{_datadir}/gtk-doc/html/libxfprint
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-5
|
|
|
+- create %{name}-devel sub package
|
|
|
+
|
|
|
* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.6.1-4
|
|
|
- rebuild with xfce4-4.10.0
|
|
|
|