~ubuntu-branches/ubuntu/vivid/krusader/vivid-proposed

« back to all changes in this revision

Viewing changes to krusader.spec

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-05-05 22:26:37 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505222637-ydv3cwjwy365on2r
Tags: 1:2.1.0~beta1-1ubuntu1
* Merge from Debian Unstable.  Remaining changes:
  - Retain Kubuntu doc path

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
%define name    krusader
3
 
%define version 2.0
4
 
%define snapshot 6014
5
 
%define rel     1
6
 
 
7
 
%if %snapshot
8
 
%define release %mkrel 0.svn%snapshot.%rel
9
 
%else
10
 
%define release %mkrel %rel
11
 
%endif
12
 
 
13
 
Summary:        Advanced KDE twin-panel file-manager
14
 
Name:           %{name}
15
 
Version:        %{version}
16
 
Release:        %{release}
17
 
%if %snapshot
18
 
# http://krusader.svn.sourceforge.net/svnroot/krusader/trunk/krusader_kde4
19
 
Source:         %{name}-%{snapshot}.tar.bz2
20
 
%else
21
 
Source:         http://downloads.sourceforge.net/krusader/%{name}-%{version}.tar.gz
22
 
%endif
23
 
License:        GPL
24
 
Group:          File tools
25
 
BuildRoot:      %{_tmppath}/%{name}-buildroot
26
 
URL:            http://krusader.sourceforge.net/
27
 
Epoch:          3
28
 
BuildRequires:  kdelibs4-devel
29
 
Obsoletes:      kde3-krusader < 2:1.02-4
30
 
Provides:       kde3-krusader
31
 
# crystalsvg:
32
 
Requires(post): kdelibs-common
33
 
Requires(postun): kdelibs-common
 
1
# Spec file for Krusader-2.0.0 for Fedora 12 by Marcin Garski <mgarski[AT]post.pl>
 
2
# http://cvs.fedoraproject.org/viewcvs/rpms/krusader/devel/?root=extras
 
3
 
 
4
Name:           krusader
 
5
Version:        2.0.0
 
6
Release:        2.1%{?dist}
 
7
Summary:        An advanced twin-panel (commander-style) file-manager for KDE
 
8
 
 
9
Group:          Applications/File
 
10
License:        GPLv2+
 
11
URL:            http://krusader.sourceforge.net/
 
12
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}%{?beta:-%{beta}}.tar.gz
 
13
Patch0:         krusader-2.0.0-gcc-4.4.patch
 
14
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
15
 
 
16
BuildRequires:  cmake
 
17
BuildRequires:  kdelibs-devel >= 4.1.0 phonon-devel
 
18
BuildRequires:  libjpeg-devel libpng-devel giflib-devel
 
19
BuildRequires:  zlib-devel bzip2-devel
 
20
BuildRequires:  pcre-devel gamin-devel libacl-devel
 
21
BuildRequires:  xdg-utils gettext
34
22
 
35
23
%description
36
 
Krusader is an advanced twin panel (commander style) file manager
37
 
for KDE and other desktops in the *nix world, similar to Midnight or
38
 
Total Commander. It provides all the file management features you
39
 
could possibly want.
40
 
 
41
 
Plus: extensive archive handling, mounted filesystem support, FTP,
42
 
advanced search module, an internal viewer/editor, directory
43
 
synchronisation, file content comparisons, powerful batch renaming
44
 
and much much more. It supports a wide variety of archive formats
45
 
and can handle other KIO slaves such as smb or fish.
 
24
Krusader is an advanced twin panel (commander style) file manager for KDE and
 
25
other desktops in the *nix world, similar to Midnight or Total Commander.
 
26
It provides all the file management features you could possibly want.
 
27
Plus: extensive archive handling, mounted filesystem support, FTP, advanced
 
28
search module, an internal viewer/editor, directory synchronisation,
 
29
file content comparisons, powerful batch renaming and much much more.
 
30
It supports a wide variety of archive formats and can handle other KIO slaves
 
31
such as smb or fish. It is (almost) completely customizable, very user
 
32
friendly, fast and looks great on your desktop! You should give it a try.
46
33
 
47
34
%prep
48
 
%if %snapshot
49
 
%setup -q -n %name-%snapshot
50
 
%else
51
 
%setup -q
52
 
%endif
 
35
%setup -q -n %{name}-%{version}%{?beta:-%{beta}}
 
36
%patch0 -p1
53
37
 
54
38
%build
55
 
%cmake_kde4
56
 
%make
 
39
mkdir -p %{_target_platform}
 
40
pushd %{_target_platform}
 
41
%{cmake_kde4} ..
 
42
popd
 
43
 
 
44
make %{?_smp_mflags} -C %{_target_platform}
57
45
 
58
46
%install
59
47
rm -rf %{buildroot}
60
 
%makeinstall_std -Cbuild
61
 
 
62
 
%find_lang krusader
63
 
 
64
 
%clean
65
 
rm -rf $RPM_BUILD_ROOT
 
48
make install DESTDIR=%{buildroot} -C %{_target_platform}
 
49
 
 
50
# Make symlink relative and remove wrong EOL
 
51
pushd $RPM_BUILD_ROOT%{_docdir}/HTML/
 
52
for i in *
 
53
do
 
54
        pushd $RPM_BUILD_ROOT%{_docdir}/HTML/$i/krusader/
 
55
        for j in *.docbook
 
56
        do
 
57
                tr -d '\r' < $j > ${j}.tmp
 
58
                mv -f ${j}.tmp $j
 
59
        done
 
60
        ln -sf ../common
 
61
        popd
 
62
done
 
63
popd
 
64
 
 
65
%find_lang %{name}
66
66
 
67
67
%post
68
 
%update_menus
69
 
%update_desktop_database
70
 
%update_icon_cache hicolor
 
68
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
 
69
xdg-icon-resource forceupdate --theme locolor 2> /dev/null || :
 
70
xdg-desktop-menu forceupdate 2> /dev/null || :
71
71
 
72
72
%postun
73
 
%clean_menus
74
 
%clean_icon_cache hicolor
75
 
%clean_desktop_database
76
 
 
77
 
%files -f krusader.lang
78
 
%defattr(-,root,root)
79
 
%doc README AUTHORS ChangeLog TODO COPYING krusader.lsm
80
 
%doc %{_kde_datadir}/doc/HTML/en/*
81
 
%{_kde_bindir}/krusader
82
 
%{_kde_datadir}/applications/kde4/krusader*.desktop
83
 
%{_kde_datadir}/apps/krusader
84
 
%{_kde_datadir}/kde4/services/*.protocol
85
 
%{_kde_datadir}/config/kio_isorc
86
 
%{_kde_iconsdir}/hicolor/*/apps/krusader*.png
87
 
%{_kde_iconsdir}/locolor/*/apps/krusader*.png
88
 
%{_kde_libdir}/kde4/*.so
89
 
 
90
 
 
 
73
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
 
74
xdg-icon-resource forceupdate --theme locolor 2> /dev/null || :
 
75
xdg-desktop-menu forceupdate 2> /dev/null || :
 
76
 
 
77
%clean
 
78
rm -rf %{buildroot}
 
79
 
 
80
%files -f %{name}.lang
 
81
%defattr(-,root,root,-)
 
82
%doc doc/actions_tutorial.txt AUTHORS ChangeLog COPYING FAQ README SVNNEWS TODO
 
83
%{_kde4_bindir}/*
 
84
%{_kde4_libdir}/kde4/*.so
 
85
%{_kde4_datadir}/applications/kde4/krusader*.desktop
 
86
%{_kde4_datadir}/config/kio_isorc
 
87
%{_kde4_docdir}/HTML/en/krusader/
 
88
%{_kde4_iconsdir}/hicolor/*/apps/*.png
 
89
%{_kde4_iconsdir}/locolor/*/apps/*.png
 
90
%{_kde4_datadir}/kde4/apps/krusader/
 
91
%{_kde4_datadir}/kde4/services/*.protocol
91
92
 
92
93
%changelog
93
 
* Thu May 29 2008 Anssi Hannula <anssi@mandriva.org> 3:2.0-0.svn6014.1mdv2009.0
94
 
+ Revision: 212845
95
 
- new snapshot
96
 
 
97
 
* Sun May 04 2008 Anssi Hannula <anssi@mandriva.org> 3:2.0-0.svn2779.1mdv2009.0
98
 
+ Revision: 200809
99
 
- new snapshot from KDE4 branch
100
 
 
101
 
* Mon Apr 28 2008 Anssi Hannula <anssi@mandriva.org> 3:1.90.0-1mdv2009.0
102
 
+ Revision: 197851
103
 
- new version
104
 
- versionize obsoletes
105
 
- buildrequires acl-devel
106
 
- require kdelibs-common for crystalsvg for rpm scripts
107
 
 
108
 
* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 3:1.80.0-2mdv2008.1
109
 
+ Revision: 140918
110
 
- restore BuildRoot
111
 
 
112
 
  + Thierry Vignaud <tvignaud@mandriva.com>
113
 
    - kill re-definition of %%buildroot on Pixel's request
114
 
 
115
 
* Sat Aug 25 2007 Anssi Hannula <anssi@mandriva.org> 3:1.80.0-2mdv2008.0
116
 
+ Revision: 71406
117
 
- rebuild for new kdelibs
118
 
 
119
 
* Wed Jul 25 2007 Anssi Hannula <anssi@mandriva.org> 3:1.80.0-1mdv2008.0
120
 
+ Revision: 55271
121
 
- 1.80.0 final
122
 
- use proper configure macro
123
 
- better description and summary
124
 
- clean .spec
125
 
- do not call update_icon_cache for non-existing theme locolor
126
 
 
127
 
 
128
 
* Wed Apr 04 2007 Laurent Montel <lmontel@mandriva.com> 1.80.0-0.beta2.1mdv2007.1
129
 
+ Revision: 150492
130
 
- 1.80.0-beta2
131
 
- Import krusader
132
 
 
133
 
* Tue Sep 05 2006 Anssi Hannula <anssi@mandriva.org> 3:1.70.1-1mdv2007.0
134
 
- 1.70.1
135
 
- add missing clean_desktop_database
136
 
- fix icons and legacy menu
137
 
- drop cleaning buildroot in prep section
138
 
 
139
 
* Mon Jul 03 2006 Nicolas L�cureuil <neoclust@mandriva.org> 3:1.70.0-6mdv2007.0
140
 
- Rebuild for new menu and extensions
141
 
- Use macros for icons
142
 
 
143
 
* Mon May 22 2006 Laurent MONTEL <lmontel@mandriva.com> 1.70.0-5
144
 
- Rebuild
145
 
 
146
 
* Thu May 11 2006 Nicolas L�cureuil <neoclust@mandriva.org> 3:1.70.0-4mdk
147
 
- Remove redundant BuildRequires
148
 
 
149
 
* Wed May 10 2006 Nicolas L�cureuil <neoclust@mandriva.org> 3:1.70.0-3mdk
150
 
- Fix BuildRequires
151
 
 
152
 
* Tue May 09 2006 Laurent MONTEL <lmontel@mandriva.com> 1.70.0-2
153
 
- Rebuild to generate category
154
 
 
155
 
* Mon Feb 13 2006 Nicolas L�cureuil <neoclust@mandriva.org> 1.70.0-1mdk
156
 
- 1.70
157
 
 
158
 
* Wed Dec 14 2005 Laurent MONTEL <lmontel@mandriva.com> 1.70.0-beta2.2
159
 
- Use patch from Anssi Hannula <anssi.hannula@gmail.com> to fixing build
160
 
on x86_64 and use mkrel
161
 
 
162
 
* Sun Nov 06 2005 Laurent MONTEL <lmontel@mandriva.com> 1.70.0-beta2.1mdk
163
 
- beta2
164
 
 
165
 
* Sat Oct 29 2005 Nicolas L�cureuil <neoclust@mandriva.org> 1.70.0-beta1.5mdk
166
 
- Add BuildRequires
167
 
 
168
 
* Sat Oct 29 2005 Nicolas L�cureuil <neoclust@mandriva.org> 1.70.0-beta1.4mdk
169
 
- Fix conflict
170
 
 
171
 
* Thu Oct 20 2005 Nicolas L�cureuil <neoclust@mandriva.org> 1.70.0-beta1.3mdk
172
 
- Fix conflict
173
 
 
174
 
* Tue Oct 18 2005 Nicolas L�cureuil <neoclust@mandriva.org> 1.70.0-beta1.2mdk
175
 
- Fix BuildRequires
176
 
 
177
 
* Tue Oct 18 2005 Laurent MONTEL <lmontel@mandriva.com> 1.70.0-beta1.1mdk
178
 
- 1.70.beta1
179
 
 
180
 
* Tue May 03 2005 Laurent MONTEL <lmontel@mandriva.com> 1.60.0-2mdk
181
 
- Fix x64 build fix bug #15728
182
 
 
183
 
* Tue Apr 12 2005 Lenny Cartier <lenny@mandrakesoft.com> 1.60.0-1mdk
184
 
- 1.60.0
185
 
 
186
 
* Tue Mar 22 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 1.60-0.beta2.1mdk
187
 
- 1.60 beta2
188
 
 
189
 
* Fri Mar 04 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 1.60-0.beta1.1mdk
190
 
- 1.60 beta1
191
 
 
192
 
* Wed Dec 15 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 1.51-1mdk
193
 
- 1.51
194
 
 
195
 
* Tue Nov 02 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 1.50-2mdk
196
 
- Add patch3: fix potential crash
197
 
 
198
 
* Mon Nov 01 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 1.50-1mdk
199
 
- 1.50
200
 
 
201
 
* Fri Jul 23 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.40-1mdk
202
 
- 1.40
203
 
 
204
 
* Tue Jun 29 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 1.40-0.beta2.1mdk
205
 
- beta2
206
 
 
207
 
* Mon Jun 07 2004 Angelo Naselli <random_lx@yahoo.com> 1.40-0.beta1.4mdk
208
 
- Fix icon position
209
 
 
210
 
* Sat Jun 05 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 1.40-0.beta1.3mdk
211
 
- Rebuild
212
 
 
213
 
* Thu May 06 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 1.40-0.beta1.2mdk
214
 
- Update description (patch give by frank_schoolmeesters@fastmail.fm)
215
 
 
216
 
* Thu Apr 22 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 1.40-0.beta1.1mdk
217
 
- 1.40beta1
218
 
 
 
94
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2.1
 
95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
96
 
 
97
* Mon Apr 20 2009 Marcin Garski <mgarski[AT]post.pl> 2.0.0-1.1
 
98
- Update to final 2.0.0
 
99
 
 
100
* Sun Mar 15 2009 Marcin Garski <mgarski[AT]post.pl> 2.0.0-0.5.beta2
 
101
- Fix compile error with Qt 4.5
 
102
 
 
103
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-0.4.beta2
 
104
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
105
 
 
106
* Sun Dec 28 2008 Marcin Garski <mgarski[AT]post.pl> 2.0.0-0.3.beta2
 
107
- Update to 2.0.0-beta2
 
108
 
 
109
* Sat Oct 18 2008 Marcin Garski <mgarski[AT]post.pl> 2.0.0-0.2.beta1
 
110
- Incorporate minor bug fixes from Krusader's SVN
 
111
 
 
112
* Thu Oct 16 2008 Marcin Garski <mgarski[AT]post.pl> 2.0.0-0.1.beta1
 
113
- Update to 2.0.0-beta1
 
114
 
 
115
* Wed Oct 15 2008 Rex Dieter <rdieter@fedoraproject.org> 1.90.0-3
 
116
- s/crystalsvg/hicolor/ icon theme, so they show for everyone (#467076)
 
117
 
 
118
* Sun Apr 13 2008 Marcin Garski <mgarski[AT]post.pl> 1.90.0-2
 
119
- Update to 1.90.0
 
120
- Remove krusader-1.80.0-gcc43-compile-fix.patch, merged upstream
 
121
 
 
122
* Thu Feb 14 2008 Marcin Garski <mgarski[AT]post.pl> 1.80.0-5
 
123
- GCC 4.3 compile fix
 
124
 
 
125
* Sat Dec 15 2007 Marcin Garski <mgarski[AT]post.pl> 1.80.0-4
 
126
- Remove kdebindings-devel dependency (#425081)
 
127
 
 
128
* Sun Dec 09 2007 Marcin Garski <mgarski[AT]post.pl> 1.80.0-3
 
129
- BR: kdelibs3-devel kdebase3-devel
 
130
 
 
131
* Fri Aug 31 2007 Marcin Garski <mgarski[AT]post.pl> 1.80.0-2
 
132
- Fix license tag
 
133
 
 
134
* Thu Aug 02 2007 Marcin Garski <mgarski[AT]post.pl> 1.80.0-1
 
135
- Update to 1.80.0 (#249903)
 
136
- Preserve upstream .desktop vendor
 
137
 
 
138
* Fri Apr 20 2007 Marcin Garski <mgarski[AT]post.pl> 1.80.0-0.1.beta2
 
139
- Updated to version 1.80.0-beta2
 
140
- Drop X-Fedora category
 
141
 
 
142
* Fri Sep 01 2006 Marcin Garski <mgarski[AT]post.pl> 1.70.1-2
 
143
- Rebuild for Fedora Core 6
 
144
- Spec tweak
 
145
 
 
146
* Sat Jul 29 2006 Marcin Garski <mgarski[AT]post.pl> 1.70.1-1
 
147
- Updated to version 1.70.1 which fix CVE-2006-3816 (#200323)
 
148
 
 
149
* Mon Feb 13 2006 Marcin Garski <mgarski[AT]post.pl> 1.70.0-1
 
150
- Remove all patches (merged upstream)
 
151
- Updated to version 1.70.0
 
152
 
 
153
* Mon Jan 16 2006 Marcin Garski <mgarski[AT]post.pl> 1.60.1-6
 
154
- Remove --enable-final
 
155
 
 
156
* Mon Jan 16 2006 Marcin Garski <mgarski[AT]post.pl> 1.60.1-5
 
157
- Remove --disable-dependency-tracking
 
158
 
 
159
* Sun Jan 15 2006 Marcin Garski <mgarski[AT]post.pl> 1.60.1-4
 
160
- Change "/etc/profile.d/qt.sh" to "%%{_sysconfdir}/profile.d/qt.sh"
 
161
- Add --disable-debug --disable-dependency-tracking & --enable-final
 
162
 
 
163
* Wed Dec 14 2005 Marcin Garski <mgarski[AT]post.pl> 1.60.1-3
 
164
- Add to BR libacl-devel
 
165
 
 
166
* Tue Dec 13 2005 Marcin Garski <mgarski[AT]post.pl> 1.60.1-2
 
167
- Fix for modular X.Org
 
168
 
 
169
* Mon Dec 12 2005 Marcin Garski <mgarski[AT]post.pl> 1.60.1-1
 
170
- Updated to version 1.60.1 which fix CVE-2005-3856
 
171
 
 
172
* Sun Oct 23 2005 Marcin Garski <mgarski[AT]post.pl> 1.60.0-4
 
173
- Added update-mime-database and gtk-update-icon-cache (bug #171547)
 
174
 
 
175
* Thu Aug 25 2005 Marcin Garski <mgarski[AT]post.pl> 1.60.0-3
 
176
- Include .la files
 
177
- Include actions_tutorial.txt
 
178
- Fix krusader_root-mode.desktop file to show only in KDE and under System
 
179
  category
 
180
- Fix compile warnings
 
181
 
 
182
* Fri Aug 12 2005 Marcin Garski <mgarski[AT]post.pl> 1.60.0-2
 
183
- Spec improvements for Fedora Extras
 
184
 
 
185
* Wed Aug 10 2005 Marcin Garski <mgarski[AT]post.pl> 1.60.0-1
 
186
- Updated to version 1.60.0 & clean up for Fedora Extras
 
187
 
 
188
* Fri Dec 17 2004 Marcin Garski <mgarski[AT]post.pl> 1.51.fc2kde331
 
189
- Updated to version 1.51
 
190
 
 
191
* Sat Nov 11 2004 Marcin Garski <mgarski[AT]post.pl> 1.50.fc2kde331
 
192
- Added Requires:
 
193
 
 
194
* Tue Nov 02 2004 Marcin Garski <mgarski[AT]post.pl> 1.50.fc2
 
195
- Updated to version 1.50 & spec cleanup
 
196
 
 
197
* Fri Aug 06 2004 Marcin Garski <mgarski[AT]post.pl> 1.40-1.fc2
 
198
- Updated to version 1.40
 
199
 
 
200
* Wed Jun 23 2004 Marcin Garski <mgarski[AT]post.pl> 1.40-beta2.fc2
 
201
- Updated to version 1.40-beta2
 
202
 
 
203
* Wed Jun 02 2004 Marcin Garski <mgarski[AT]post.pl> 1.40-beta1.fc2
 
204
- Rebuild for Fedora Core 2 & huge spec cleanup
 
205
 
 
206
* Mon Nov 17 2003 11:05:00 Marian POPESCU <softexpert[AT]libertysurf.fr> [1.30]
 
207
- Updated to 1.30 release + changed description to match the official one
 
208
 
 
209
* Tue Jul 03 2003 17:00:00 Marcin Garski <mgarski[AT]post.pl> [1.20]
 
210
- Initial specfile