Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fmherschel
nonesense
nonsense.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nonsense.spec of Package nonesense
# # spec file for package nonsense # # Copyright (c) 2016 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: nonsense Version: 0.2 Release: 0 License: MIT Summary: A real nonsense page Url: http://doYouLikeNonsense.org Group: Useless Source: %{name}-%{version}.tar.gz # Patch: BuildRequires: libconfig-devel >= 1.4 Requires: libconfig9 >= 1.4 #PreReq: Provides: nonsense_collection BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A complete unusable but good build service learning package. Nonsense is intended to be reallz providing a nonsense functionality. But the example shows a lot of steps to be done during building the resulting package with rpm_build and even with open build service. # whenever you like to comment-out a makro (marked by a percent sign) either # COMPLELY remove the percent sign or double it like %%mymacro %prep %setup -q %build # %%configure calls ./configure --prefix %{...} %configure make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %{?_smp_mflags} # %%post # add whatever tneeds to be done AFTER the sw gets installed or UPDATE # if $1 ls gt than 0 then its a upgrade else its an install # %%postun # add whatever needs to be done AFTER the sw gets removed (uninstalled) or UPDATE %files %defattr(-,root,root) %doc ChangeLog README COPYING %attr(0640,root,users) %config(noreplace) /etc/nonsense.conf %{_bindir}/nonsense %{_includedir}/nonsense %{_libdir}/libnonsense.a %{_libdir}/libnonsense.la %{_libdir}/libnonsense.so %{_libdir}/libnonsense.so.0 %{_libdir}/libnonsense.so.0.0.0
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