Re: Insim - service for optimizing dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi
wrote some spec file (attached) for Insim dependencies
regards
.g

Il 29/03/2016 09:07, Mikolaj Izdebski ha scritto:
I would like to announce Insim, which is a new web service for
monitoring package installation sizes and other numbers.

Insim checks installation sizes of defined modules (groups of
packages) and presents this information to user.  It's main goal is to
help developers to optimize package dependencies, which aligns with
some objectives of modularization effort.

More information about Insim can be found at [1].  A running Insim
instance hosted at Fedora infrastructure cloud is available at [2].

Note that Insim is still in early development.  There are many bugs
and missing features.  You can report issues at [3] or directly to me.

[1] https://fedoraproject.org/wiki/Insim
[2] http://insim.fedorainfracloud.org/
[3] https://pagure.io/insim/issues


%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name:          common
Version:       1.0.5
Release:       1%{?dist}
Summary:       OCPsoft Common API and Utilities
License:       ASL 2.0
URL:           https://github.com/ocpsoft/common/
Source0:       https://github.com/ocpsoft/common/archive/%{namedversion}.tar.gz.1

BuildRequires: maven-local
BuildRequires: mvn(junit:junit)

BuildArch:     noarch

%description
OCPsoft Common APIs and Utilities.

%package parent
Summary:       OCPsoft Common - Parent POM

%description parent
Parent POM for Common API and Utilities.

%package javadoc
Summary:       Javadoc for %{name}

%description javadoc
This package contains javadoc for %{name}.

%prep
%setup -q -n common-%{namedversion}

# org.ocpsoft:ocpsoft-parent:pom:6
%pom_remove_parent

%build

%mvn_build -s

%install
%mvn_install

%files -f .mfiles-%{name}-api
%doc README
%license LICENSE NOTICE

%files parent -f .mfiles-%{name}-parent
%license LICENSE NOTICE

%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE

%changelog
* Tue Mar 29 2016 gil cattaneo <puntogil@xxxxxxxxx> 1.0.5-1
- initial rpm
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name:          logging
Version:       1.0.4
Release:       1%{?dist}
Summary:       OCPsoft Logging API and Utilities
License:       ASL 2.0
URL:           https://github.com/ocpsoft/logging
Source0:       https://github.com/ocpsoft/logging/archive/%{namedversion}.tar.gz.1

BuildRequires: maven-local
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.jboss.logging:jboss-logging)
BuildRequires: mvn(org.ocpsoft.common:common-api)
BuildRequires: mvn(org.slf4j:slf4j-api)

BuildArch:     noarch

%description
OCPsoft Logging APIs and Utilities.

%package adapter-jboss
Summary:       OCPsoft Logging JBOSS adapter

%description adapter-jboss
OCPsoft Logging JBOSS adapter.

%package adapter-slf4j
Summary:       OCPsoft Logging SLF4J adapter

%description adapter-slf4j
OCPsoft Logging SLF4J adapter.

%package parent
Summary:       OCPsoft Logging - Parent POM

%description parent
Parent POM for OCPsoft Logging API and Utilities.

%package javadoc
Summary:       Javadoc for %{name}

%description javadoc
This package contains javadoc for %{name}.

%prep
%setup -q -n logging-%{namedversion}

# org.ocpsoft:ocpsoft-parent:pom:10
%pom_remove_parent

%pom_xpath_remove pom:finalName

%build

%mvn_build -s

%install
%mvn_install

%files -f .mfiles-%{name}-api
%license LICENSE NOTICE

%files adapter-jboss -f .mfiles-%{name}-adapter-jboss
%license LICENSE NOTICE

%files adapter-slf4j -f .mfiles-%{name}-adapter-slf4j
%license LICENSE NOTICE

%files parent -f .mfiles-%{name}-parent
%license LICENSE NOTICE

%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE

%changelog
* Tue Mar 29 2016 gil cattaneo <puntogil@xxxxxxxxx> 1.0.4-1
- initial rpm
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name:          rewrite
Version:       2.0.12
Release:       1%{?dist}
Summary:       OCPsoft URL-Rewriting Framework
License:       ASL 2.0
URL:           http://www.ocpsoft.org/rewrite/
Source0:       https://github.com/ocpsoft/rewrite/archive/%{namedversion}.tar.gz

BuildRequires: maven-local
BuildRequires: mvn(commons-digester:commons-digester)
BuildRequires: mvn(javax.enterprise:cdi-api)
BuildRequires: mvn(javax.servlet:jstl)
BuildRequires: mvn(javax.servlet.jsp:jsp-api)
BuildRequires: mvn(joda-time:joda-time)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.httpcomponents:httpclient)
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
BuildRequires: mvn(org.apache.shiro:shiro-web)
BuildRequires: mvn(org.jboss.spec.javax.el:jboss-el-api_2.2_spec)
BuildRequires: mvn(org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec)
BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_2.5_spec)
BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.0_spec)
BuildRequires: mvn(org.mozilla:rhino)
BuildRequires: mvn(org.ocpsoft.common:common-api)
BuildRequires: mvn(org.ocpsoft.logging:logging-api)
BuildRequires: mvn(org.springframework:spring-web)

BuildArch:     noarch

%description
Rewrite is an OpenSource, Filter-based Servlets extension for Java
enabling creation of bookmark-able, pretty URLs. Rewrite solves the
â??RESTful URLâ?? problem elegantly, including features such as:
- page-load actions
- managed parameter parsing
- seamless integration with CDI
- Spring
- configuration-free compatibility with other web frameworks.

%package javadoc
Summary:       Javadoc for %{name}

%description javadoc
This package contains javadoc for %{name}.

%prep
%setup -q -n rewrite-%{namedversion}

# Cleanup
find -name "*.jar" -print -delete

# org.ocpsoft:ocpsoft-parent:pom:9
%pom_remove_parent

# Unsupported features (war)
%pom_disable_module showcase
# Unwanted
%pom_disable_module distribution
# org.asciidoctor:asciidoctor-maven-plugin:0.1.1
%pom_disable_module documentation
%pom_disable_module examples
# Unavailable build deps
# org.tuckey:urlrewritefilter:3.1.0 https://gil.fedorapeople.org/abandoned/urlrewritefilter.spec
%pom_disable_module config-tuckey
# com.google.gwt:gwt-user:2.3.0
%pom_disable_module integration-gwt
# org.easytesting:fest-assert-core:2.0M10
%pom_disable_module test-harness
# org.jruby:jruby-complete:1.7.4 transform-markup/src/main/resources/ruby/redcloth/lib/redcloth_scan.jar
%pom_disable_module transform-markup
# com.yahoo.platform.yui:yuicompressor:2.4.6
%pom_disable_module transform-minify
# Bundle of ocpsoft libraries
#%% pom_xpath_remove "pom:dependency[pom:classifier = 'sources']" rewrite-servlet
#%% pom_xpath_remove "pom:execution[pom:id = 'assembly-sources']" rewrite-servlet
%pom_disable_module rewrite-servlet

# Only test suites
%pom_disable_module api-tests
%pom_disable_module config-prettyfaces-tests
%pom_disable_module config-servlet-tests
%pom_disable_module impl-servlet-tests
%pom_disable_module impl-tests
%pom_disable_module integration-cdi-tests
%pom_disable_module integration-faces-tests

# Unwanted tasks
%pom_remove_plugin -r :maven-assembly-plugin
%pom_remove_plugin -r :maven-dependency-plugin
%pom_remove_plugin -r :maven-shade-plugin
%pom_remove_plugin -r :maven-source-plugin

# org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final
%pom_remove_dep -r :jboss-javaee-6.0
# org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:pom:2.0.0
# org.jboss.arquillian:arquillian-bom:pom:1.1.1.Final
# org.jboss.arquillian.extension:arquillian-drone-bom:pom:1.1.1.Final
%pom_remove_dep -r :shrinkwrap-resolver-bom
%pom_remove_dep -r :arquillian-bom
%pom_remove_dep -r :arquillian-drone-bom

%build
# Test skipped, cause unavailable test deps. e.g. org.easymock:easymockclassextension org.easytesting:fest-assert-core
%mvn_build -f

%install
%mvn_install

%files -f .mfiles
%doc CHANGELOG.md README.md
%license LICENSE NOTICE

%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE

%changelog
* Tue Mar 29 2016 gil cattaneo <puntogil@xxxxxxxxx> 2.0.12-1
- initial rpm
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux