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