]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
d84992b757f42b461a197effab16548a1433520d
[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.3
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:  dd152e2cb1bfe5c46930ae74c73e4f8e
11 Patch0:         %{name}-desktop.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.10.0
14 BuildRequires:  autoconf >= 2.52
15 BuildRequires:  automake
16 BuildRequires:  gettext-devel
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-2
21 BuildRequires:  libtool
22 BuildRequires:  nautilus-devel >= 2.10.0-3
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.197
25 Requires(post,preun):   GConf2
26 Requires(post,postun):  desktop-file-utils
27 Requires(post,postun):  scrollkeeper
28 Requires:       gnome-vfs2 >= 2.10.0-2
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
78 %build
79 %{__libtoolize}
80 %{__aclocal}
81 %{__autoconf}
82 %{__automake}
83 %configure \
84         --disable-schemas-install \
85         --disable-static
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 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/*.la
99 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
100
101 %find_lang %{name} --with-gnome
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post
107 %gconf_schema_install file-roller.schemas
108 %scrollkeeper_update_post
109 %update_desktop_database_post
110 %banner %{name} -e << EOF
111 For fully operational File Roller you need to install archiving
112 programs described in README.
113 EOF
114
115 %preun
116 %gconf_schema_uninstall file-roller.schemas
117
118 %postun
119 %scrollkeeper_update_postun
120 %update_desktop_database_postun
121
122 %files -f %{name}.lang
123 %defattr(644,root,root,755)
124 %doc AUTHORS NEWS README
125 %attr(755,root,root) %{_bindir}/file-roller
126 %attr(755,root,root) %{_libdir}/bonobo/*.so
127 %attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/*.so
128 %{_libdir}/bonobo/servers/*.server
129 %{_datadir}/file-roller
130 %{_desktopdir}/*
131 %{_pixmapsdir}/file-roller.png
132 %{_omf_dest_dir}/%{name}
133 %{_sysconfdir}/gconf/schemas/*
This page took 0.211503 seconds and 3 git commands to generate.