Projects
Extra
gentoo
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 4
View file
gentoo.spec
Changed
@@ -21,7 +21,6 @@ Release: 0 Summary: A light-weight, two-window file manager based on GTK+ License: GPL-2.0 -Group: Productivity/File utilities Url: http://www.obsession.se/gentoo # ftp://ftp.obsession.se/gentoo/ Source: %{name}-%{version}.tar.gz @@ -39,7 +38,6 @@ BuildRequires: pkgconfig(gtk+-3.0) >= 3.2.0 BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(pango) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Gentoo is a modern, powerful, flexible, and utterly configurable @@ -70,6 +68,7 @@ %prep %setup -q +%build sed -i '/GTK_DISABLE_DEPRECATED/d' configure.ac #Fix installs translations in the basic directory structure @@ -82,19 +81,18 @@ sed -i 's/ru_RU.*/ru/g;s/_JP.UTF-8//' LINGUAS popd -%build autoreconf -fiv +CFLAGS='%optflags -Wno-deprecated-declarations -std=gnu11' %configure - -export AM_CFLAGS="%{optflags} $AM_CFLAGS" - -make %{?_smp_mflags} +export AM_CFLAGS='%optflags -Wno-deprecated-declarations -std=gnu11' +%make_build %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +%make_install install -D -m 0644 docs/gentoo.1x %{buildroot}%{_mandir}/man1/gentoo.1 install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png +rm -rfv docs/gentoo.1x docs/scratch %suse_update_desktop_file %{name} @@ -103,8 +101,8 @@ %fdupes %{buildroot} %files -f %{name}.lang -%defattr(-,root,root) -%doc docs/* BUGS CONFIG-CHANGES CREDITS README* AUTHORS ChangeLog ABOUT* NEWS TODO COPYING +%license COPYING +%doc docs/* BUGS CONFIG-CHANGES README NEWS %config(noreplace) %{_sysconfdir}/gentoogtkrc %config(noreplace) %{_sysconfdir}/gentoorc %{_bindir}/%{name}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.