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