]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
- no .la for bonobo modules
[packages/file-roller.git] / file-roller.spec
1 Summary:        An archive manager for GNOME
2 Summary(pl):    Zarz±dca archiwów dla GNOME
3 Summary(pt_BR): Gerenciador de arquivos compactados para o GNOME
4 Name:           file-roller
5 Version:        2.8.3
6 Release:        2
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/file-roller/2.8/%{name}-%{version}.tar.bz2
10 # Source0-md5:  841f0cc0eab979d98c25c16725c18745
11 Patch0:         %{name}-gzip-mime.patch
12 Patch1:         %{name}-desktop.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.8.0.1
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gnome-vfs2-devel >= 2.8.1
18 BuildRequires:  gtk+2-devel >= 2:2.4.4
19 BuildRequires:  libglade2-devel >= 1:2.4.0
20 BuildRequires:  libgnomeui-devel >= 2.8.0
21 BuildRequires:  libtool
22 BuildRequires:  rpm-build >= 4.1-10
23 Requires(post): GConf2
24 Requires(post,postun):  scrollkeeper
25 Requires:       gnome-vfs2 >= 2.8.1
26 Requires:       unzip
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 File Roller is an archive manager for the GNOME environment. With File
31 Roller you can: create and modify archives; view the content of an
32 archive; view a file contained in the archive; extract files from the
33 archive. File Roller is only a front-end (a graphical interface) to
34 various archiving programs. The supported file types are:
35 - Tar archives uncompressed (.tar) or compressed with
36         - gzip (.tar.gz , .tgz)
37         - bzip (.tar.bz , .tbz)
38         - bzip2 (.tar.bz2 , .tbz2)
39         - compress (.tar.Z , .taz)
40         - lzop (.tar.lzo , .tzo)
41 - Zip archives (.zip)
42 - Jar archives (.jar , .ear , .war)
43 - Lha archives (.lzh)
44 - Rar archives (.rar)
45 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
46
47 %description -l pl
48 File Roller to zarz±dca archiwów dla ¶rodowiska GNOME. Przy jego
49 pomocy mo¿na: tworzyæ i modyfikowaæ archiwa, ogl±daæ ich zawarto¶æ,
50 ogl±daæ poszczególne pliki zawarte w archiwum oraz rozpakowywaæ pliki
51 z archiwów. File Roller jest tylko interfejsem graficznym do
52 w³a¶ciwych programów archiwizuj±cych. Obs³ugiwane typy plików to:
53 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
54         - gzip (.tar.gz, .tgz)
55         - bzip (.tar.bz, .tbz)
56         - bzip2 (.tar.bz2, .tbz2)
57         - compress (.tar.Z, .taz)
58         - lzop (.tar.lzo, .tzo)
59 - archiwa zip (.zip)
60 - archiwa jar (.jar, .ear, .war)
61 - archiwa lha (.lzh)
62 - archiwa rar (.rar)
63 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
64   compress, lzop.
65
66 %description -l pt_BR
67 File Roller é um gerenciador de pacotes de arquivos compactados para o
68 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
69 conteúdo de arquivos existentes, visualizar um arquivo contido em um
70 pacote e extrair os arquivos de um pacote.
71
72 %prep
73 %setup -q
74 %patch0 -p1
75 %patch1 -p1
76
77 %build
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__automake}
82 %configure \
83         --disable-schemas-install \
84         --disable-static
85
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT \
93         omf_dest_dir=%{_omf_dest_dir}/%{name} \
94         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
95
96 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
97 rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
98
99 %find_lang %{name} --with-gnome
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post
105 umask 022
106 /usr/bin/scrollkeeper-update
107 %gconf_schema_install
108 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
109
110 %postun
111 umask 022
112 /usr/bin/scrollkeeper-update
113 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
114
115 %files -f %{name}.lang
116 %defattr(644,root,root,755)
117 %doc AUTHORS NEWS README
118 %attr(755,root,root) %{_bindir}/file-roller
119 %attr(755,root,root) %{_libdir}/bonobo/*.so
120 %{_libdir}/bonobo/servers/*.server
121 %{_datadir}/file-roller
122 %{_datadir}/application-registry/file-roller.applications
123 %{_datadir}/mime-info/file-roller.*
124 %{_desktopdir}/*
125 %{_pixmapsdir}/file-roller.png
126 %{_omf_dest_dir}/%{name}
127 %{_sysconfdir}/gconf/schemas/*
This page took 0.330044 seconds and 4 git commands to generate.