]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
- up to version 2.6.1
[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.6.1
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
10 # Source0-md5:  cd9f62d28629e0643615be146a7736dc
11 Patch0:         %{name}-gzip-mime.patch
12 Patch1:         %{name}-locale-names.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  GConf2-devel >= 2.6.0
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gnome-vfs2-devel >= 2.6.1
18 BuildRequires:  gtk+2-devel >= 2:2.4.0
19 BuildRequires:  libglade2-devel >= 1:2.3.6
20 BuildRequires:  libgnomeui-devel >= 2.6.0
21 BuildRequires:  libtool
22 BuildRequires:  rpm-build >= 4.1-10
23 Requires(post): GConf2
24 Requires(post): scrollkeeper
25 Requires:       gnome-vfs2 >= 2.6.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 mv po/{no,nb}.po
78
79 %build
80 rm -f missing
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__automake}
85 %configure \
86         --disable-schemas-install \
87         --disable-static
88
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 %find_lang %{name} --with-gnome
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post
105 /usr/bin/scrollkeeper-update
106 %gconf_schema_install
107
108 %postun -p /usr/bin/scrollkeeper-update
109
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc AUTHORS NEWS README
113 %attr(755,root,root) %{_bindir}/file-roller
114 %attr(755,root,root) %{_libdir}/bonobo/*.so
115 %{_libdir}/bonobo/*.la
116 %{_libdir}/bonobo/servers/*.server
117 %{_datadir}/file-roller
118 %{_datadir}/application-registry/file-roller.applications
119 %{_datadir}/mime-info/file-roller.*
120 %{_desktopdir}/*
121 %{_pixmapsdir}/file-roller.png
122 %{_omf_dest_dir}/%{name}
123 %{_sysconfdir}/gconf/schemas/*
This page took 0.172036 seconds and 4 git commands to generate.