]> git.pld-linux.org Git - packages/file-roller.git/blob - file-roller.spec
66ada075ccfc9cb9da89d3774cda15e357f18b05
[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.6.1.1
6 Release:        1
7 License:        GPL v2
8 Group:          X11/Applications
9 Source0:        http://ftp.gnome.org/pub/GNOME/sources/file-roller/3.6/%{name}-%{version}.tar.xz
10 # Source0-md5:  b85c1cb8a336287c244d5d4fac9defbe
11 URL:            http://www.gnome.org/
12 BuildRequires:  autoconf >= 2.61
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  gettext-devel
16 BuildRequires:  glib2-devel >= 1:2.30.0
17 BuildRequires:  gtk+3-devel >= 3.4.0
18 BuildRequires:  intltool >= 0.40.0
19 BuildRequires:  json-glib-devel >= 0.14.0
20 BuildRequires:  libarchive-devel >= 3.0.0
21 BuildRequires:  libnotify-devel >= 0.4.3
22 BuildRequires:  libtool
23 BuildRequires:  libxml2-progs
24 BuildRequires:  nautilus-devel >= 2.26.0
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpmbuild(find_lang) >= 1.23
27 BuildRequires:  rpmbuild(macros) >= 1.601
28 # libegg
29 BuildRequires:  xorg-lib-libSM-devel
30 BuildRequires:  yelp-tools
31 Requires(post,postun):  desktop-file-utils
32 Requires(post,postun):  gtk-update-icon-cache
33 Requires:       glib2 >= 1:2.30.0
34 Requires:       hicolor-icon-theme
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 %{__intltoolize}
98 %{__libtoolize}
99 %{__aclocal}
100 %{__autoconf}
101 %{__autoheader}
102 %{__automake}
103 %configure \
104         --disable-schemas-compile \
105         --disable-silent-rules \
106         --disable-static
107
108 %{__make}
109
110 %install
111 rm -rf $RPM_BUILD_ROOT
112
113 %{__make} install \
114         DESTDIR=$RPM_BUILD_ROOT
115
116 %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
117
118 # the same locale as ur
119 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK
120
121 %find_lang %{name} --with-gnome --with-omf
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %post
127 %update_desktop_database_post
128 %update_icon_cache hicolor
129 %glib_compile_schemas
130
131 %postun
132 %update_desktop_database_postun
133 %update_icon_cache hicolor
134 %glib_compile_schemas
135
136 %files -f %{name}.lang
137 %defattr(644,root,root,755)
138 %doc AUTHORS NEWS README TODO
139 %attr(755,root,root) %{_bindir}/file-roller
140 %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so
141 %dir %{_libdir}/file-roller
142 %attr(755,root,root) %{_libdir}/file-roller/isoinfo.sh
143 %attr(755,root,root) %{_libdir}/file-roller/rpm2cpio
144 %{_datadir}/GConf/gsettings/file-roller.convert
145 %{_datadir}/dbus-1/services/org.gnome.FileRoller.service
146 %{_datadir}/file-roller
147 %{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
148 %{_desktopdir}/file-roller.desktop
149 %{_iconsdir}/hicolor/*/apps/file-roller.*
This page took 0.072853 seconds and 2 git commands to generate.