1 | # Review at https://bugzilla.redhat.com/show_bug.cgi?id=660159 |
---|
2 | |
---|
3 | %global minorversion 1.2 |
---|
4 | |
---|
5 | Name: thunar-vfs |
---|
6 | Summary: Virtual filesystem shipped with Thunar 1.0 and earlier releases |
---|
7 | Version: 1.2.0 |
---|
8 | Release: 5%{?_dist_release} |
---|
9 | |
---|
10 | Group: System Environment/Libraries |
---|
11 | License: LGPLv2+ |
---|
12 | URL: http://thunar.xfce.org |
---|
13 | |
---|
14 | Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildRequires: dbus-glib-devel >= 0.34 |
---|
18 | BuildRequires: desktop-file-utils |
---|
19 | BuildRequires: freetype2-devel |
---|
20 | BuildRequires: gamin-devel |
---|
21 | BuildRequires: GConf2-devel >= 2.4.0 |
---|
22 | BuildRequires: gettext |
---|
23 | BuildRequires: glib2-devel >= 2.12.0 |
---|
24 | BuildRequires: gtk-doc |
---|
25 | BuildRequires: gtk2-devel >= 2.10.0 |
---|
26 | BuildRequires: intltool |
---|
27 | BuildRequires: libexo-devel >= 0.6.0 |
---|
28 | BuildRequires: libjpeg-devel |
---|
29 | BuildRequires: libpng-devel |
---|
30 | BuildRequires: libxfce4util-devel >= 4.8.0 |
---|
31 | BuildRequires: pkgconfig |
---|
32 | BuildRequires: startup-notification-devel >= 0.4 |
---|
33 | Conflicts: Thunar < 1.1.0 |
---|
34 | |
---|
35 | %description |
---|
36 | This package contains the virtual filesystem shipped with Thunar 1.0 and earlier |
---|
37 | releases. It provides compatibility for applications that still use thunar-vfs |
---|
38 | while Thunar was ported to GVFS. |
---|
39 | |
---|
40 | %package devel |
---|
41 | Summary: Development files for %{name} |
---|
42 | Group: Development/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | Requires: glib2-devel >= 2.12.0 |
---|
45 | Requires: libexo-devel >= 0.6.0 |
---|
46 | |
---|
47 | %description devel |
---|
48 | The %{name}-devel package contains libraries and header files for |
---|
49 | developing applications that use %{name}. |
---|
50 | |
---|
51 | |
---|
52 | %prep |
---|
53 | %setup -q |
---|
54 | |
---|
55 | %build |
---|
56 | %configure --disable-static --enable-gtk-doc --with-volume-manager=none |
---|
57 | make %{?_smp_mflags} |
---|
58 | |
---|
59 | |
---|
60 | %install |
---|
61 | rm -rf $RPM_BUILD_ROOT |
---|
62 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
64 | |
---|
65 | %find_lang %{name} |
---|
66 | |
---|
67 | # remove duplicate docs |
---|
68 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc |
---|
69 | |
---|
70 | %check |
---|
71 | make tests |
---|
72 | |
---|
73 | |
---|
74 | %clean |
---|
75 | rm -rf $RPM_BUILD_ROOT |
---|
76 | |
---|
77 | |
---|
78 | %post -p /sbin/ldconfig |
---|
79 | |
---|
80 | %postun -p /sbin/ldconfig |
---|
81 | |
---|
82 | |
---|
83 | %files -f %{name}.lang |
---|
84 | %defattr(-,root,root,-) |
---|
85 | %doc AUTHORS ChangeLog NEWS README |
---|
86 | %doc docs/ThumbnailersCacheFormat.txt docs/README.volumes |
---|
87 | %{_libdir}/*.so.* |
---|
88 | %{_libdir}/thunar-vfs-*/ |
---|
89 | %dir %{_datadir}/thumbnailers |
---|
90 | %{_datadir}/thumbnailers/thunar-vfs-font-thumbnailer-1.desktop |
---|
91 | |
---|
92 | %files devel |
---|
93 | %defattr(-,root,root,-) |
---|
94 | %doc HACKING TODO |
---|
95 | %doc %{_datadir}/gtk-doc/html/* |
---|
96 | %{_includedir}/* |
---|
97 | %{_libdir}/*.so |
---|
98 | %{_libdir}/pkgconfig/thunar-vfs-*.pc |
---|
99 | |
---|
100 | %changelog |
---|
101 | * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-5 |
---|
102 | - rebuild with Xfce-4.10.0 |
---|
103 | |
---|
104 | * Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-4 |
---|
105 | - remove BuildRequires: hal-devel |
---|
106 | |
---|
107 | * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-3 |
---|
108 | - Initial build for Vine Linux |
---|
109 | |
---|
110 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
112 | |
---|
113 | * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 1.2.0-1 |
---|
114 | - Update to 1.2.0 |
---|
115 | |
---|
116 | * Tue Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.1-1 |
---|
117 | - Initial package |
---|