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: 3%{?_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: hal-devel >= 0.5.7 |
---|
27 | BuildRequires: intltool |
---|
28 | BuildRequires: libexo-devel >= 0.6.0 |
---|
29 | BuildRequires: libjpeg-devel |
---|
30 | BuildRequires: libpng-devel |
---|
31 | BuildRequires: libxfce4util-devel >= 4.8.0 |
---|
32 | BuildRequires: pkgconfig |
---|
33 | BuildRequires: startup-notification-devel >= 0.4 |
---|
34 | Conflicts: Thunar < 1.1.0 |
---|
35 | |
---|
36 | %description |
---|
37 | This package contains the virtual filesystem shipped with Thunar 1.0 and earlier |
---|
38 | releases. It provides compatibility for applications that still use thunar-vfs |
---|
39 | while Thunar was ported to GVFS. |
---|
40 | |
---|
41 | %package devel |
---|
42 | Summary: Development files for %{name} |
---|
43 | Group: Development/Libraries |
---|
44 | Requires: %{name} = %{version}-%{release} |
---|
45 | Requires: glib2-devel >= 2.12.0 |
---|
46 | Requires: libexo-devel >= 0.6.0 |
---|
47 | |
---|
48 | %description devel |
---|
49 | The %{name}-devel package contains libraries and header files for |
---|
50 | developing applications that use %{name}. |
---|
51 | |
---|
52 | |
---|
53 | %prep |
---|
54 | %setup -q |
---|
55 | |
---|
56 | %build |
---|
57 | %configure --disable-static --enable-gtk-doc |
---|
58 | make %{?_smp_mflags} |
---|
59 | |
---|
60 | |
---|
61 | %install |
---|
62 | rm -rf $RPM_BUILD_ROOT |
---|
63 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
64 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
65 | |
---|
66 | %find_lang %{name} |
---|
67 | |
---|
68 | # remove duplicate docs |
---|
69 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc |
---|
70 | |
---|
71 | %check |
---|
72 | make tests |
---|
73 | |
---|
74 | |
---|
75 | %clean |
---|
76 | rm -rf $RPM_BUILD_ROOT |
---|
77 | |
---|
78 | |
---|
79 | %post -p /sbin/ldconfig |
---|
80 | |
---|
81 | %postun -p /sbin/ldconfig |
---|
82 | |
---|
83 | |
---|
84 | %files -f %{name}.lang |
---|
85 | %defattr(-,root,root,-) |
---|
86 | %doc AUTHORS ChangeLog NEWS README |
---|
87 | %doc docs/ThumbnailersCacheFormat.txt docs/README.volumes |
---|
88 | %{_libdir}/*.so.* |
---|
89 | %{_libdir}/thunar-vfs-*/ |
---|
90 | %dir %{_datadir}/thumbnailers |
---|
91 | %{_datadir}/thumbnailers/thunar-vfs-font-thumbnailer-1.desktop |
---|
92 | |
---|
93 | %files devel |
---|
94 | %defattr(-,root,root,-) |
---|
95 | %doc HACKING TODO |
---|
96 | %doc %{_datadir}/gtk-doc/html/* |
---|
97 | %{_includedir}/* |
---|
98 | %{_libdir}/*.so |
---|
99 | %{_libdir}/pkgconfig/thunar-vfs-*.pc |
---|
100 | |
---|
101 | %changelog |
---|
102 | * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-3 |
---|
103 | - Initial build for Vine Linux |
---|
104 | |
---|
105 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2 |
---|
106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
107 | |
---|
108 | * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 1.2.0-1 |
---|
109 | - Update to 1.2.0 |
---|
110 | |
---|
111 | * Tue Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.1-1 |
---|
112 | - Initial package |
---|