Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ykoba
aobook
aobook.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aobook.spec of Package aobook
# # spec file for package aobook # # Copyright (c) 2017 SUSE LINUX 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: aobook Version: 1.0.3 Release: 0 Summary: Aozora Bunko text viewer License: GPL-3.0 Group: Productivity/Office/Other Url: http://azsky2.html.xdomain.jp/linux/aobook.html Source: %{name}-%{version}.tar.bz2 BuildRequires: gcc-c++ BuildRequires: fdupes BuildRequires: intltool BuildRequires: fontconfig-devel BuildRequires: freetype2-devel BuildRequires: libjpeg-devel BuildRequires: libXi-devel BuildRequires: libXext-devel BuildRequires: pkgconfig BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(zlib) BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-root %description Aozora Bunko text viewer. %prep %setup -q %build %configure \ CFLAGS="%{optflags} %{?gcc_lto}" \ CXXFLAGS="%{optflags} %{?gcc_lto}" \ LDFLAGS="-Wl,--as-needed -Wl,--strip-all %{?gcc_lto}" %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} rm %{buildroot}%{_datadir}/applications/%{name}.desktop %__cat > %{name}.desktop << EOF [Desktop Entry] Name=aobook GenericName=Aozora bunko viewer Comment=Viewer for Aozora Bunko Exec=aobook %f Icon=aobook Type=Application Categories=Office;Viewer Terminal=false StartupNotify=true EOF %__install -m 644 %{name}.desktop %{buildroot}%{_datadir}/applications/ %suse_update_desktop_file %{name} Office Viewer %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING ChangeLog NEWS README %{_bindir}/aobook %{_datadir}/applications/aobook.desktop %{_datadir}/icons/hicolor/*/apps/aobook.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor