Changeset 1476 in ProjectBuilder


Ignore:
Timestamp:
Apr 19, 2012, 1:11:53 AM (12 years ago)
Author:
Bruno Cornec
Message:

r4689@localhost: bruno | 2012-04-18 23:50:55 +0200

  • First successful raw build of RPM packages. Now needs configure + some improvements on build.
Location:
projects/uuwl/pbconf/devel
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • projects/uuwl/pbconf/devel/pbfilter/all.pbf

    r1475 r1476  
    99
    1010# PBSRC is replaced by the source package location after the repo
    11 #filter PBSRC = src/%{name}-%{version}.tar.gz
     11filter PBSRC = src/%{name}-%{version}.tar.gz
    1212# Used if virtual name != real name (perl, ...)
    1313#filter PBSRC = src/%{srcname}-%{version}.tar.gz
     
    5050
    5151# PBDESC contains the description of the package
    52 #filter PBDESC = Bla-Bla
     52filter PBDESC = UUWL is a library to help porting software from one Unix system to another one. This version focuses on SOlaris to Linux migration, but will be extended to support other migration later on.
    5353
    5454# PBSUMMARY contains a short single line description of the package
    55 #filter PBSUMMARY = Bla
     55filter PBSUMMARY = UUWL is the Unix to Unix Wrapper Library
    5656
    5757# PBURL contains the URL of the Web site of the project
    58 #filter PBURL = http://www.uuwl.org
     58filter PBURL = http://uuwl.project-builder.org
    5959
    6060# PBLOG is replaced by the changelog if value is yes
    6161# and should be last as when used we need the %pb hash filled
    62 #filter PBLOG = yes
    63 
     62filter PBLOG = yes
  • projects/uuwl/pbconf/devel/uuwl.pb

    r1475 r1476  
    99# What is the project URL
    1010#
    11 #pburl uuwl = svn://svn.uuwl.org/uuwl/devel
     11pburl uuwl = svn://uuwl.project-builder.org/uuwl/devel
    1212#pburl uuwl = svn://svn+ssh.uuwl.org/uuwl/devel
    1313#pburl uuwl = cvs://cvs.uuwl.org/uuwl/devel
     
    1818
    1919# Repository
    20 #pbrepo uuwl = ftp://ftp.uuwl.org
     20pbrepo uuwl = ftp://ftp.project-builder.org
    2121#pbml uuwl = uuwl-announce@lists.uuwl.org
    2222#pbsmtp uuwl = localhost
     
    3030# Packager label
    3131#
    32 #pbpackager uuwl = William Porte <bill@uuwl.org>
     32pbpackager uuwl = Bruno Cornec <bruno@project-builder.org>
    3333#
    3434
     
    9393# Global version/tag for the project
    9494#
    95 #projver uuwl = devel
    96 #projtag uuwl = 1
     95projver uuwl = devel
     96projtag uuwl = 1
    9797
    9898# Hash of valid version names
     
    101101# addrepo centos-5-x86_64 = http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm,ftp://ftp.project-builder.org/centos/5/pb.repo
    102102# addrepo centos-5-x86_64 = http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm,ftp://ftp.project-builder.org/centos/5/pb.repo
    103 #version uuwl = devel,stable
     103version uuwl = devel
    104104
    105105# Is it a test version or a production version
     
    118118#pkgtag uuwl = 3
    119119# Hash of default package/package directory
    120 #defpkgdir uuwl = dir-uuwl
     120defpkgdir uuwl = .
    121121# Hash of additional package/package directory
    122122#extpkgdir minor-pkg = dir-minor-pkg
     
    124124# List of files per pkg on which to apply filters
    125125# Files are mentioned relatively to pbroot/defpkgdir
    126 #filteredfiles uuwl = Makefile.PL,configure.in,install.sh,uuwl.8
     126filteredfiles uuwl = Makefile
    127127#supfiles uuwl = uuwl.init
    128128
  • projects/uuwl/pbconf/devel/uuwl/rpm/uuwl.spec

    r1475 r1476  
    22# $Id$
    33#
    4 # Used if virtual name != real name (perl, ...) - replace hash by percent in the below line
    5 #define srcname PBPKG
     4%define major 0
     5%define libname %mklibname PBPKG %{major}
     6%define develname %mklibname PBPKG -d
    67
    78Summary:        PBSUMMARY
    8 Summary(fr):    french bla-bla
    9 
    10 Name:           PBREALPKG
     9Name:           PBPKG
    1110Version:        PBVER
    1211Release:        PBTAGPBSUF
     
    1716#PBPATCHSRC
    1817BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    19 #Requires:       PBDEP
     18Requires:       kernel-devel
    2019
    2120%description
    2221PBDESC
    2322
    24 %description -l fr
    25 french desc
     23%package -n %develname
     24Summary:        Development files for %{name}
     25Provides:       %{name}-devel
     26Requires:       pkgconfig
     27Requires:       %{libname} = %{version}-%{release}
     28
     29%description -n %develname
     30This package contains libraries and header files for
     31developing applications that use %{name}.
     32
     33%package -n %{libname}
     34Summary:        Libraries for %{name}
     35
     36%description -n %{libname}
     37The libraries for %{name}.
    2638
    2739%prep
    2840%setup -q
    29 # Used if virtual name != real name (perl, ...)
    30 #%setup -q -n %{srcname}-%{version}
    31 #PBPATCHCMD
    3241
    3342%build
    34 %configure
     43#configure
    3544make %{?_smp_mflags}
     45
     46#check
     47#make check
    3648
    3749%install
     
    4557%defattr(-,root,root)
    4658%doc ChangeLog
    47 %doc INSTALL COPYING README AUTHORS NEWS
     59%doc LICENSE_LGPL-2.1 LICENSE_MIT AUTHORS
     60#INSTALL README
     61
     62%files -n %{libname}
     63%defattr(-,root,root)
     64%doc ChangeLog
     65%doc LICENSE_LGPL-2.1 LICENSE_MIT AUTHORS
     66#%{_libdir}/*.so*
     67/usr/lib/*.so*
     68
     69%files -n %{develname}
     70%defattr(-,root,root)
     71%doc ChangeLog
     72%doc LICENSE_LGPL-2.1 LICENSE_MIT AUTHORS
     73%{_includedir}/*
    4874
    4975%changelog
    5076PBLOG
    51 
Note: See TracChangeset for help on using the changeset viewer.