Projects
Extra
gtk-gnutella
gtk-gnutella.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gtk-gnutella.spec of Package gtk-gnutella (Revision 4)
Currently displaying revision
4
,
Show latest
# # spec file for package gtk-gnutella # # Copyright (c) 2016 Packman Team <packman@links2linux.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.links2linux.org/ # Name: gtk-gnutella Version: 1.1.9 Release: 0.pm.1 Summary: Gnutella Peer to Peer Client License: GPL-2.0+ (GPL-2.0+) Group: Productivity/Networking/Other Url: http://gtk-gnutella.sourceforge.net/ Source: http://prdownloads.sourceforge.net/gtk-gnutella/gtk-gnutella-%{version}.tar.bz2 Source1: %{name}.changes BuildRequires: dbus-1-devel BuildRequires: dbus-1-glib-devel BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: gtk2-devel BuildRequires: libgnutls-devel >= 3.2.4 BuildRequires: make BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes %description Gtk-Gnutella is a full-featured Gnutella client using GTK+. It contains all widely deployed Gnutella features, including DHT support. It is extremely efficient, using little CPU time and memory. It is meant to be left running 24x7. It is fully compatible with UPnP and NAT-PMP, and as such is easy to use behind a firewall supporting one of these port mapping technologies. %prep %setup -q # fix builddate info # Remove build time references so build-compare can do its work FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE1} '+%%H:%%M') FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE1} '+%%b %%e %%Y') sed -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" -i src/lib/entropy.c sed -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -i src/lib/entropy.c %build ./build.sh \ --gtk2 \ --prefix="%{_prefix}" \ --bindir="%{_bindir}" \ --datadir="%{_datadir}/%{name}" \ --libdir="%{_libdir}" \ --localedir="%{_datadir}/locale" \ --mandir="%{_mandir}" \ --cc="gcc" \ --cflags="%{optflags}" \ --cppflags="%{optflags}" \ --make="make" \ --configure-only \ --verbose make %{?_smp_mflags} %install make INSTALL_PREFIX=%{buildroot} install rm "%{buildroot}%{_libdir}"/*.nm %fdupes -s "%{buildroot}%{_datadir}/%{name}/" %suse_update_desktop_file -r "%{name}" Network FileTransfer %find_lang "%{name}" %files -f "%{name}.lang" %defattr(-,root,root) %doc AUTHORS ChangeLog GEO_LICENSE LICENSE README TODO %dir %{_datadir}/appdata %{_bindir}/gtk-gnutella %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/pixmaps/%{name}.* %changelog
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
.