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