Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:thomas-schraitle
producingoss
producingoss.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File producingoss.spec of Package producingoss
# # spec file for package producingoss # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # # %define INSTALL_DATA install -m644 %define langfile Language.mk %define BUILD_en 1 # %define BUILD_ar 1 %define BUILD_be 0 %define BUILD_ca 1 %define BUILD_cz 0 %define BUILD_da 1 %define BUILD_de 1 %define BUILD_es 1 %define BUILD_fa 1 %define BUILD_fr 1 %define BUILD_gl 0 %define BUILD_gr 0 %define BUILD_he 1 %define BUILD_hu 0 %define BUILD_id 1 %define BUILD_it 1 %define BUILD_ja 1 %define BUILD_ko 0 %define BUILD_ml 1 %define BUILD_nl 0 %define BUILD_pl 1 %define BUILD_pt_br 1 %define BUILD_pt_pt 1 %define BUILD_ro 0 %define BUILD_ru 1 %define BUILD_sv 0 %define BUILD_ta 0 %define BUILD_th 0 %define BUILD_tr 0 %define BUILD_zh 0 # The following content must match the values in the BUILD_$LANG # variables. %define NEEDED_LANGUAGES "ar ca da de en es fa fr he ml id it ja pl pt-br pt-pt ru" %define R_LANG() %{expand:%%{?BUILD_%{1}:%{1}}%%{!?BUILD_%{1}: }} %define DIR %{name}-1.%{version} Name: producingoss Summary: How to Run a Successful Free Software Project (English) Version: 3195 Release: 1 License: CC-BY-SA-1.0 # Creative Commons Attribution-ShareAlike BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-1.%{version}.tar.bz2 Source2: %{name}.pdf # Patch0: es_ch06xml.diff # Patch1: Makefile.diff Group: Documentation/Other URL: http://producingoss.com/ Vendor: Karl Fogel <kfogel@red-bean.com> BuildArchitectures: noarch BuildRequires: bzip2 BuildRequires: docbook_4 BuildRequires: docbook-xsl-stylesheets BuildRequires: libxml2 BuildRequires: libxslt BuildRequires: make BuildRequires: sgml-skel BuildRequires: subversion #BuildRequires: fop %description Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. The package contains the English book in HTML and PDF format. Authors: -------- Karl Fogel <kfogel@red-bean.com> %if %{BUILD_ar} %package ar Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Arabic) License: CC-BY-SA-1.0 %description ar Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Arabic translation. %endif %if %{BUILD_be} %package be Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Belgian) License: CC-BY-SA-1.0 %description be Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Belgian translation. %endif %if %{BUILD_ca} %package ca Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Catalan) License: CC-BY-SA-1.0 %description ca Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Catalan translation. %endif %if %{BUILD_cz} %package cz Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Czech) License: CC-BY-SA-1.0 %description cz Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Czech translation. %endif %if %{BUILD_da} %package da Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Danish) License: CC-BY-SA-1.0 %description da Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Danish translation. %endif %if %{BUILD_de} %package de Group: Documentation/Other Summary: How to Run a Successful Free Software Project (German) License: CC-BY-SA-1.0 %description de Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the German translation. %endif %if %{BUILD_es} %package es Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Spanish) License: CC-BY-SA-1.0 %description es Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Spanish translation. %endif %if %{BUILD_fa} %package fa Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Farsi) License: CC-BY-SA-1.0 %description fa Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Farsi translation. %endif %if %{BUILD_fr} %package fr Group: Documentation/Other Summary: How to Run a Successful Free Software Project (French) License: CC-BY-SA-1.0 %description fr Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the French translation. %endif %if %{BUILD_he} %package he Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Hebrew) License: CC-BY-SA-1.0 %description he Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Hebrew translation. %endif %if %{BUILD_id} %package id Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Indonesian) License: CC-BY-SA-1.0 %description id Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Indonesian translation. %endif %if %{BUILD_it} %package it Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Italian) License: CC-BY-SA-1.0 %description it Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Italian translation. %endif %if %{BUILD_ja} %package ja Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Japanese) License: CC-BY-SA-1.0 %description ja Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Japanese translation. %endif # ml ? %if %{BUILD_pl} %package pl Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Polish) License: CC-BY-SA-1.0 %description pl Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Polish translation. %endif %if %{BUILD_ru} %package ru Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Russian) License: CC-BY-SA-1.0 %description ru Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Russian translation. %endif %if %{BUILD_zh} %package zh Group: Documentation/Other Summary: How to Run a Successful Free Software Project (Chinese) License: CC-BY-SA-1.0 %description zh Producing Open Source Software is a book about the human side of open source development. It describes how successful projects operate, the expectations of users and developers, and the culture of free software. It is available in bookstores and from the publisher (O'Reilly Media), or you can browse or download it here. Producing Open Source Software is released under an open copyright that allows everyone to share and modify the book freely. The latest version is always here. The online version is the same as the commercially available print version — in other words, you can buy a printed copy and know that it's up-to-date. This is the Chinese translation. %endif %prep # %setup -q -T -c %__tar xjf %{S:0} pushd %{DIR} %{__cp} %{S:2} en/ DBPATH=$(xmlcatalog /etc/xml/catalog http://docbook.sourceforge.net/release/xsl/current/) if [ $? -ne 0 ]; then echo "ERROR: Could not resolve system identifier for DocBook Stylesheets" exit 100 fi # Create link to the DocBook stylesheets DBPATH=${DBPATH#file://} (cd tools; ln -s $DBPATH xsl ) popd %build LANGUAGES="en" %if %{BUILD_ar} LANGUAGES="$LANGUAGES ar" %endif %if %{BUILD_be} LANGUAGES="$LANGUAGES be" %endif %if %{BUILD_ca} LANGUAGES="$LANGUAGES ca" %endif %if %{BUILD_cz} LANGUAGES="$LANGUAGES cz" %endif %if %{BUILD_da} LANGUAGES="$LANGUAGES da" %endif %if %{BUILD_de} LANGUAGES="$LANGUAGES de" %endif %if %{BUILD_es} LANGUAGES="$LANGUAGES es" %endif %if %{BUILD_fa} LANGUAGES="$LANGUAGES fa" %endif %if %{BUILD_fr} LANGUAGES="$LANGUAGES fr" %endif %if %{BUILD_he} LANGUAGES="$LANGUAGES he" %endif %if %{BUILD_hu} LANGUAGES="$LANGUAGES hu" %endif %if %{BUILD_id} LANGUAGES="$LANGUAGES id" %endif %if %{BUILD_it} LANGUAGES="$LANGUAGES it" %endif %if %{BUILD_ja} LANGUAGES="$LANGUAGES ja" %endif %if %{BUILD_ko} LANGUAGES="$LANGUAGES ko" %endif %if %{BUILD_ml} LANGUAGES="$LANGUAGES ml" %endif %if %{BUILD_nl} LANGUAGES="$LANGUAGES nl" %endif %if %{BUILD_pl} LANGUAGES="$LANGUAGES pl" %endif %if %{BUILD_pt_br} LANGUAGES="$LANGUAGES pt-br" %endif %if %{BUILD_pt_pt} LANGUAGES="$LANGUAGES pt-pt" %endif %if %{BUILD_ro} LANGUAGES="$LANGUAGES ro" %endif %if %{BUILD_ru} LANGUAGES="$LANGUAGES ru" %endif %if %{BUILD_sv} LANGUAGES="$LANGUAGES sv" %endif %if %{BUILD_ta} LANGUAGES="$LANGUAGES ta" %endif %if %{BUILD_th} LANGUAGES="$LANGUAGES th" %endif %if %{BUILD_tr} LANGUAGES="$LANGUAGES tr" %endif %if %{BUILD_zh} LANGUAGES="$LANGUAGES zh" %endif cd %{DIR} echo "---- The following languages are built:" echo " $LANGUAGES" echo "----------" make lang-www LANGUAGES="$LANGUAGES" %install # nothing, everything is done with %%doc %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %doc %{DIR}/en/*.pdf %doc %{DIR}/README %{DIR}/COPYING %doc %{DIR}/en/*.html %doc %{DIR}/en/*.css %if %{BUILD_ar} %files ar %defattr(-,root,root) %doc %{DIR}/ar/*.html %doc %{DIR}/ar/*.css %endif %if %{BUILD_be} %files be %defattr(-,root,root) %doc %{DIR}/be/*.html %doc %{DIR}/be/*.css %endif %if %{BUILD_ca} %files ca %defattr(-,root,root) %doc %{DIR}/ca/*.html %doc %{DIR}/ca/*.css %endif %if %{BUILD_cz} %files cz %defattr(-,root,root) %doc %{DIR}/cz/*.html %doc %{DIR}/cz/*.css %endif %if %{BUILD_da} %files da %defattr(-,root,root) %doc %{DIR}/da/*.html %doc %{DIR}/da/*.css %endif %if %{BUILD_de} %files de %defattr(-,root,root) %doc %{DIR}/de/*.html %doc %{DIR}/de/*.css %endif %if %{BUILD_es} %files es %defattr(-,root,root) %doc %{DIR}/es/*.html %doc %{DIR}/es/*.css %endif %if %{BUILD_fa} %files fa %defattr(-,root,root) %doc %{DIR}/fa/*.html %doc %{DIR}/fa/*.css %endif %if %{BUILD_fr} %files fr %defattr(-,root,root) %doc %{DIR}/fr/*.html %doc %{DIR}/fr/*.css %endif %if %{BUILD_he} %files he %defattr(-,root,root) %doc %{DIR}/he/*.html %doc %{DIR}/he/*.css %endif %if %{BUILD_id} %files id %defattr(-,root,root) %doc %{DIR}/id/*.html %doc %{DIR}/id/*.css %endif %if %{BUILD_it} %files it %defattr(-,root,root) %doc %{DIR}/it/*.html %doc %{DIR}/it/*.css %endif %if %{BUILD_ja} %files ja %defattr(-,root,root) %doc %{DIR}/ja/*.html %doc %{DIR}/ja/*.css %endif %if %{BUILD_pl} %files pl %defattr(-,root,root) %doc %{DIR}/pl/*.html %doc %{DIR}/pl/*.css %endif %if %{BUILD_ru} %files ru %defattr(-,root,root) %doc %{DIR}/ru/*.html %doc %{DIR}/ru/*.css %endif %if %{BUILD_zh} %files zh %defattr(-,root,root) %doc %{DIR}/zh/*.html %doc %{DIR}/zh/*.css %endif %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