diff --git a/ChangeLog b/ChangeLog index 9e48ea3caf2abd28498b16f8c84cdcea4029710a..0698edb664dcedecdb8773b09dbcbaafb3dfa4d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2006-04-16 Benedikt Meurer <benny@xfce.org> + + * === Released 0.3.0beta1 === + * configure.in.in: Bump version. + * configure.in.in, README: Depend on libexo 0.3.1.6beta1. + * Makefile.am, configure.in.in, Thunar.spec.in: Add RPM spec file for + Thunar. + 2006-04-16 Benedikt Meurer <benny@xfce.org> * thunar/main.c(main): Use g_print() instead of g_printf() to print diff --git a/Makefile.am b/Makefile.am index ee0842406585fdb2da7402957f28e86e6031d81f..502d433c241ffb30f9d050e1c4344b60b6567587 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,6 +66,7 @@ EXTRA_DIST = \ FAQ \ HACKING \ ThunarBulkRename.in \ + Thunar.spec.in \ ThunarHelp.in \ intltool-extract.in \ intltool-merge.in \ @@ -75,6 +76,7 @@ EXTRA_DIST = \ DISTCLEANFILES = \ ThunarBulkRename \ + Thunar.spec \ ThunarHelp \ intltool-extract \ intltool-merge \ diff --git a/README b/README index 89d7bbf524fc54054a8ace3e2f421d2ca97a899d..37ca29037fc4479fa41cc35870e5c0123a67afc2 100644 --- a/README +++ b/README @@ -12,7 +12,7 @@ Thunar depends on the following packages: - perl 5.6 or above - GTK+ 2.6.0 or above - - libexo 0.3.1 or above + - libexo 0.3.1.6 or above - intltool 0.30 or above - libpng12 1.2.0 or above - shared-mime-info 0.15 or above diff --git a/Thunar.spec.in b/Thunar.spec.in new file mode 100644 index 0000000000000000000000000000000000000000..83ef7a881da369ba9201803363028148803232ee --- /dev/null +++ b/Thunar.spec.in @@ -0,0 +1,69 @@ +Summary: Thunar File Manager +Name: @PACKAGE_TARNAME@ +Version: @PACKAGE_VERSION@ +Release: 1 +License: GPL +URL: http://thunar.xfce.org/ +Source0: %{name}-%{version}.tar.gz +Group: Applications/X11 +BuildRoot: %{_tmppath}/%{name}-root +Requires: fam +Requires: libexif +Requires: shared-mime-info >= 0.15 +Requires: desktop-file-utils >= 0.7 +Requires: exo0.3 >= @EXO_REQUIRED_VERSION@ +Requires: startup-notification >= @LIBSTARTUP_NOTIFICATION_REQUIRED_VERSION@ +BuildRequires: fam-devel +BuildRequires: libjpeg-devel +BuildRequires: libexif-devel +BuildRequires: libpng-devel >= 2:1.2.2-16 +BuildRequires: desktop-file-utils >= 0.7 +BuildRequires: exo0.3-devel >= @EXO_REQUIRED_VERSION@ +BuildRequires: startup-notification-devel >= @LIBSTARTUP_NOTIFICATION_REQUIRED_VERSION@ + +Provides: @PACKAGE_TARNAME@-devel + +%description +Thunar is a new modern file manager for the Xfce Desktop Environment. It has been designed from +the ground up to be fast and easy-to-use. Its user interface is clean and intuitive, and does not +include any confusing or useless options. Thunar is fast and responsive with a good start up time +and directory load time. + +%prep +%setup -q + +%build +%configure --enable-dbus --enable-final --enable-xsltproc +make + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +update-desktop-database &> /dev/null ||: +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%postun +update-desktop-database &> /dev/null ||: +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%files +%defattr(-,root,root) +%doc README TODO ChangeLog NEWS INSTALL COPYING AUTHORS HACKING THANKS +%{_bindir}/ +%{_datadir}/ +%{_includedir}/ +%{_libdir}/ +%{_libexecdir}/ +%{_mandir}/ +%{_sysconfdir}/ diff --git a/configure.in.in b/configure.in.in index 4855747098c15f2b57be728a92483c960e41545b..a346567ba7018b8ec7454e1e15ffb765eb3d2e6e 100644 --- a/configure.in.in +++ b/configure.in.in @@ -9,19 +9,19 @@ dnl dnl *************************** dnl *** Version information *** dnl *************************** -m4_define([thunar_verinfo], [2:1:0]) +m4_define([thunar_verinfo], [3:0:1]) m4_define([thunar_version_api], [1]) m4_define([thunar_version_major], [0]) -m4_define([thunar_version_minor], [2]) -m4_define([thunar_version_micro], [3]) +m4_define([thunar_version_minor], [3]) +m4_define([thunar_version_micro], [0]) m4_define([thunar_version_build], [r@REVISION@]) -m4_define([thunar_version_tag], [svn]) -m4_define([thunar_version], [thunar_version_major().thunar_version_minor().thunar_version_micro()ifelse(thunar_version_tag(), [], [], [thunar_version_tag()-thunar_version_build()])]) +m4_define([thunar_version_tag], [beta1]) +m4_define([thunar_version], [thunar_version_major().thunar_version_minor().thunar_version_micro()ifelse(thunar_version_tag(), [svn], [thunar_version_tag()-thunar_version_build()], [thunar_version_tag()])]) dnl ******************************************* dnl *** Debugging support for SVN snapshots *** dnl ******************************************* -m4_define([thunar_debug_default], [ifelse(thunar_version_tag(), [], [minimum], [yes])]) +m4_define([thunar_debug_default], [ifelse(thunar_version_tag(), [svn], [yes], [minimum])]) dnl *************************** dnl *** Initialize autoconf *** @@ -156,12 +156,12 @@ XDT_I18N([@LINGUAS@]) dnl *********************************** dnl *** Check for required packages *** dnl *********************************** -XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.3.1.4]) +XDT_CHECK_PACKAGE([EXO], [exo-0.3], [0.3.1.6]) XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.6.4]) XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.4]) XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0]) XDT_CHECK_PACKAGE([LIBPNG], [libpng12], [1.2.0]) -XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.2.0]) +XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.2.2]) dnl ********************************** dnl *** Optional support for D-BUS *** @@ -347,6 +347,7 @@ BM_THUNAR_PLUGIN_UCA() AC_OUTPUT([ Makefile +Thunar.spec docs/Makefile docs/design/Makefile docs/manual/Makefile