]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
3f7cab0fd51a06988d8eced2e10a7de4be9ff546
[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:        3.24.1
6 Release:        1
7 License:        GPL v2+
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/file-roller/3.24/%{name}-%{version}.tar.xz
10 # Source0-md5:  1e6be71792c7a8e4950297e9fdcf33e7
11 URL:            http://www.gnome.org/
12 BuildRequires:  autoconf >= 2.68
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  desktop-file-utils
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  gettext-tools
17 BuildRequires:  glib2-devel >= 1:2.36.0
18 BuildRequires:  gtk+3-devel >= 3.13.3
19 BuildRequires:  intltool >= 0.50.1
20 BuildRequires:  json-glib-devel >= 0.14.0
21 BuildRequires:  libarchive-devel >= 3.0.0
22 BuildRequires:  libmagic-devel
23 BuildRequires:  libnotify-devel >= 0.4.3
24 BuildRequires:  libtool >= 2:2
25 BuildRequires:  libxml2-progs
26 BuildRequires:  nautilus-devel
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(find_lang) >= 1.23
29 BuildRequires:  rpmbuild(macros) >= 1.601
30 BuildRequires:  yelp-tools
31 Requires(post,postun):  desktop-file-utils
32 Requires(post,postun):  glib2 >= 1:2.36.0
33 Requires(post,postun):  gtk-update-icon-cache
34 Requires:       glib2 >= 1:2.36.0
35 Requires:       gtk+3 >= 3.13.3
36 Requires:       hicolor-icon-theme
37 Requires:       json-glib >= 0.14.0
38 Requires:       libarchive >= 3.0.0
39 Requires:       libnotify >= 0.4.3
40 Suggests:       bzip2
41 Suggests:       gzip
42 Suggests:       p7zip
43 %ifarch %{ix86}
44 Suggests:       rar
45 %else
46 Suggests:       unrar
47 %endif
48 Suggests:       tar
49 Suggests:       zip
50 # sr@Latn vs. sr@latin
51 Conflicts:      glibc-misc < 6:2.7
52 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
54 %description
55 File Roller is an archive manager for the GNOME environment. With File
56 Roller you can: create and modify archives; view the content of an
57 archive; view a file contained in the archive; extract files from the
58 archive. File Roller is only a front-end (a graphical interface) to
59 various archiving programs. The supported file types are:
60 - Tar archives uncompressed (.tar) or compressed with
61  - gzip (.tar.gz , .tgz)
62  - bzip (.tar.bz , .tbz)
63  - bzip2 (.tar.bz2 , .tbz2)
64  - compress (.tar.Z , .taz)
65  - lzop (.tar.lzo , .tzo)
66 - Zip archives (.zip)
67 - Jar archives (.jar , .ear , .war)
68 - Lha archives (.lzh)
69 - Rar archives (.rar)
70 - Single files compressed with gzip, bzip, bzip2, compress, lzop.
71
72 %description -l pl.UTF-8
73 File Roller to zarządca archiwów dla środowiska GNOME. Przy jego
74 pomocy można: tworzyć i modyfikować archiwa, oglądać ich zawartość,
75 oglądać poszczególne pliki zawarte w archiwum oraz rozpakowywać pliki
76 z archiwów. File Roller jest tylko interfejsem graficznym do
77 właściwych programów archiwizujących. Obsługiwane typy plików to:
78 - archiwa tar nieskompresowane (.tar) lub skompresowane programami:
79  - gzip (.tar.gz, .tgz)
80  - bzip (.tar.bz, .tbz)
81  - bzip2 (.tar.bz2, .tbz2)
82  - compress (.tar.Z, .taz)
83  - lzop (.tar.lzo, .tzo)
84 - archiwa zip (.zip)
85 - archiwa jar (.jar, .ear, .war)
86 - archiwa lha (.lzh)
87 - archiwa rar (.rar)
88 - pojedyncze pliki skompresowane programami gzip, bzip, bzip2,
89   compress, lzop.
90
91 %description -l pt_BR.UTF-8
92 File Roller é um gerenciador de pacotes de arquivos compactados para o
93 ambiente GNOME. Com ele é possível criar arquivos, visualizar o
94 conteúdo de arquivos existentes, visualizar um arquivo contido em um
95 pacote e extrair os arquivos de um pacote.
96
97 %package -n nautilus-extension-file-roller
98 Summary:        File Roller (archive manager) extension for Nautilus (GNOME file manager)
99 Summary(pl.UTF-8):      Rozszerzenie File Roller (zarządca archiwów) Nautilusa (zarządcy plików GNOME)
100 Group:          X11/Applications
101 Requires:       %{name} = %{version}-%{release}
102 Requires:       nautilus >= 3.0.0
103
104 %description -n nautilus-extension-file-roller
105 File Roller (archive manager) extension for Nautilus (GNOME file
106 manager).
107
108 %description -n nautilus-extension-file-roller -l pl.UTF-8
109 Rozszerzenie File Roller (zarządca archiwów) Nautilusa (zarządcy
110 plików GNOME).
111
112 %prep
113 %setup -q
114
115 %build
116 %{__intltoolize}
117 %{__libtoolize}
118 %{__aclocal} -I m4
119 %{__autoconf}
120 %{__autoheader}
121 %{__automake}
122 %configure \
123         --disable-schemas-compile \
124         --disable-silent-rules \
125         --disable-static
126
127 %{__make}
128
129 %install
130 rm -rf $RPM_BUILD_ROOT
131
132 %{__make} install \
133         DESTDIR=$RPM_BUILD_ROOT
134
135 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian}
136 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
137
138 %find_lang %{name} --with-gnome
139
140 %clean
141 rm -rf $RPM_BUILD_ROOT
142
143 %post
144 %update_desktop_database_post
145 %update_icon_cache hicolor
146 %glib_compile_schemas
147
148 %postun
149 %update_desktop_database_postun
150 %update_icon_cache hicolor
151 %glib_compile_schemas
152
153 %files -f %{name}.lang
154 %defattr(644,root,root,755)
155 %doc AUTHORS ChangeLog MAINTAINERS NEWS README README_COMMANDLINE
156 %attr(755,root,root) %{_bindir}/file-roller
157 %dir %{_libdir}/file-roller
158 %attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
159 %attr(755,root,root) %{_libdir}/file-roller/rpm2cpio
160 %{_datadir}/GConf/gsettings/file-roller.convert
161 %{_datadir}/appdata/org.gnome.FileRoller.appdata.xml
162 %{_datadir}/dbus-1/services/org.gnome.FileRoller.service
163 %{_datadir}/dbus-1/services/org.gnome.FileRoller.ArchiveManager1.service
164 %{_datadir}/file-roller
165 %{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
166 %{_desktopdir}/org.gnome.FileRoller.desktop
167 %{_iconsdir}/hicolor/*x*/apps/file-roller.png
168 %{_iconsdir}/hicolor/scalable/apps/file-roller-symbolic.svg
169
170 %files -n nautilus-extension-file-roller
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so
This page took 0.033873 seconds and 2 git commands to generate.