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