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