]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
- updated to 2.26.3
[packages/file-roller.git] / file-roller.spec
1 Summary:        An archive manager for GNOME
2 Summary(pl.UTF-8):      Zarządca archiwów dla GNOME
3 Summary(pt_BR.UTF-8):   Gerenciador de arquivos compactados para o GNOME
4 Name:           file-roller
5 Version:        2.26.3
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/file-roller/2.26/%{name}-%{version}.tar.bz2
10 # Source0-md5:  1876e9807a12c37f9bb2d00807905755
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.24.0
13 BuildRequires:  autoconf >= 2.61
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  gnome-common >= 2.24.0
17 BuildRequires:  gnome-doc-utils >= 0.14.0
18 BuildRequires:  gtk+2-devel >= 2:2.16.0
19 BuildRequires:  intltool >= 0.40.0
20 BuildRequires:  libtool
21 BuildRequires:  nautilus-devel >= 2.26.0
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(find_lang) >= 1.23
24 BuildRequires:  rpmbuild(macros) >= 1.311
25 BuildRequires:  scrollkeeper
26 Requires(post,postun):  desktop-file-utils
27 Requires(post,postun):  gtk+2
28 Requires(post,postun):  hicolor-icon-theme
29 Requires(post,postun):  scrollkeeper
30 Requires(post,preun):   GConf2
31 Requires:       nautilus-libs >= 2.26.0
32 Suggests:       bzip2
33 Suggests:       gzip
34 Suggests:       p7zip
35 %ifarch %{ix86}
36 Suggests:       rar
37 %else
38 Suggests:       unrar
39 %endif
40 Suggests:       tar
41 Suggests:       zip
42 # sr@Latn vs. sr@latin
43 Conflicts:      glibc-misc < 6:2.7
44 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46 %description
47 File Roller is an archive manager for the GNOME environment. With File
48 Roller you can: create and modify archives; view the content of an
49 archive; view a file contained in the archive; extract files from the
50 archive. File Roller is only a front-end (a graphical interface) to
51 various archiving programs. The supported file types are:
52 - Tar archives uncompressed (.tar) or compressed with
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 - Zip archives (.zip)
59 - Jar archives (.jar , .ear , .war)
60 - Lha archives (.lzh)
61 - Rar archives (.rar)
62 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
63
64 %description -l pl.UTF-8
65 File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
66 pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
67 oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
68 z archiwów. File Roller jest tylko interfejsem graficznym do
69 właściwych programów archiwizujących. Obsługiwane typy plików to:
70 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
71  - gzip (.tar.gz, .tgz)
72  - bzip (.tar.bz, .tbz)
73  - bzip2 (.tar.bz2, .tbz2)
74  - compress (.tar.Z, .taz)
75  - lzop (.tar.lzo, .tzo)
76 - archiwa zip (.zip)
77 - archiwa jar (.jar, .ear, .war)
78 - archiwa lha (.lzh)
79 - archiwa rar (.rar)
80 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
81   compress, lzop.
82
83 %description -l pt_BR.UTF-8
84 File Roller é um gerenciador de pacotes de arquivos compactados para o
85 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
86 conteúdo de arquivos existentes, visualizar um arquivo contido em um
87 pacote e extrair os arquivos de um pacote.
88
89 %prep
90 %setup -q
91
92 %build
93 %{__gnome_doc_prepare}
94 %{__intltoolize}
95 %{__libtoolize}
96 %{__aclocal}
97 %{__autoconf}
98 %{__autoheader}
99 %{__automake}
100 %configure \
101         --disable-schemas-install \
102         --disable-static
103
104 # remove autogenerated files (2.26.2 tarball is broken)
105 %{__make} clean
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         DESTDIR=$RPM_BUILD_ROOT
113
114 rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
115
116 # the same locale as ur
117 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
118
119 %find_lang %{name} --with-gnome --with-omf
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %post
125 %gconf_schema_install file-roller.schemas
126 %scrollkeeper_update_post
127 %update_desktop_database_post
128 %update_icon_cache hicolor
129
130 %preun
131 %gconf_schema_uninstall file-roller.schemas
132
133 %postun
134 %scrollkeeper_update_postun
135 %update_desktop_database_postun
136 %update_icon_cache hicolor
137
138 %files -f %{name}.lang
139 %defattr(644,root,root,755)
140 %doc AUTHORS ChangeLog NEWS README TODO
141 %attr(755,root,root) %{_bindir}/file-roller
142 %attr(755,root,root) %{_libdir}/nautilus/extensions-2.0/libnautilus-fileroller.so
143 %dir %{_libdir}/file-roller
144 %attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
145 %{_datadir}/file-roller
146 %{_desktopdir}/file-roller.desktop
147 %{_iconsdir}/hicolor/*/apps/file-roller.*
148 %{_sysconfdir}/gconf/schemas/file-roller.schemas
This page took 0.032321 seconds and 3 git commands to generate.