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