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

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