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

Revision 10188, 5.9 KB checked in by kudoh, 8 years ago (diff)

new upstream release

Line 
1Name:          pcmanfm
2Version:       1.2.4
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.xz
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
43%package devel
44Summary: Development files for %{name}
45Summary(ja): %{name} の 開発ファイル
46Group: System Environment/Libraries
47Requires: %{name} = %{version}-%{release}
48
49%description devel
50The %{name}-devel package contains libraries and header files for
51developing applications that use %{name}.
52
53
54%prep
55%setup -q -n %{name}-%{version}
56%patch0 -p1
57
58# permission fix
59chmod 0644 [A-Z]*
60sed -i 's/MimeType=x-directory\/normal;inode\/directory/MimeType=inode\/directory/g' \
61    data/pcmanfm.desktop
62
63%build
64%configure --sysconfdir=/etc
65%{__make} %{?_smp_mflag}
66
67%install
68rm -rf $RPM_BUILD_ROOT
69make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
70
71%find_lang %{name}
72
73desktop-file-install \
74        --delete-original \
75        --vendor "" \
76        --remove-category 'Application' \
77        --remove-category 'FileManager' \
78        --add-category 'System;FileTools' \
79        --dir ${RPM_BUILD_ROOT}/%{_datadir}/applications \
80        ${RPM_BUILD_ROOT}/%{_datadir}/applications/pcmanfm.desktop
81
82%{_prefix}/lib/rpm/check-rpaths
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87
88%post
89update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
90
91
92%postun
93update-desktop-database %{_datadir}/applications >/dev/null 2>&1 || :
94
95
96%files -f %{name}.lang
97%defattr(-,root,root,-)
98%doc AUTHORS COPYING README
99%{_sysconfdir}/xdg/pcmanfm/default/pcmanfm.conf
100%{_bindir}/pcmanfm
101%{_datadir}/%{name}/*
102%{_datadir}/applications/*.desktop
103%{_mandir}/man1/%{name}.1.gz
104
105%files devel
106%defattr(-,root,root,-)
107%{_includedir}/pcmanfm-modules.h
108
109%changelog
110* Wed Apr 20 2016 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.4-1
111- new upstream release
112
113* Sat Sep 27 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.2-1
114- new upstream release
115- change archive type gz to xz
116- splitted -devel package
117
118* Sun Sep 15 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.2-1
119- new upstream release
120
121* Fri Nov 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.0-1
122- new upstream release
123
124* Sat Sep 22 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.1-1
125- new upstream release
126- deleted unrecognized option: --disable-static
127
128* Tue Aug 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-2
129- new upstream release
130
131* Tue Jul 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-1.rc1
132- new upstream release
133- changed BuildRequires: libfm-gtk-devel >= 0.1.15 to 0.1.99
134- changed Requires: libfm >= 0.1.15 to 0.1.99
135
136* Tue Feb 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-2
137- added patch0 to fix dso linking
138
139* Sun Feb 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.10-1
140- new upstream release
141- dropt all patches
142- rewrote whole spec
143  - redifined BuildRequires and Requires
144  - fixed summary(ja) and desciprition -l ja a little
145
146* Sat Jan 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.5.2-2
147- remove BuildRequires: hal-devel
148- remove Requires: hal
149- change configure option (--disable-hal)
150- add Patch3 (pcmanfm-0.5.2-makefile.patch)
151
152* Sun Nov 1 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
153- new upstream release
154- added Patch2 to fix build error
155
156* Fri Jun 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.1-1vl5
157- new upstream release
158- added BuildRequires:  intltool
159- dropt Source1
160
161* Sat Apr 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-2vl5
162- added Patch1 (import Mandriva Package)
163- added BuildRequires:  cairo-devel
164- replaced ja.po: from upstream repository
165- fixed BuildRoot tag
166
167* Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5-1vl5
168- initial build for VineSeed
169- Update to 0.5
170- added Patch0 (import Fedora package)
171
172* Sun Dec 03 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.2-1
173- Update to 0.3.2.2
174
175* Sun Oct 15 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2.1-1
176- Update to 0.3.2.1
177
178* Sat Oct 14 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-1
179- Update to 0.3.2
180
181* Sun Oct 01 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.3.rc1
182- Update to 0.3.2-rc1
183
184* Sat Sep 30 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.2.beta3
185- Update to 0.3.2-beta3
186
187* Wed Sep 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.2-0.1.beta2
188- Update to 0.3.2-beta2
189
190* Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.2.beta2
191- Update to 0.3.1-beta2
192
193* Sun Aug 27 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.1-0.1.beta
194- Update to 0.3.1-beta
195
196* Tue Aug 22 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.2-1
197- Update to 0.3.0.2 release
198
199* Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0.1-1
200- Update to 0.3.0.1 release
201
202* Sun Aug 20 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-1
203- Update to 0.3.0 release
204
205* Fri Aug 18 2006 Chung-Yen Chang <candyz0416@gmail.com> - 0.3.0-0.1.beta3
206- Initial RPM release
Note: See TracBrowser for help on using the repository browser.