]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
031c69b8561b92dfcc45851c01f8353f284c6465
[packages/file-roller.git] / file-roller.spec
1 Summary:        An archive manager for GNOME
2 Summary(pl):    Zarz±dca archiwów dla GNOME
3 Name:           file-roller
4 Version:        2.1.2
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://prdownloads.sourceforge.net/fileroller/%{name}-%{version}.tar.gz
9 URL:            http://www.gnome.org/
10 BuildRequires:  GConf2-devel
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  glib2-devel >= 2.0.0
14 BuildRequires:  gnome-vfs2-devel >= 2.0.0
15 BuildRequires:  gtk+2-devel >= 2.0.0
16 BuildRequires:  libglade2-devel >= 2.0.0
17 BuildRequires:  libgnome-devel >= 2.0.0
18 BuildRequires:  libgnomeui-devel >= 2.0.0
19 Requires(post): scrollkeeper
20 Requires(post): GConf2
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix                                 /usr/X11R6
24 %define         _mandir                                 %{_prefix}/man
25 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
26 %define         _sysconfdir                             /etc/X11/GNOME2/gconf/schemas
27
28 %description
29 File Roller is an archive manager for the GNOME environment. With File
30 Roller you can: create and modify archives; view the content of an
31 archive; view a file contained in the archive; extract files from the
32 archive. File Roller is only a front-end (a graphical interface) to
33 various archiving programs. The supported file types are:
34     - Tar archives uncompressed (.tar) or compressed with
35           - gzip (.tar.gz , .tgz)
36           - bzip (.tar.bz , .tbz)
37           - bzip2 (.tar.bz2 , .tbz2)
38           - compress (.tar.Z , .taz)
39           - lzop (.tar.lzo , .tzo)
40     - Zip archives (.zip)
41     - Jar archives (.jar , .ear , .war)
42     - Lha archives (.lzh)
43     - Rar archives (.rar)
44     - Single files compressed with gzip, bzip, bzip2, compress, lzop.
45
46 %description -l pl
47 File Roller to zarz±dca archiwów dla ¶rodowiska GNOME. Przy jego
48 pomocy mo¿na: tworzyæ i modyfikowaæ archiwa, ogl±daæ ich zawarto¶æ,
49 ogl±daæ poszczególne pliki zawarte w archiwum oraz rozpakowywaæ pliki
50 z archiwów. File Roller jest tylko interfejsem graficznym do
51 w³a¶ciwych programów archiwizuj±cych. Obs³ugiwane typy plików to:
52 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
53   - gzip (.tar.gz, .tgz)
54   - bzip (.tar.bz, .tbz)
55   - bzip2 (.tar.bz2, .tbz2)
56   - compress (.tar.Z, .taz)
57   - lzop (.tar.lzo, .tzo)
58 - archiwa zip (.zip)
59 - archiwa jar (.jar, .ear, .war)
60 - archiwa lha (.lzh)
61 - archiwa rar (.rar)
62 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
63   compress, lzop.
64
65 %prep
66 %setup -q
67
68 %build
69 rm -f missing
70 %{__aclocal}
71 %{__autoconf}
72 %{__automake}
73 %configure \
74     --disable-schemas-install \
75     --with-gconf-schema-file-dir=%{_sysconfdir}
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         omf_dest_dir=%{_omf_dest_dir}/%{name}
84
85 %find_lang %{name} --with-gnome
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post
91 /usr/bin/scrollkeeper-update
92 GCONF_CONFIG_SOURCE="" \
93 %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/*.schemas > /dev/null
94
95 %postun -p /usr/bin/scrollkeeper-update
96
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc AUTHORS NEWS README
100 %attr(755,root,root) %{_bindir}/file-roller
101 %{_datadir}/applications/*
102 %{_datadir}/file-roller
103 %{_datadir}/application-registry/file-roller.applications
104 %{_datadir}/mime-info/file-roller.*
105 %{_pixmapsdir}/file-roller.png
106 %{_omf_dest_dir}/%{name}
107 %{_sysconfdir}/*
This page took 0.070658 seconds and 2 git commands to generate.