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