/[packages]/cauldron/thunar/current/SPECS/thunar.spec
ViewVC logotype

Contents of /cauldron/thunar/current/SPECS/thunar.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 676254 - (show annotations) (download)
Mon Sep 15 05:55:20 2014 UTC (9 years, 7 months ago) by tv
File size: 3982 byte(s)
s/uggests:/Recommends:/
1 %define oname Thunar
2
3 %define url_ver %(echo %{version} | cut -d. -f1,2)
4
5 %define major 0
6 %define api 2
7 %define libname %mklibname thunarx %{api} %{major}
8 %define devname %mklibname thunarx -d
9
10 Summary: New modern file manager for the Xfce Desktop Environment
11 Name: thunar
12 Version: 1.6.3
13 Release: %mkrel 3
14 License: GPLv2+
15 Group: Graphical desktop/Xfce
16 URL: http://thunar.xfce.org
17 Source0: http://archive.xfce.org/src/xfce/%{name}/%{url_ver}/%{oname}-%{version}.tar.bz2
18 BuildRequires: intltool
19 BuildRequires: desktop-file-utils
20 BuildRequires: pkgconfig(exo-1) >= 0.9.0
21 BuildRequires: pkgconfig(libxfce4ui-1)
22 BuildRequires: pkgconfig(gudev-1.0)
23 BuildRequires: pkgconfig(libnotify)
24 BuildRequires: pkgconfig(libexif)
25 BuildRequires: pkgconfig(libxfce4panel-1.0)
26
27 Requires(post): desktop-file-utils >= 0.10
28 Requires(postun): desktop-file-utils >= 0.10
29
30 Requires: shared-mime-info >= 0.15
31 Requires: exo
32 Requires: thunar-volman
33 Recommends: tumbler
34 Recommends: gvfs-archive
35
36 %description
37 Thunar has been designed from the ground up to be fast and easy-to-use.
38 Its user interface is clean and intuitive, and does not include any confusing
39 or useless options. Thunar is fast and responsive with a good start up time
40 and directory load time. Thunar is accessible using Assistive Technologies and
41 is fully standards compliant.
42
43 Beside the basic file management features, Thunar includes additional features
44 that set it ahead of other file managers available for the Unix/Linux desktop
45 today. For example, Thunar includes a so called Bulk Renamer that allows users
46 to easily rename multiple files at once using criterions that can be specified
47 using the available renamer plugins. Probably the most interesting renamer here
48 is the Audio Tags renamer, which generates new file names based on the tags
49 present in audio files.
50
51 %package -n %{libname}
52 Summary: Libraries for the thunar filemanager
53 Group: Graphical desktop/Xfce
54 #Added 4/2012 (wally)
55 Obsoletes: %{_lib}thunar2_0 < 1.4.0
56
57 %description -n %{libname}
58 Libraries for the thunar filemanager.
59
60 %package -n %{devname}
61 Summary: Development files for the thunar filemanager
62 Group: Development/Other
63 Provides: %{name}-devel = %{version}-%{release}
64 Provides: thunarx-devel = %{version}-%{release}
65 Provides: lib%{name}-devel = %{version}-%{release}
66 Provides: libthunarx-devel = %{version}-%{release}
67 Requires: %{libname} = %{version}-%{release}
68 Obsoletes: %{_lib}thunar1_2-devel
69 #added 4/2012 (wally)
70 Obsoletes: %{_lib}thunar-devel < 1.4.0
71 Conflicts: %{name} < 1.3.1
72
73 %description -n %{devname}
74 Development files for the thunar filemanager.
75
76 %prep
77 %setup -qn %{oname}-%{version}
78 %apply_patches
79
80 %build
81 %configure2_5x \
82 --disable-static \
83 --enable-dbus \
84 --enable-notifications \
85 --enable-exif \
86 --enable-pcre \
87 --enable-apr-plugin \
88 --enable-tpa-plugin \
89 --enable-uca-plugin \
90 --enable-wallpaper-plugin \
91 --enable-gio-unix \
92 --enable-gudev
93
94 %make
95
96 %install
97 %makeinstall_std
98
99 #handle docs in files section
100 rm -rf %{buildroot}%{_docdir}/%{oname}
101
102 # Remove unneeded files
103 find %{buildroot} -name "*.la" -delete
104
105 # (tpg) this file is in %{_real_vendor}-xfce-config package
106 rm -rf %{buildroot}%{_sysconfdir}/xdg/Thunar/uca.xml
107
108 %find_lang %{oname}
109
110 %files -f %{oname}.lang
111 %doc AUTHORS FAQ HACKING README THANKS TODO
112 %doc docs/README.gtkrc docs/README.thunarrc
113 %dir %{_sysconfdir}/xdg/Thunar
114 %{_bindir}/%{oname}
115 %{_bindir}/%{name}*
116 %{_datadir}/applications/*.desktop
117 %{_iconsdir}/hicolor/*/apps/%{oname}.*
118 %{_iconsdir}/hicolor/*/stock/navigation/stock_*
119 %{_datadir}/pixmaps/%{oname}/
120 %{_datadir}/dbus-1/services/*
121 %{_datadir}/%{oname}/
122 %{_libdir}/%{oname}/
123 %{_libdir}/thunarx-%{api}/
124 %{_mandir}/man1/%{oname}.*
125 %{_libdir}/xfce4/panel/plugins/lib%{name}-*.so
126 %{_datadir}/xfce4/panel-plugins/thunar-tpa.desktop
127
128 %files -n %{libname}
129 %{_libdir}/libthunarx-%{api}.so.%{major}*
130
131 %files -n %{devname}
132 %doc %{_datadir}/gtk-doc/html/thunarx/
133 %{_includedir}/thunarx-%{api}/
134 %{_libdir}/libthunarx-%{api}.so
135 %{_libdir}/pkgconfig/thunarx-%{api}.pc

  ViewVC Help
Powered by ViewVC 1.1.30