source: projects/specs/trunk/p/pcmanfm/pcmanfm-vl.spec @ 5576

Revision 5576, 4.5 KB checked in by kudoh, 12 years ago (diff)
Line 
1Name:          pcmanfm
2Version:       0.9.10
3Release:       1%{?_dist_release}
4Summary:        Extremly fast and lightweight file manager
5Summary(ja):    とても高速で軽量なファイルマネージャー
6
7Group:          Applications/System
8License:        GPLv2+
9URL:            http://pcmanfm.sourceforge.net
10Source0:        http://osdn.dl.sourceforge.net/sourceforge/pcmanfm/pcmanfm-%{version}.tar.gz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  automake >= 1.9
15BuildRequires:  desktop-file-utils
16BuildRequires:  gtk2-devel >= 2.16.0
17BuildRequires:  glib2-devel >= 2.18.0
18BuildRequires:  gettext
19BuildRequires:  intltool >= 0.40
20BuildRequires:  libfm-gtk-devel >= 0.1.15
21BuildRequires:  libtool
22BuildRequires:  libX11-devel
23BuildRequires:  menu-cache-devel >= 0.3.2
24BuildRequires:  pango-devel
25BuildRequires:  perl-XML-Parser
26BuildRequires:  pkgconfig
27
28Requires:  libfm >= 0.1.15
29Requires:  shared-mime-info
30Requires(post): desktop-file-utils
31Requires(postun): desktop-file-utils
32
33%description
34PCMan File Manager is an extremly fast and lightweight file manager
35which features tabbed browsing and user-friendly interface.
36
37%description -l ja
38PCMan File Manager はタブブラウズとユーザーフレンドリーな
39インターフェイスを特色とするとても高速で軽量なファイルマネージャーです。
40
41%prep
42%setup -q -n %{name}-%{version}
43
44# permission fix
45chmod 0644 [A-Z]*
46sed -i 's/MimeType=x-directory\/normal;inode\/directory/MimeType=inode\/directory/g' \
47    data/pcmanfm.desktop
48
49%build
50%configure --sysconfdir=/etc --enable-static=no
51%{__make} %{?_smp_mflag}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
56
57%find_lang %{name}
58
59desktop-file-install \
60        --delete-original \
61        --vendor "" \
62        --remove-category 'Application' \
63        --remove-category 'FileManager' \
64        --add-category 'System;FileTools' \
65        --dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \
66        ${RPM_BUILD_ROOT}/%{_datadir}/applications/pcmanfm.desktop
67
68%{_prefix}/lib/rpm/check-rpaths
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73
74%post
75update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
76
77
78%postun
79update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
80
81
82%files -f %{name}.lang
83%defattr(-,root,root,-)
84%doc AUTHORS COPYING README
85%{_sysconfdir}/xdg/pcmanfm/default/pcmanfm.conf
86%{_bindir}/pcmanfm
87%{_datadir}/%{name}/*
88%{_datadir}/applications/*.desktop
89
90%changelog
91* Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-1
92- new upstream release
93- dropt all patches
94- rewrote whole spec
95  - redifined BuildRequires and Requires
96  - fixed summary(ja) and desciprition -l ja a little
97
98* Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.2-2
99- remove BuildRequires: hal-devel
100- remove Requires: hal
101- change configure option (--disable-hal)
102- add Patch3 (pcmanfm-0.5.2-makefile.patch)
103
104* Sun Nov 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
105- new upstream release
106- added Patch2 to fix build error
107
108* Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1vl5
109- new upstream release
110- added BuildRequires:  intltool
111- dropt Source1
112
113* Sat Apr 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-2vl5
114- added Patch1 (import Mandriva Package)
115- added BuildRequires:  cairo-devel
116- replaced ja.po: from upstream repository
117- fixed BuildRoot tag
118
119* Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1vl5
120- initial build for VineSeed
121- Update to 0.5
122- added Patch0 (import Fedora package)
123
124* Sun Dec 03 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.2-1
125- Update to 0.3.2.2
126
127* Sun Oct 15 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.1-1
128- Update to 0.3.2.1
129
130* Sat Oct 14 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-1
131- Update to 0.3.2
132
133* Sun Oct 01 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.3.rc1
134- Update to 0.3.2-rc1
135
136* Sat Sep 30 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.2.beta3
137- Update to 0.3.2-beta3
138
139* Wed Sep 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.1.beta2
140- Update to 0.3.2-beta2
141
142* Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.2.beta2
143- Update to 0.3.1-beta2
144
145* Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.1.beta
146- Update to 0.3.1-beta
147
148* Tue Aug 22 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.2-1
149- Update to 0.3.0.2 release
150
151* Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.1-1
152- Update to 0.3.0.1 release
153
154* Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-1
155- Update to 0.3.0 release
156
157* Fri Aug 18 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-0.1.beta3
158- Initial RPM release
Note: See TracBrowser for help on using the repository browser.