Mailinglist Archive: opensuse-buildservice (202 mails)

< Previous Next >
Re: [opensuse-buildservice] spec file is missing from OBS
  • From: Marguerite Su <i@xxxxxxxxxxxxx>
  • Date: Sat, 24 Mar 2012 00:18:36 +0800
  • Message-id: <CAK0PdAm_wWX=yf2FjeygdYu9bB53F=jF+XS46qEW6uVfP3E8rQ@mail.gmail.com>
On Fri, Mar 23, 2012 at 9:54 PM, Adrian Schröter <adrian@xxxxxxx> wrote:
Am Freitag, 23. März 2012, 19:38:59 schrieb Marguerite Su:
Hi, all,

Check out this branch:

https://build.opensuse.org/package/files?package=hotot-qt&project=home%3AMargueriteSu%3Abranches%3Ahome%3Acsslayer%3Ahotot-qt

As we can see, specfile is there, and is 12.2KB.(It's huge because I
plan to support Fedora)

And if you click onto it, it's empty.

It's interesting...I upload it two times, but it's still empty.

And the package is broken with notification "can not parse package
name from hotot.spec"

Never see that before. What can I do?

we had a look at it and it seems you uploaded twice a spec file with only
zero byte data content.

I dunno how this can happen, but it looks like you are doing that via some
scripts ?

The data on the server is valid at least, der md5sum tells that exactly this
file
got uploaded.

--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@xxxxxxx


Hi, Adrian,

the specfile is not empty.

-rw-r--r-- 1 marguerite users 12468 3月 19 16:39 hotot.spec

I uploaded it by web interface. the process was as smooth as successful ones.

It's weird because codes inside the specfile can't make itself empty,
and it has size on server but no content.

I include hotot.spec as attachment (Lists may can't see) , and set you
maintianer of that branch(adrianSuSE, right?), you can try uploading
it yourself.
#
# spec file for package hotot
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.opensuse.org/
#

Name: hotot
Version: 0.9.7.45
Release: 1
Summary: A lightweight, flexible microblogging client
Group: Productivity/Networking/Instant Messenger
License: LGPL-3.0
Url: https://hotot.org
Source: %{name}-%{version}.tar.bz2
BuildRequires: cmake gcc-c++ intltool
%if 0%{?suse_version}
%py_requires
%endif

# KDE Versions
%if 0%{?suse_version}
BuildRequires: libqt4-devel libQtWebKit-devel libkde4-devel
BuildRequires: update-desktop-files fdupes
%else
BuildRequires: qt-devel qt-webkit-devel kdelibs-devel sane-backends-libs
%endif

# GTK/GIR Versions
%if 0%{?suse_version} <= 1140
BuildRequires: python-keybinder
BuildRequires: libwebkitgtk-devel gtk2-devel python-gtk-devel
python-webkitgtk-devel
%endif
%if 0%{?suse_version} > 1140
BuildRequires: libwebkitgtk3-devel gtk3-devel
BuildRequires: python-gobject-devel
%endif
%if 0%{?fedora_version} >= 15
BuildRequires: webkitgtk3-devel gtk3-devel pygobject2-devel python-devel
%endif
%if 0%{?fedora_version} < 15
BuildRequires: python-keybinder
BuildRequires: pygtk2-devel gtk2-devel pywebkitgtk webkitgtk-devel python-devel
%endif

%description
Hotot is a multi-column microblogging client written by HTML5 technologies
through Webkit, thus can run on any device supports webkit(Currently runs on
Windows/Linux/Mac OS X/Google Chrome/QT Mobiles).

It supports Twitter and Identi.ca services, as well as real-time update(via
Twitter Streaming API), profile editing, multi-lingual, thread conversations, 3
level in-app effects, Trending Topics detailed into City level, Color
Label(assign color to people).

For geek it has native notification system, Ubuntu appindicator and Me menu,
Http/Socks proxy, Vim-style Keyboard Shortcuts, even a powerful Kismet content
filter system which could do a few auto tasks, and Speech Input on Chrome.

It supports Instapaper/ReadItLater, Google Tweet Translate, Geo information
shown on Google Maps, Plenty of image upload service including Twtter Official
one(and their previews) and Video Preview like Youtube, Url shorten and
unshorten(many beautiful prefixes), and User Stat through inside extensions.

%package qt
Summary: A lightweight, flexible microblogging client
Group: Productivity/Networking/Instant Messenger
Requires: %{name}-data = %{version}
%if 0%{?suse_version}
%kde4_runtime_requires
%endif

%description qt
Hotot is a multi-column microblogging client written by HTML5 technologies
through Webkit, thus can run on any device supports webkit(Currently runs on
Windows/Linux/Mac OS X/Google Chrome/QT Mobiles).

It supports Twitter and Identi.ca services, as well as real-time update(via
Twitter Streaming API), profile editing, multi-lingual, thread conversations, 3
level in-app effects, Trending Topics detailed into City level, Color
Label(assign color to people).

For geek it has native notification system, Ubuntu appindicator and Me menu,
Http/Socks proxy, Vim-style Keyboard Shortcuts, even a powerful Kismet content
filter system which could do a few auto tasks, and Speech Input on Chrome.

It supports Instapaper/ReadItLater, Google Tweet Translate, Geo information
shown on Google Maps, Plenty of image upload service including Twtter Official
one(and their previews) and Video Preview like Youtube, Url shorten and
unshorten(many beautiful prefixes), and User Stat through inside extensions.

This package provides Hotot QT edition with KDE integration.

%package data
Summary: A lightweight, flexible microblogging client
Group: Productivity/Networking/Instant Messenger
Recommends: hotot-gtk = %{version}
Recommends: hotot-gir = %{version}
Recommends: hotot-qt = %{version}

%description data
Hotot is a multi-column microblogging client written by HTML5 technologies
through Webkit, thus can run on any device supports webkit(Currently runs on
Windows/Linux/Mac OS X/Google Chrome/QT Mobiles).

It supports Twitter and Identi.ca services, as well as real-time update(via
Twitter Streaming API), profile editing, multi-lingual, thread conversations, 3
level in-app effects, Trending Topics detailed into City level, Color
Label(assign color to people).

For geek it has native notification system, Ubuntu appindicator and Me menu,
Http/Socks proxy, Vim-style Keyboard Shortcuts, even a powerful Kismet content
filter system which could do a few auto tasks, and Speech Input on Chrome.

It supports Instapaper/ReadItLater, Google Tweet Translate, Geo information
shown on Google Maps, Plenty of image upload service including Twtter Official
one(and their previews) and Video Preview like Youtube, Url shorten and
unshorten(many beautiful prefixes), and User Stat through inside extensions.

This package provides Data files(Icons/Themes/Stylesheets/Javascipts
/Locales/Extensions/Sound) for Hotot.

%if 0%{?suse_version} <= 1140
%package gtk
Summary: A lightweight, flexible microblogging client
Group: Productivity/Networking/Instant Messenger
Requires: %{name}-data = %{version}
Conflicts: %{name}-gir

%description gtk
Hotot is a multi-column microblogging client written by HTML5 technologies
through Webkit, thus can run on any device supports webkit(Currently runs on
Windows/Linux/Mac OS X/Google Chrome/QT Mobiles).

It supports Twitter and Identi.ca services, as well as real-time update(via
Twitter Streaming API), profile editing, multi-lingual, thread conversations, 3
level in-app effects, Trending Topics detailed into City level, Color
Label(assign color to people).

For geek it has native notification system, Ubuntu appindicator and Me menu,
Http/Socks proxy, Vim-style Keyboard Shortcuts, even a powerful Kismet content
filter system which could do a few auto tasks, and Speech Input on Chrome.

It supports Instapaper/ReadItLater, Google Tweet Translate, Geo information
shown on Google Maps, Plenty of image upload service including Twtter Official
one(and their previews) and Video Preview like Youtube, Url shorten and
unshorten(many beautiful prefixes), and User Stat through inside extensions.

This package provides Hotot GTK2 edition.
%endif
%if 0%{?suse_version} > 1140
%package gir
Summary: A lightweight, flexible microblogging client
Group: Productivity/Networking/Instant Messenger
Requires: %{name}-data = %{version}
Conflicts: %{name}-gtk

%description gir
Hotot is a multi-column microblogging client written by HTML5 technologies
through Webkit, thus can run on any device supports webkit(Currently runs on
Windows/Linux/Mac OS X/Google Chrome/QT Mobiles).

It supports Twitter and Identi.ca services, as well as real-time update(via
Twitter Streaming API), profile editing, multi-lingual, thread conversations, 3
level in-app effects, Trending Topics detailed into City level, Color
Label(assign color to people).

For geek it has native notification system, Ubuntu appindicator and Me menu,
Http/Socks proxy, Vim-style Keyboard Shortcuts, even a powerful Kismet content
filter system which could do a few auto tasks, and Speech Input on Chrome.

It supports Instapaper/ReadItLater, Google Tweet Translate, Geo information
shown on Google Maps, Plenty of image upload service including Twtter Official
one(and their previews) and Video Preview like Youtube, Url shorten and
unshorten(many beautiful prefixes), and User Stat through inside extensions.

This package provides Hotot GTK3 edition with Gir.

%endif
%if 0%{?fedora_version} < 15
%package gtk
Summary: A lightweight, flexible microblogging client
Group: Productivity/Networking/Instant Messenger
Requires: %{name}-data = %{version}
Conflicts: %{name}-gir

%description gtk
Hotot is a multi-column microblogging client written by HTML5 technologies
through Webkit, thus can run on any device supports webkit(Currently runs on
Windows/Linux/Mac OS X/Google Chrome/QT Mobiles).

It supports Twitter and Identi.ca services, as well as real-time update(via
Twitter Streaming API), profile editing, multi-lingual, thread conversations, 3
level in-app effects, Trending Topics detailed into City level, Color
Label(assign color to people).

For geek it has native notification system, Ubuntu appindicator and Me menu,
Http/Socks proxy, Vim-style Keyboard Shortcuts, even a powerful Kismet content
filter system which could do a few auto tasks, and Speech Input on Chrome.

It supports Instapaper/ReadItLater, Google Tweet Translate, Geo information
shown on Google Maps, Plenty of image upload service including Twtter Official
one(and their previews) and Video Preview like Youtube, Url shorten and
unshorten(many beautiful prefixes), and User Stat through inside extensions.

This package provides Hotot GTK2 edition.

%endif
%if 0%{?fedora_version} >= 15
%package gir
Summary: A lightweight, flexible microblogging client
Group: Productivity/Networking/Instant Messenger
Requires: %{name}-data = %{version}
Conflicts: %{name}-gtk

%description gir
Hotot is a multi-column microblogging client written by HTML5 technologies
through Webkit, thus can run on any device supports webkit(Currently runs on
Windows/Linux/Mac OS X/Google Chrome/QT Mobiles).

It supports Twitter and Identi.ca services, as well as real-time update(via
Twitter Streaming API), profile editing, multi-lingual, thread conversations, 3
level in-app effects, Trending Topics detailed into City level, Color
Label(assign color to people).

For geek it has native notification system, Ubuntu appindicator and Me menu,
Http/Socks proxy, Vim-style Keyboard Shortcuts, even a powerful Kismet content
filter system which could do a few auto tasks, and Speech Input on Chrome.

It supports Instapaper/ReadItLater, Google Tweet Translate, Geo information
shown on Google Maps, Plenty of image upload service including Twtter Official
one(and their previews) and Video Preview like Youtube, Url shorten and
unshorten(many beautiful prefixes), and User Stat through inside extensions.

This package provides Hotot GTK3 edition with Gir.
%endif

%prep
%setup -q -n %{name}-%{version}
# Already Fix Upstream. Will be droped next major release.
sed -i "s/Categories=Qt;Network;/Categories=Qt;Network;InstantMessaging;/"
misc/hotot-qt.desktop.in

%build
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL_DIR=%{_libdir} \
%if 0%{?suse_version} <= 1140
-DWITH_GIR=OFF \
%endif
%if 0%{?suse_version} > 1140
-DWITH_GIR=ON \
%endif
%if 0%{?fedora_version} < 15
-DWITH_GIR=OFF \
%endif
%if 0%{?fedora_version} >= 15
-DWITH_GIR=ON \
%endif
..
make

%install
cd build
%make_install
cd ..

%if 0%{?suse_version}
%suse_update_desktop_file %{name} Network InstantMessaging
%suse_update_desktop_file %{name}-qt Network InstantMessaging

# Fix python-bytecode-inconsistent-mtime
pushd %{buildroot}%{python_sitearch}/%{name}/
%py_compile .
popd

%fdupes %{buildroot}
%endif

%find_lang %{name}

%if 0%{?suse_version} <= 1140
%files gtk
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{python_sitearch}/%{name}/
%endif
%if 0%{?suse_version} > 1140
%files gir
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{python_sitearch}/%{name}/
%endif
%if 0%{?fedora_version} < 15
%files gtk
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{python_sitearch}/%{name}/
%endif
%if 0%{?fedora_version} >= 15
%files gir
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{python_sitearch}/%{name}/
%endif

%files qt
%defattr(-,root,root)
%dir %{_datadir}/kde4/apps/desktoptheme
%dir %{_datadir}/kde4/apps/desktoptheme/default
%dir %{_datadir}/kde4/apps/desktoptheme/default/icons
%{_bindir}/%{name}-qt
%{_datadir}/applications/%{name}-qt.desktop
%{_datadir}/kde4/apps/desktoptheme/default/icons/hotot_qt.svg

%files data -f %{name}.lang
%defattr(-,root,root)
%{_datadir}/%{name}/
%{_datadir}/icons/*

%changelog
< Previous Next >